00001 // 00002 // JDTractorList.h 00003 // Augmented Reality Tractor Maintenance 00004 // 00005 // Created by Hildebrand, Tanner J on 2/8/15. 00006 // Copyright (c) 2015 Intelligent Solutions Group. All rights reserved. 00007 // 00008 00009 #ifndef Augmented_Reality_Tractor_Maintenance_JDTractorAlertServer_h 00010 #define Augmented_Reality_Tractor_Maintenance_JDTractorAlertServer_h 00011 00012 #import <Foundation/Foundation.h> 00013 00014 00015 @interface JDTractorAlertServerItem : NSObject 00016 00017 -(id) initWithTractorId:(unsigned long)tractorID withType:(NSString *)tractorType; 00018 00019 -(BOOL) hasTirePressureAlert; 00020 -(BOOL) hasFuelLevelAlert; 00021 -(BOOL) hasEngineHoursAlert; 00022 00023 00024 -(unsigned long) getTirePressureAlert; 00025 -(unsigned long) getFuelLevelAlert; 00026 -(unsigned long) getEngineHoursAlert; 00027 00028 -(NSString *) getVehicleName; 00029 00030 @end 00031 00032 00033 00034 00035 00036 @interface JDTractorAlertServer : NSObject 00037 00038 -(id)init; 00039 00040 -(JDTractorAlertServerItem *) getTractorAlertForTractorName:(NSString *)tractorTypeName; 00041 00042 @end 00043 00044 #endif