//
//  ActivityPanelViewController.h
//  EAMNext
//
//  Created by Weikang Ding on 5/31/16.
//
//

#import "BasePanelViewController.h"
#import "ActivitiesDataController.h"
#import "R5ACTIVITIES.h"
#import "R5BOOKEDLABOR.h"
#import "EAMActivities.h"
#import "BookLaborDataController.h"
#import "EnhancedChecklistDataController.h"
#import "JSIChecklistDataController.h"
#import "R5EVENTS.h"
#import "EAMAppDelegate.h"


@interface ActivityPanelViewController : BasePanelViewController
@property (nonatomic,strong)        R5ACTIVITIES                *currentActivity;
@property (nonatomic,strong)        R5BOOKEDLABOR               *currentBookLabor;
@property (nonatomic, strong)       R5EVENTS                    *workOrder;
@property (nonatomic, strong)       ActivitiesDataController    *activitiesDataController;
@property (nonatomic, strong)       BookLaborDataController     *bookLaborDataController;
@property (nonatomic, strong)       EnhancedChecklistDataController *enhancedChecklistDataController;
@property (nonatomic, strong)       JSIChecklistDataController *woChecklistDataController;
@property (nonatomic)               NSInteger                   selectedRecordIndex;
@property (nonatomic, unsafe_unretained)    EAMAppDelegate              *appDelegate;
@property (nonatomic, strong)               R5FLEETBOOKLABOR   *fleetBookLabor;
@property (nonatomic, strong)               R5FLEETBOOKLABOR   *oldStartedfleetBookLabor;
@property(nonatomic)                BOOL autoBook;
@property (nonatomic, weak)         id                          delegate;
@property (nonatomic, strong) NSMutableDictionary *checklistDefaultResponsibilities;

@property (nonatomic) NSTimer *timer;
-(void)autoBookSuccess;

@end
