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
| //
| // DetailModel.h
| // screendisplay
| //
| // Created by 单军华 on 2018/7/9.
| // Copyright © 2018年 单军华. All rights reserved.
| //
|
| #import <Foundation/Foundation.h>
|
| @interface DetailModel : NSObject
|
| @property(nonatomic, strong) NSString * id;
| @property(nonatomic, strong) NSString * name;
| @property(nonatomic, strong) NSString * sensor_key;
| @property(nonatomic, strong) NSString * upper;
| @property(nonatomic, strong) NSString * lower;
| @property(nonatomic, strong) NSString * unit;
| @property(nonatomic, strong) NSString * _description;
| @property(nonatomic, strong) NSString * state;
| @property(nonatomic, strong) NSString * value;
|
| //"sensor_key": "e1",
| //"unit": "ug/m³",
| //"upper": 60,
| //"lower": -40,
| //"name": "PM 2.5",
| //"description": "PM2.5",
| //"id": 1,
| //"state": "1",
| //"value": 38
|
|
| @end
|
|