//
//  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,  //新建行情调研
    kFunctionSeeSurvey,  //查看行情调研
    kFunctionFeeBackSurvey,   //填写行情反馈
    kFunctionNewPurchaseNotice,  //新建采购通知
    kFunctionSeePurchaseNotice,  //查看采购通知
    kFunctionNewPurchase,   // 新建采购单
    kFunctionSeePurchase,   //  查看采购单
    kFunctionExaminePurchase,   // 审核采购单【供应商】
    kFunctionNewShipment,     // 新建发运单
    kFunctionSeeShipment,   // 查看发运单
    kFunctionNewProcessing,  // 新增加工单
    kFunctionSeeProcessing,  //  查看加工单
    
    
        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
