|
|
|
@ -20,275 +20,276 @@
@@ -20,275 +20,276 @@
|
|
|
|
|
|
|
|
|
|
@interface Device : baseModel |
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSNumber *vendor; |
|
|
|
|
@property (nonatomic, strong) NSString *imei; |
|
|
|
|
@property (nonatomic, strong) NSNumber *accountNum;//设备绑定的用户数量
|
|
|
|
|
@property (nonatomic, strong) NSMutableArray *chatGroupList;//设备绑定的用户数量
|
|
|
|
|
@property (nonatomic, strong) NSString *authcode;//注册码
|
|
|
|
|
@property (nonatomic, copy) NSNumber *vendor; |
|
|
|
|
@property (nonatomic, copy) NSString *imei; |
|
|
|
|
@property (nonatomic, copy) NSNumber *accountNum;//设备绑定的用户数量
|
|
|
|
|
@property (nonatomic, copy) NSMutableArray *chatGroupList;//设备绑定的用户数量
|
|
|
|
|
@property (nonatomic, copy) NSString *authcode;//注册码
|
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSString *mac; |
|
|
|
|
@property (nonatomic, strong) NSMutableArray *contacts; |
|
|
|
|
//@property (nonatomic, strong) NSMutableArray *locations;
|
|
|
|
|
@property (nonatomic, copy) NSString *mac; |
|
|
|
|
@property (nonatomic, copy) NSMutableArray *contacts; |
|
|
|
|
//@property (nonatomic, copy) NSMutableArray *locations;
|
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSNumber *voltage; |
|
|
|
|
@property (nonatomic, copy) NSNumber *voltage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSNumber *lock; |
|
|
|
|
@property (nonatomic, copy) NSNumber *lock; |
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSNumber *step; |
|
|
|
|
@property (nonatomic, copy) NSNumber *step; |
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSMutableArray *alerts; |
|
|
|
|
@property (nonatomic, copy) NSMutableArray *alerts; |
|
|
|
|
|
|
|
|
|
@property (nonatomic ,strong) NSNumber *opRejectStrangeCall;//设置腕表是否拒绝陌生人来电
|
|
|
|
|
@property (nonatomic ,strong) NSNumber *opMonitor;//设置监听腕表
|
|
|
|
|
@property (nonatomic ,strong) NSString *opMonitorPhone;//设置腕表定位模式
|
|
|
|
|
@property (nonatomic ,copy) NSNumber *opRejectStrangeCall;//设置腕表是否拒绝陌生人来电
|
|
|
|
|
@property (nonatomic ,copy) NSNumber *opMonitor;//设置监听腕表
|
|
|
|
|
@property (nonatomic ,copy) NSString *opMonitorPhone;//设置腕表定位模式
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@property (nonatomic ,strong) NSNumber *opSettingVolume;//设置腕表音量等级
|
|
|
|
|
@property (nonatomic ,copy) NSNumber *opSettingVolume;//设置腕表音量等级
|
|
|
|
|
|
|
|
|
|
@property (nonatomic ,strong) NSNumber *opFlower;//设置和获取属性 腕表小红花奖励个数
|
|
|
|
|
@property (nonatomic ,copy) NSNumber *opFlower;//设置和获取属性 腕表小红花奖励个数
|
|
|
|
|
|
|
|
|
|
@property (nonatomic ,strong) NSNumber *opLocationMode;//设置腕表定位频率值 // MARK: update by lsz 2021-06-23
|
|
|
|
|
@property (nonatomic ,copy) NSNumber *opLocationMode;//设置腕表定位频率值 // MARK: update by lsz 2021-06-23
|
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSString *location_model1; // 省电模式
|
|
|
|
|
@property (nonatomic, strong) NSString *location_model2; // 正常模式
|
|
|
|
|
@property (nonatomic, strong) NSString *location_model3; // 低频模式
|
|
|
|
|
@property (nonatomic, copy) NSString *location_model1; // 省电模式
|
|
|
|
|
@property (nonatomic, copy) NSString *location_model2; // 正常模式
|
|
|
|
|
@property (nonatomic, copy) NSString *location_model3; // 低频模式
|
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSNumber *location_interval1; // 省电模式定位频率
|
|
|
|
|
@property (nonatomic, strong) NSNumber *location_interval2; // 正常模式定位频率
|
|
|
|
|
@property (nonatomic, strong) NSNumber *location_interval3; // 低频模式定位频率
|
|
|
|
|
@property (nonatomic, strong) NSString *model; // 设备型号
|
|
|
|
|
@property (nonatomic, strong) NSNumber *deviceType; // 设备类型
|
|
|
|
|
@property (nonatomic, copy) NSNumber *location_interval1; // 省电模式定位频率
|
|
|
|
|
@property (nonatomic, copy) NSNumber *location_interval2; // 正常模式定位频率
|
|
|
|
|
@property (nonatomic, copy) NSNumber *location_interval3; // 低频模式定位频率
|
|
|
|
|
@property (nonatomic, copy) NSString *model; // 设备型号
|
|
|
|
|
@property (nonatomic, copy) NSNumber *deviceType; // 设备类型
|
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSNumber *opDialSwitch; // 拨号盘
|
|
|
|
|
@property (nonatomic, copy) NSNumber *opDialSwitch; // 拨号盘
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持视频通话 0声网 4 菊风 5 佰锐 6 鹈鹕 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_video; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_video; |
|
|
|
|
/**
|
|
|
|
|
是否支持远程拍照 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_photo; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_photo; |
|
|
|
|
/**
|
|
|
|
|
是否支持计步功能 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_step; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_step; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持查找设备 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_find; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_find; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持查询流量话费 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_costFlow; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_costFlow; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持设置爱心奖励 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_flower; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_flower; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持设置设备WIFI |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_wifi; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_wifi; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持定时开关机 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_timingSwitch; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_timingSwitch; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持体温 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_temperature; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_temperature; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持心率 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_heartRate; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_heartRate; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持白名单 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_whiteList; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_whiteList; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持火火兔白名单删除功能 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_hht; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_hht; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持表盘中心 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_downDial; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_downDial; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持监听 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_monitor; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_monitor; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持闹钟 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_alarm; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_alarm; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持上课禁用 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_disturb; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_disturb; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持SOS号码 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_sos; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_sos; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持血压 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_blood; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_blood; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持血氧 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_oxygen; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_oxygen; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持拨号盘 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_callPhone; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_callPhone; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持电子围栏 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_safeArea; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_safeArea; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持微聊 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_chat; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_chat; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持碰碰交友 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_ppFriend; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_ppFriend; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
是否支持课程表 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *support_schedul; |
|
|
|
|
@property (nonatomic, copy) NSNumber *support_schedul; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
设备的电量 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic ,strong) NSNumber *battery; |
|
|
|
|
@property (nonatomic ,copy) NSNumber *battery; |
|
|
|
|
/**
|
|
|
|
|
设备的最大电量格数 (旧设备没有) |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic ,strong) NSNumber *max_level; |
|
|
|
|
@property (nonatomic ,copy) NSNumber *max_level; |
|
|
|
|
|
|
|
|
|
/// 类型
|
|
|
|
|
@property (nonatomic ,strong) NSString *modules; |
|
|
|
|
@property (nonatomic ,copy) NSString *modules; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
亲情号 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic ,strong) NSNumber *support_family; |
|
|
|
|
@property (nonatomic ,copy) NSNumber *support_family; |
|
|
|
|
/**
|
|
|
|
|
jjm |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic ,strong) NSNumber *support_healthCode; |
|
|
|
|
@property (nonatomic ,copy) NSNumber *support_healthCode; |
|
|
|
|
|
|
|
|
|
///jjmTitle
|
|
|
|
|
@property (nonatomic ,strong) NSString *qrcodeCN; |
|
|
|
|
@property (nonatomic ,copy) NSString *qrcodeCN; |
|
|
|
|
|
|
|
|
|
/// 是否支持设备防丢
|
|
|
|
|
@property (nonatomic ,strong) NSNumber *support_BT_Avoid_Losing; |
|
|
|
|
@property (nonatomic ,copy) NSNumber *support_BT_Avoid_Losing; |
|
|
|
|
|
|
|
|
|
/// 是否支持短信
|
|
|
|
|
@property (nonatomic ,strong) NSNumber *support_sms; |
|
|
|
|
@property (nonatomic ,copy) NSNumber *support_sms; |
|
|
|
|
|
|
|
|
|
/// 是否支持核酸码
|
|
|
|
|
@property (nonatomic ,strong) NSNumber *support_hsCode; |
|
|
|
|
@property (nonatomic ,copy) NSNumber *support_hsCode; |
|
|
|
|
|
|
|
|
|
/// 是否支持应用管理
|
|
|
|
|
@property (nonatomic ,strong) NSNumber *support_appControl; |
|
|
|
|
@property (nonatomic ,copy) NSNumber *support_appControl; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
设备是否在线 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic ,strong) NSNumber *onlineStatus; |
|
|
|
|
@property (nonatomic ,copy) NSNumber *onlineStatus; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
设备的当前电量格数 (旧设备没有) |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic ,strong) NSNumber *curr_level; |
|
|
|
|
@property (nonatomic ,copy) NSNumber *curr_level; |
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSNumber *upDownNotice; |
|
|
|
|
@property (nonatomic, copy) NSNumber *upDownNotice; |
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSNumber *fall_status; |
|
|
|
|
@property (nonatomic, copy) NSNumber *fall_status; |
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) NSString *gps_strategy; |
|
|
|
|
@property (nonatomic, copy) NSString *gps_strategy; |
|
|
|
|
|
|
|
|
|
@property (nonatomic, strong) Locate *lastLocation; |
|
|
|
|
@property (nonatomic, copy) Locate *lastLocation; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
性别 女孩 girl , 男孩 man default 30 girl |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSString *sex; |
|
|
|
|
@property (nonatomic, copy) NSString *sex; |
|
|
|
|
/**
|
|
|
|
|
生日 default now day |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSString *birthday; |
|
|
|
|
@property (nonatomic, copy) NSString *birthday; |
|
|
|
|
/**
|
|
|
|
|
身高 default 100 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSString *height; |
|
|
|
|
@property (nonatomic, copy) NSString *height; |
|
|
|
|
/**
|
|
|
|
|
体重 default 30 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSString *weight; |
|
|
|
|
@property (nonatomic, copy) NSString *weight; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
该用户绑定设备的 我的电话号码 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSString *my_phone; |
|
|
|
|
@property (nonatomic, copy) NSString *my_phone; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
该用户对于 该 设备 的 身份 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSString *identity; |
|
|
|
|
@property (nonatomic, copy) NSString *identity; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
关系 情况 eg : 妈妈,爸爸,爷爷 ... default 亲人 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSString * relationship; |
|
|
|
|
@property (nonatomic, copy) NSString * relationship; |
|
|
|
|
/**
|
|
|
|
|
关系的 ID default 9 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber * relationship_image_id; |
|
|
|
|
@property (nonatomic, copy) NSNumber * relationship_image_id; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
设备最近一次心率 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSString *lastHeartRate; |
|
|
|
|
@property (nonatomic, copy) NSString *lastHeartRate; |
|
|
|
|
/**
|
|
|
|
|
设备最近一次心率时间 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *lastHeartRateTime; |
|
|
|
|
@property (nonatomic, copy) NSNumber *lastHeartRateTime; |
|
|
|
|
/**
|
|
|
|
|
设备最近一次体温 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSString *lastTemperature; |
|
|
|
|
@property (nonatomic, copy) NSString *lastTemperature; |
|
|
|
|
/**
|
|
|
|
|
设备最近一次体温时间 |
|
|
|
|
*/ |
|
|
|
|
@property (nonatomic, strong) NSNumber *lastTemperatureTime; |
|
|
|
|
@property (nonatomic, copy) NSNumber *lastTemperatureTime; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- (UIImage *)getImageWithRim:(CGSize)size; |
|
|
|
|