12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- //
- // YXDeviceManagerModel.h
- // Temperature
- //
- // Created by gtjx-z on 2025/1/21.
- //
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface YXDeviceManagerModel : NSObject
- @property (nonatomic, copy) NSString *pic;
- @property (nonatomic, copy) NSString *title;
- //@property (nonatomic, copy) NSString *temperature;
- //@property (nonatomic, copy) NSString *humidity;
- @property (nonatomic, copy) NSString * isOnline;
- @property (nonatomic, assign) BOOL isSelected;
- /// 设备编号
- @property (nonatomic, nullable, copy) NSString *device_code;
- /// 家庭id
- @property (nonatomic, nullable, copy) NSString *home_id;
- /// 湿度
- @property (nonatomic, nullable, strong) NSNumber *humidity;
- /// 图标地址
- @property (nonatomic, nullable, copy) NSString *icon;
- /// 是否是主控
- @property (nonatomic, nullable, copy) NSNumber *is_master;
- @property (nonatomic, nullable, copy) NSNumber *show_online;
- /// 是否在线
- @property (nonatomic, nullable, copy) NSNumber *is_online;
- /// 名称
- @property (nonatomic, nullable, copy) NSString *name;
- /// 开关状态
- @property (nonatomic, nullable, copy) NSNumber *power;
- /// 记录id
- @property (nonatomic, nullable, copy) NSString *record_id;
- /// 房间id
- @property (nonatomic, nullable, copy) NSString *room_id;
- /// 状态数据(json)
- @property (nonatomic, nullable, copy) NSString *status;
- /// 温度
- @property (nonatomic, nullable, strong) NSNumber *temperature;
- /// 设备类型id
- @property (nonatomic, nullable, copy) NSString *type_id;
- /// 设备类型名称
- @property (nonatomic, nullable, copy) NSString *type_name;
- /// h5地址
- @property (nonatomic, nullable, copy) NSString *detail_url;
- + (void)getRoomDeviceWithRoomId:(NSString *)roomId finished:(void (^_Nullable)(NSArray * _Nullable devices, NSError * _Nullable error))finished;
- @end
- NS_ASSUME_NONNULL_END
|