//
//  ICRFunctionItemControl.h
//  XFFruit
//
//  Created by Lili Wang on 15/4/1.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import <UIKit/UIKit.h>

//@protocol ICRFuctionItemControlDelegate;

typedef NS_ENUM (NSUInteger, ICRFunctionID) {

    
    kFunctionNotice = 0, //公告
    kFunctionNewSurvey,  //新建行情调研 1
    kFunctionSeeSurvey,  //查看行情调研2
    kFunctionFeedBackSurvey,   //填写行情反馈3
    kFunctionNewPurchaseNotice,  //新建采购通知4
    kFunctionSeePurchaseNotice,  //查看采购通知5
    kFunctionNewPurchase,   // 新建采购单6
    kFunctionSeePurchase,   //  查看采购单7
    kFunctionExaminePurchase,   // 审核采购单【供应商】8
    kFunctionNewShipment,     // 新建发运单9
    kFunctionSeeShipment,   // 查看发运单10
    kFunctionNewProcessing,  // 新增加工单11
    kFunctionSeeProcessing,  //  查看加工单12
    kFunctionNewTransfer,    //新建转运单13
    kFunctionSeeTransfer,    //查看发运单14
   
    kFunctionSeeReceive,     //查看收货单15
    
    
        kFunctionAnnouncement ,
        kFunctionTaskManagement,
        kFunctionPatrolPlan,
        kFunctionMyShop,
        kFunctionNavigation,
        kFunctionComeShopReg,
        kFunctionLeaveShopReg,
        kFunctionCreatTask,
        kFunctionHandleTask
};

@interface ICRFunctionItemControl : UIControl

//@property (weak, nonatomic) id <ICRFuctionItemControlDelegate> m_delegate;
@property (assign, nonatomic) BOOL highLightWhenTapped;
@property (strong, nonatomic) UIImageView *functionImage;
@property (strong, nonatomic) UILabel *functinNameLabel;

+ (ICRFunctionItemControl *)highLightControl;

@end

//@protocol ICRFuctionItemControlDelegate <NSObject>
//
//@optional
//- (void)singleImageClike:(ICRFunctionItemControl *)imageView;
//
//@end
