//
//  WOEquipmentDataController.h
//  EAMiPad
//
//  Created by Satish Kumar Jakkula on 9/2/14.
//
//

#import "RecordDataController.h"

@class R5EVENTS;

@interface WOEquipmentDataController : RecordDataController
{
    
}


@property (nonatomic    )   BOOL mCanjtauthupdate;
@property (nonatomic    )   BOOL mbJTAuthIsDelete;
@property (nonatomic    )   BOOL mbDepartmentSecurityReadOnly;
@property (nonatomic    )   BOOL mIsStatusRelease;
@property (nonatomic    )   BOOL mHasNoHdrEquip;
@property (nonatomic    )   BOOL mIsPMRevControl;
@property (nonatomic    )   BOOL mRouteEOBOn;
@property (nonatomic    )   BOOL mIsscheduling;
@property (nonatomic    )   BOOL mhasNonMultiEquip;
@property (nonatomic, strong) R5EVENTS  *parentEvent;
@property (nonatomic, weak) id delegate;


- (LOVData *)getLOVDataSource:(NSString *)cntrName;

- (void)enableFields:(BOOL)setReadOnly;

- (BOOL)validateFields;

- (void)getEquipmentForWorkOrder:(NSString *)woNumber;
- (void)getEquipmentWarranty;
- (void)getEquipment:(NSString *)woNumber;
- (void)getEquipmentForWorkOrderDefault:(NSString *)woNumber;

- (void)addWOEquipment:(R5EVENTS *)parentEvent;
- (void)addWOHeaderEquipment:(R5EVENTS *)parentEvent;
- (void)deleteWOEquipment;
- (void)addOrRemoveLinearAssetFields;
- (void)getLinearAssetDetails;
@end
