//
//  OpenWOForEquipmentTableViewCell.h
//  EAMNext
//
//  Created by Divya Sivakumar on 10/17/16.
//
//

#import <UIKit/UIKit.h>
#import "R5OPENEVTFOREQUIPMENT.h"

@protocol OpenWOForEquipmentTableViewCellDelegate <NSObject>

- (void)updateSelectedCellCount:(BOOL)isSelected;

@end
@interface OpenWOForEquipmentTableViewCell : UITableViewCell

@property (nonatomic, strong)   UILabel         *lblWorkOrderNumber;
@property (nonatomic, strong)   UILabel         *lblWorkOrderDesc;
@property (nonatomic, strong)   UILabel         *lblWOStatus;
@property (nonatomic, strong)   UILabel         *lblWOType;
@property (nonatomic, strong)   UILabel         *lblReleaseWindow;
@property (nonatomic, strong)   UILabel         *lblNearWindow;
@property (nonatomic, strong)   UILabel         *lblSchedDate;
@property (nonatomic, strong)   UILabel         *lblErrorMessage;
@property (nonatomic, strong)   UIButton        *chkSelectedWO;
@property(nonatomic,        )   BOOL            isEditable;
@property (nonatomic, assign) id <OpenWOForEquipmentTableViewCellDelegate> delegate;
@property (nonatomic, strong) NSMutableDictionary *screenDesignerJSON;

- (void)hideAssignedTo:(BOOL)hide;
- (void)setWOSelected:(R5OPENEVTFOREQUIPMENT *)workOrder;
-(void)selectedWO:(id)sender;
- (void)refreshPanel:(R5OPENEVTFOREQUIPMENT *)workOrder;
@end
