00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef Augmented_Reality_Tractor_Maintenance_JDTractorManager_h
00010 #define Augmented_Reality_Tractor_Maintenance_JDTractorManager_h
00011
00012
00013 @interface JDTractor : NSObject
00014
00015
00016
00017 @end
00018
00019
00020 @interface JDTractorManager : NSObject
00021
00022 -(instancetype)init;
00023
00024 -(bool) newVehicle:(NSString *)vehicleName withType:(NSString *)vehicleType
00025 withImage:(NSString *)vehicleImage andConnectionName:(NSString *)connectionName
00026 andUserID:(NSString *)userID andEnabled:(BOOL)isEnabled;
00027
00028 -(bool) editVehicle:(unsigned long)tractorID intTable:(NSString *)vehicleTable withName:(NSString *)vehicleName withType:(NSString *)vehicleType
00029 withImage:(NSString *)vehicleImage andConnectionName:(NSString *)connectionName
00030 andUserID:(NSString *)userID andEnabled:(BOOL)isEnabled;
00031
00032 -(bool) editVehicle:(unsigned long)tractorID withName:(NSString *)vehicleName withType:(NSString *)vehicleType
00033 withImage:(NSString *)vehicleImage andConnectionName:(NSString *)connectionName
00034 andUserID:(NSString *)userID andEnabled:(BOOL)isEnabled;
00035
00036 -(BOOL) deleteVehicle:(unsigned long)tractorID;
00037
00038 -(NSMutableArray *) getTractors;
00039
00040 -(NSMutableArray *) getTractorsWithUserID: (unsigned long)userID;
00041
00042 -(NSMutableArray *) getTractorsWithUserName: (NSString *)userID;
00043
00044 -(NSMutableArray *) getTractor:(unsigned long)tractorID;
00045
00046 -(NSArray *) getTractorByTypeName:(NSString *)tractorTypeName;
00047
00048 -(NSMutableArray *) getTractorsWithUserID:(unsigned long)userID andVehicleName: (NSString *)vehicleName;
00049 -(NSMutableArray *) getTractorsWithUserID:(unsigned long)userID withColumnNameOrder:(NSString *)columnName;
00050
00051 @end
00052
00053 #endif