1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
| //
| // DataModel.h
| // pregnancy_guard
| //
| // Created by WindShan on 2017/8/8.
| // Copyright © 2017年 WindShan. All rights reserved.
| //
|
| #import <Foundation/Foundation.h>
|
| @interface UploadData : NSObject
|
| //{
| // "address": "中国江苏省苏州市昆山市长江北路413号",
| // "data": [{
| // "is_warn": 0,
| // "time": "2018-04-18 11:17:54",
| // "type": 0,
| // "value": 0.09
| // }, {
| // "is_warn": 0,
| // "time": "2018-04-18 11:17:58",
| // "type": 0,
| // "value": 0.09
| // }, {
| // "is_warn": 0,
| // "time": "2018-04-18 11:18:01",
| // "type": 0,
| // "value": 0.09
| // }],
| // "lat": 31.42807,
| // "lon": 120.984392,
| // "userid": "597bf6a1a0e6d23f5c3c9869"
| //}
| @property(nonatomic, strong) NSString * address;
| @property(nonatomic, strong) NSMutableArray * data; // DataModel
| @property(nonatomic, strong) NSString * lat;//"lat": 31.430284,
| @property(nonatomic, strong) NSString * lon;//"lon": 120.988931,
| @property(nonatomic, strong) NSString * userid;//"userid": "597bf6a1a0e6d23f5c3c9869"
|
| @end
|
|