You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
1 year ago
|
//
|
||
|
// Track.h
|
||
|
// watch
|
||
|
//
|
||
|
// Created by xTT on 2017/7/19.
|
||
|
// Copyright © 2017年 xTT. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "baseModel.h"
|
||
|
|
||
|
@interface Track : baseModel
|
||
|
|
||
|
@property (strong ,nonatomic) NSNumber *amount;
|
||
|
@property (strong ,nonatomic) NSString *date;
|
||
|
/**
|
||
|
是否选中
|
||
|
*/
|
||
|
@property (assign ,nonatomic) BOOL isSelect;
|
||
|
|
||
|
/**
|
||
|
获取轨迹点的信息
|
||
|
|
||
|
@param success <#success description#>
|
||
|
@param failure <#failure description#>
|
||
|
*/
|
||
|
- (void)getTrackInfoSuccess:(void (^)(NSMutableArray *arr))success
|
||
|
failure:(void (^)())failure;
|
||
|
|
||
|
/**
|
||
|
删除轨迹点的信息
|
||
|
|
||
|
@param success <#success description#>
|
||
|
@param failure <#failure description#>
|
||
|
*/
|
||
|
+ (void)delectTrackWithDailyIds:(NSArray*)dailyIds
|
||
|
success:(void (^)(id responseObject))success
|
||
|
failure:(void (^)())failure;
|
||
|
|
||
|
/**
|
||
|
上传轨迹点的位置信息
|
||
|
|
||
|
@param success
|
||
|
@param failure
|
||
|
*/
|
||
|
- (void)postLocationsAddress:(NSMutableArray*) locations
|
||
|
success:(void (^)(id responseObject))success
|
||
|
failure:(void (^)())failure;
|
||
|
|
||
|
@end
|