//
//  WorkSafetyDataController.h
//  EAMNext
//
//  Created by Ramakrishna Pasupuleti on 17/09/18.
//

#import "RecordDataController.h"
#import "R5WORKSAFETY.h"

@interface WorkSafetyDataController : RecordDataController
{
    R5WORKSAFETY *_recordValue;
}
typedef enum {
    SafetyType_Workorder,
    SafetyType_PermitToWork
} SafetyType;

@property (nonatomic) SafetyType safetyType;
@property (nonatomic, strong)NSString *permitToWorkCode;
-(void)updateSafetyPrecaution:(R5WORKSAFETY *)selectedRecord;
- (void)getWorkSafety;

@end
