New file |
| | |
| | | // |
| | | // 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 |