// // YXHomeDeviceModel.h // Temperature // // Created by TC on 2025/3/1. // #import NS_ASSUME_NONNULL_BEGIN @interface YXHomeDeviceModel : NSObject /// 设备编号 @property (nonatomic, nullable, copy) NSString *device_code; /// 分控编号 @property (nonatomic, nullable, copy) NSString *sub_code; /// 家庭id @property (nonatomic, nullable, copy) NSString *home_id; /// 湿度 @property (nonatomic, nullable, strong) NSNumber *humidity; /// 图标地址 @property (nonatomic, nullable, copy) NSString *icon; /// 是否是主控 @property (nonatomic, nullable, strong) NSNumber *is_master; /// 是否在线 @property (nonatomic, nullable, copy) NSString *is_online; /// 名称 @property (nonatomic, nullable, copy) NSString *name; /// 开关状态 @property (nonatomic, nullable, strong) 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; /// 是否展示开关 @property (nonatomic, nullable, copy) NSNumber *show_power; /// show_online字段,为true时,则根据is_online显示是否在线,为false时,显示温湿度信息 @property (nonatomic, nullable, copy) NSNumber *show_online; @end NS_ASSUME_NONNULL_END