capacitor-plugin-ihealth 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CapacitorPluginIhealth.podspec +35 -0
- package/README.md +214 -0
- package/android/build.gradle +58 -0
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/java/com/managemyhealth/plugins/ihealth/ihealth.java +11 -0
- package/android/src/main/java/com/managemyhealth/plugins/ihealth/ihealthPlugin.java +22 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/dist/docs.json +450 -0
- package/dist/esm/definitions.d.ts +29 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +37 -0
- package/dist/esm/web.js +42 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +58 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +61 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Plugin/Info.plist +24 -0
- package/ios/Plugin/Plugin-Bridging-Header.h +35 -0
- package/ios/Plugin/iHealthSDKHeaders/ABI.h +82 -0
- package/ios/Plugin/iHealthSDKHeaders/ABIController.h +28 -0
- package/ios/Plugin/iHealthSDKHeaders/ABPM.h +144 -0
- package/ios/Plugin/iHealthSDKHeaders/ABPMController.h +25 -0
- package/ios/Plugin/iHealthSDKHeaders/AM3.h +188 -0
- package/ios/Plugin/iHealthSDKHeaders/AM3Controller.h +29 -0
- package/ios/Plugin/iHealthSDKHeaders/AM3SController_V2.h +29 -0
- package/ios/Plugin/iHealthSDKHeaders/AM3S_V2.h +227 -0
- package/ios/Plugin/iHealthSDKHeaders/AM4.h +223 -0
- package/ios/Plugin/iHealthSDKHeaders/AM4Controller.h +31 -0
- package/ios/Plugin/iHealthSDKHeaders/AM5.h +335 -0
- package/ios/Plugin/iHealthSDKHeaders/AM5Controller.h +30 -0
- package/ios/Plugin/iHealthSDKHeaders/AM5Header.h +20 -0
- package/ios/Plugin/iHealthSDKHeaders/AMHeader.h +27 -0
- package/ios/Plugin/iHealthSDKHeaders/AMMacroFile.h +1171 -0
- package/ios/Plugin/iHealthSDKHeaders/BG1.h +53 -0
- package/ios/Plugin/iHealthSDKHeaders/BG1Controller.h +46 -0
- package/ios/Plugin/iHealthSDKHeaders/BG1S.h +64 -0
- package/ios/Plugin/iHealthSDKHeaders/BG1SController.h +25 -0
- package/ios/Plugin/iHealthSDKHeaders/BG3.h +83 -0
- package/ios/Plugin/iHealthSDKHeaders/BG3Controller.h +28 -0
- package/ios/Plugin/iHealthSDKHeaders/BG5.h +158 -0
- package/ios/Plugin/iHealthSDKHeaders/BG5Controller.h +28 -0
- package/ios/Plugin/iHealthSDKHeaders/BG5S.h +294 -0
- package/ios/Plugin/iHealthSDKHeaders/BG5SController.h +29 -0
- package/ios/Plugin/iHealthSDKHeaders/BGController.h +32 -0
- package/ios/Plugin/iHealthSDKHeaders/BGDevice.h +42 -0
- package/ios/Plugin/iHealthSDKHeaders/BGHeader.h +23 -0
- package/ios/Plugin/iHealthSDKHeaders/BGMacroFile.h +507 -0
- package/ios/Plugin/iHealthSDKHeaders/BP3.h +77 -0
- package/ios/Plugin/iHealthSDKHeaders/BP3Controller.h +27 -0
- package/ios/Plugin/iHealthSDKHeaders/BP3L.h +58 -0
- package/ios/Plugin/iHealthSDKHeaders/BP3LController.h +30 -0
- package/ios/Plugin/iHealthSDKHeaders/BP5.h +32 -0
- package/ios/Plugin/iHealthSDKHeaders/BP5C.h +131 -0
- package/ios/Plugin/iHealthSDKHeaders/BP5CController.h +25 -0
- package/ios/Plugin/iHealthSDKHeaders/BP5Controller.h +25 -0
- package/ios/Plugin/iHealthSDKHeaders/BP5S.h +97 -0
- package/ios/Plugin/iHealthSDKHeaders/BP5SController.h +27 -0
- package/ios/Plugin/iHealthSDKHeaders/BP5SRW.h +101 -0
- package/ios/Plugin/iHealthSDKHeaders/BP5SRWController.h +26 -0
- package/ios/Plugin/iHealthSDKHeaders/BP7.h +141 -0
- package/ios/Plugin/iHealthSDKHeaders/BP7Controller.h +25 -0
- package/ios/Plugin/iHealthSDKHeaders/BP7S.h +106 -0
- package/ios/Plugin/iHealthSDKHeaders/BP7SController.h +32 -0
- package/ios/Plugin/iHealthSDKHeaders/BPAV10Device.h +15 -0
- package/ios/Plugin/iHealthSDKHeaders/BPBTLEDevice.h +17 -0
- package/ios/Plugin/iHealthSDKHeaders/BPBV10Device.h +20 -0
- package/ios/Plugin/iHealthSDKHeaders/BPContinua.h +56 -0
- package/ios/Plugin/iHealthSDKHeaders/BPContinuaController.h +30 -0
- package/ios/Plugin/iHealthSDKHeaders/BPController.h +40 -0
- package/ios/Plugin/iHealthSDKHeaders/BPDevice.h +131 -0
- package/ios/Plugin/iHealthSDKHeaders/BPHeader.h +54 -0
- package/ios/Plugin/iHealthSDKHeaders/BPLoopMeasureSettingModel.h +120 -0
- package/ios/Plugin/iHealthSDKHeaders/BPM1AE.h +80 -0
- package/ios/Plugin/iHealthSDKHeaders/BPMacroFile.h +247 -0
- package/ios/Plugin/iHealthSDKHeaders/BPV24Device.h +16 -0
- package/ios/Plugin/iHealthSDKHeaders/BPV25Device.h +17 -0
- package/ios/Plugin/iHealthSDKHeaders/ConnectDeviceController.h +27 -0
- package/ios/Plugin/iHealthSDKHeaders/DFUController.h +160 -0
- package/ios/Plugin/iHealthSDKHeaders/DFUDeviceFirmwareInfo.h +56 -0
- package/ios/Plugin/iHealthSDKHeaders/DFUHeader.h +19 -0
- package/ios/Plugin/iHealthSDKHeaders/DFUMacro.h +264 -0
- package/ios/Plugin/iHealthSDKHeaders/DFUServerFirmwareInfo.h +48 -0
- package/ios/Plugin/iHealthSDKHeaders/ECG3.h +94 -0
- package/ios/Plugin/iHealthSDKHeaders/ECG3Controller.h +30 -0
- package/ios/Plugin/iHealthSDKHeaders/ECG3USB.h +145 -0
- package/ios/Plugin/iHealthSDKHeaders/ECG3USBController.h +31 -0
- package/ios/Plugin/iHealthSDKHeaders/ECGHeader.h +20 -0
- package/ios/Plugin/iHealthSDKHeaders/ECGMacroFile.h +84 -0
- package/ios/Plugin/iHealthSDKHeaders/HFSmartLink.h +88 -0
- package/ios/Plugin/iHealthSDKHeaders/HFSmartLinkDeviceInfo.h +14 -0
- package/ios/Plugin/iHealthSDKHeaders/HS2.h +64 -0
- package/ios/Plugin/iHealthSDKHeaders/HS2Controller.h +25 -0
- package/ios/Plugin/iHealthSDKHeaders/HS2S.h +399 -0
- package/ios/Plugin/iHealthSDKHeaders/HS2SController.h +27 -0
- package/ios/Plugin/iHealthSDKHeaders/HS3.h +63 -0
- package/ios/Plugin/iHealthSDKHeaders/HS3Controller.h +32 -0
- package/ios/Plugin/iHealthSDKHeaders/HS4.h +64 -0
- package/ios/Plugin/iHealthSDKHeaders/HS4Controller.h +26 -0
- package/ios/Plugin/iHealthSDKHeaders/HS5.h +141 -0
- package/ios/Plugin/iHealthSDKHeaders/HS5Controller.h +38 -0
- package/ios/Plugin/iHealthSDKHeaders/HSHeader.h +25 -0
- package/ios/Plugin/iHealthSDKHeaders/HSMacroFile.h +709 -0
- package/ios/Plugin/iHealthSDKHeaders/HealthHeader.h +67 -0
- package/ios/Plugin/iHealthSDKHeaders/HealthUser.h +126 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOBindEnum.h +49 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOBlueDataResponse.h +66 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOBlueEnum.h +213 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOBluetoothBaseModel.h +112 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOBluetoothEngine.h +283 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOBluetoothManager.h +166 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOBluetoothServices.h +75 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOCalculateBluetoothModel.h +263 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOCommonMacro.h +89 -0
- package/ios/Plugin/iHealthSDKHeaders/IDODataExchangeModel.h +128 -0
- package/ios/Plugin/iHealthSDKHeaders/IDODataMigrationManager.h +79 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOErrorCodeToStr.h +19 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOFoundationCommand.h +1178 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOGetInfoBluetoothModel.h +1924 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOLogEnum.h +165 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOPeripheralModel.h +59 -0
- package/ios/Plugin/iHealthSDKHeaders/IDORecordDeviceLog.h +56 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOSetInfoBluetoothModel.h +1760 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOSyncActivityDataModel.h +207 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOSyncBpDataModel.h +191 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOSyncEnum.h +316 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOSyncGpsDataModel.h +133 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOSyncHeartRateDataModel.h +442 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOSyncManager.h +161 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOSyncPressureDataModel.h +158 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOSyncSleepDataModel.h +224 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOSyncSpo2DataModel.h +175 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOSyncSportDataModel.h +221 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOSyncSwimDataModel.h +188 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOTranEnum.h +93 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOTransferFileManager.h +116 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOWatchDialInfoModel.h +95 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOWatchDialManager.h +75 -0
- package/ios/Plugin/iHealthSDKHeaders/IDOWeightBluetoothModel.h +124 -0
- package/ios/Plugin/iHealthSDKHeaders/IHSDKCloudUser.h +104 -0
- package/ios/Plugin/iHealthSDKHeaders/KN550BT.h +115 -0
- package/ios/Plugin/iHealthSDKHeaders/KN550BTController.h +32 -0
- package/ios/Plugin/iHealthSDKHeaders/ManageDeviceController.h +34 -0
- package/ios/Plugin/iHealthSDKHeaders/NT13B.h +33 -0
- package/ios/Plugin/iHealthSDKHeaders/NT13BController.h +28 -0
- package/ios/Plugin/iHealthSDKHeaders/NT13BHeader.h +16 -0
- package/ios/Plugin/iHealthSDKHeaders/NT13BMacroFile.h +34 -0
- package/ios/Plugin/iHealthSDKHeaders/PO1.h +82 -0
- package/ios/Plugin/iHealthSDKHeaders/PO1Controller.h +29 -0
- package/ios/Plugin/iHealthSDKHeaders/PO3.h +96 -0
- package/ios/Plugin/iHealthSDKHeaders/PO3Controller.h +29 -0
- package/ios/Plugin/iHealthSDKHeaders/POHeader.h +20 -0
- package/ios/Plugin/iHealthSDKHeaders/POMacroFile.h +142 -0
- package/ios/Plugin/iHealthSDKHeaders/PT3SBT.h +167 -0
- package/ios/Plugin/iHealthSDKHeaders/PT3SBTController.h +27 -0
- package/ios/Plugin/iHealthSDKHeaders/PT3SBTMacroFile.h +92 -0
- package/ios/Plugin/iHealthSDKHeaders/SDKFlowUpdateDevice.h +196 -0
- package/ios/Plugin/iHealthSDKHeaders/SDKInfo.h +30 -0
- package/ios/Plugin/iHealthSDKHeaders/SDKUpdateDevice.h +235 -0
- package/ios/Plugin/iHealthSDKHeaders/ScanDeviceController.h +47 -0
- package/ios/Plugin/iHealthSDKHeaders/THV3.h +104 -0
- package/ios/Plugin/iHealthSDKHeaders/THV3Controller.h +30 -0
- package/ios/Plugin/iHealthSDKHeaders/THV3Macro.h +17 -0
- package/ios/Plugin/iHealthSDKHeaders/TS28B.h +26 -0
- package/ios/Plugin/iHealthSDKHeaders/TS28BController.h +142 -0
- package/ios/Plugin/iHealthSDKHeaders/TS28BHeader.h +15 -0
- package/ios/Plugin/iHealthSDKHeaders/iHealthHS6.h +174 -0
- package/ios/Plugin/ihealth.swift +8 -0
- package/ios/Plugin/ihealthPlugin.h +10 -0
- package/ios/Plugin/ihealthPlugin.m +16 -0
- package/ios/Plugin/ihealthPlugin.swift +1502 -0
- package/ios/Plugin/libiHealthSDK2.7.8.a +0 -0
- package/ios/Plugin/test.m +9 -0
- package/package.json +78 -0
@@ -0,0 +1,1760 @@
|
|
1
|
+
//
|
2
|
+
// IDOSetBuletoothModel.h
|
3
|
+
// VeryfitSDK
|
4
|
+
//
|
5
|
+
// Created by hedongyang on 2018/6/13.
|
6
|
+
// Copyright © 2018年 hedongyang. All rights reserved.
|
7
|
+
//
|
8
|
+
|
9
|
+
#if __has_include(<IDOBluetoothInternal/IDOBluetoothInternal.h>)
|
10
|
+
#elif __has_include(<IDOBlueProtocol/IDOBlueProtocol.h>)
|
11
|
+
#else
|
12
|
+
#import "IDOBluetoothBaseModel.h"
|
13
|
+
#endif
|
14
|
+
|
15
|
+
#pragma mark ==== 设置喝水提醒 model ====
|
16
|
+
@interface IDOSetDrinkReminderModeBluetoothModel:IDOBluetoothBaseModel
|
17
|
+
/**
|
18
|
+
喝水提醒开关 | drink water reminder
|
19
|
+
*/
|
20
|
+
@property (nonatomic,assign) BOOL onOff;
|
21
|
+
/**
|
22
|
+
提醒间隔,单位分钟 | interval (unit minutes)
|
23
|
+
*/
|
24
|
+
@property (nonatomic,assign) NSInteger interval;
|
25
|
+
/**
|
26
|
+
开始时间(时) | start time (hours)
|
27
|
+
*/
|
28
|
+
@property (nonatomic,assign) NSInteger startHour;
|
29
|
+
/**
|
30
|
+
开始时间(分) | start time (minutes)
|
31
|
+
*/
|
32
|
+
@property (nonatomic,assign) NSInteger startMinute;
|
33
|
+
/**
|
34
|
+
结束时间 (时) | end time (hours)
|
35
|
+
*/
|
36
|
+
@property (nonatomic,assign) NSInteger endHour;
|
37
|
+
/**
|
38
|
+
结束时间 (分) | end time (minutes)
|
39
|
+
*/
|
40
|
+
@property (nonatomic,assign) NSInteger endMinute;
|
41
|
+
/**
|
42
|
+
* 重复集合 [星期一、星期二、星期三、星期四、星期五、星期六、星期日]
|
43
|
+
* Repeat collection [monday,tuesday,wednesday,thursday,friday,saturday,sunday]
|
44
|
+
*/
|
45
|
+
@property (nonatomic,strong)NSArray<NSNumber *> * repeat;
|
46
|
+
/**
|
47
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
48
|
+
* Query the database, if the query does not initialize a new model object
|
49
|
+
* @return IDOSetDrinkReminderModeBluetoothModel
|
50
|
+
*/
|
51
|
+
+ (__kindof IDOSetDrinkReminderModeBluetoothModel *)currentModel;
|
52
|
+
@end
|
53
|
+
|
54
|
+
#pragma mark ==== 设置心率开关同步 model ====
|
55
|
+
@interface IDOSetV3HeartRateModeBluetoothModel:IDOBluetoothBaseModel
|
56
|
+
/**
|
57
|
+
* 心率模式 0:关闭心率监测功能 1:手动模式 2:自动模式 3:持续监测(默认:自动模式)
|
58
|
+
* Heart Rate Mode 0: Turn off heart rate monitoring function 1: Manual mode 2: Auto mode 3:Continuously monitor(Default: Auto mode)
|
59
|
+
*/
|
60
|
+
@property (nonatomic,assign) NSInteger modeType;
|
61
|
+
/**
|
62
|
+
* 更新时间unix 时间戳,秒级 (eg 14442361933)
|
63
|
+
* Update time Unix timestamp, in seconds
|
64
|
+
*/
|
65
|
+
@property (nonatomic,copy) NSString * updateTime;
|
66
|
+
/**
|
67
|
+
是否有相隔时间 | Is there a time interval?
|
68
|
+
*/
|
69
|
+
@property (nonatomic,assign) BOOL isHasTimeRange;
|
70
|
+
/**
|
71
|
+
开始 (时) | Start (hours)
|
72
|
+
*/
|
73
|
+
@property (nonatomic,assign) NSInteger startHour;
|
74
|
+
/**
|
75
|
+
开始 (分) | Start (minutes)
|
76
|
+
*/
|
77
|
+
@property (nonatomic,assign) NSInteger startMinute;
|
78
|
+
/**
|
79
|
+
结束 (时) | End (hours)
|
80
|
+
*/
|
81
|
+
@property (nonatomic,assign) NSInteger endHour;
|
82
|
+
/**
|
83
|
+
结束 (分) | End (minutes)
|
84
|
+
*/
|
85
|
+
@property (nonatomic,assign) NSInteger endMinute;
|
86
|
+
/**
|
87
|
+
测量间隔,单位分钟 | measurement Interval,unit:minutes
|
88
|
+
*/
|
89
|
+
@property (nonatomic,assign) NSInteger measurementInterval;
|
90
|
+
/**
|
91
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
92
|
+
* Query the database, if the query does not initialize a new model object
|
93
|
+
* @return IDOSetV3HeartRateModeBluetoothModel
|
94
|
+
*/
|
95
|
+
+ (__kindof IDOSetV3HeartRateModeBluetoothModel *)currentModel;
|
96
|
+
@end
|
97
|
+
|
98
|
+
#pragma mark ==== 设置运动开关 model ====
|
99
|
+
@interface IDOSetActivitySwitchBluetoothModel:IDOBluetoothBaseModel
|
100
|
+
/**
|
101
|
+
自动识别运动类型开关 | sport type on Off
|
102
|
+
*/
|
103
|
+
@property (nonatomic,assign) BOOL sportTypeOnOff DEPRECATED_MSG_ATTRIBUTE("this attribute is discarded");
|
104
|
+
/**
|
105
|
+
自动识别走路开关 | auto identify sport walk
|
106
|
+
*/
|
107
|
+
@property (nonatomic,assign) BOOL sportWalkOnOff;
|
108
|
+
/**
|
109
|
+
自动识别跑步开关 | auto identify sport run
|
110
|
+
*/
|
111
|
+
@property (nonatomic,assign) BOOL sportRunOnOff;
|
112
|
+
/**
|
113
|
+
自动识别自行车开关 | auto identify sport bicycle
|
114
|
+
*/
|
115
|
+
@property (nonatomic,assign) BOOL sportBicycleOnOff;
|
116
|
+
/**
|
117
|
+
运动自动暂停开关 | auto pause on off
|
118
|
+
*/
|
119
|
+
@property (nonatomic,assign) BOOL autoPauseOnOff;
|
120
|
+
/**
|
121
|
+
结束提醒开关 | end remind on off
|
122
|
+
*/
|
123
|
+
@property (nonatomic,assign) BOOL endRemindOnOff;
|
124
|
+
|
125
|
+
/**
|
126
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
127
|
+
* Query the database, if the query does not initialize a new model object
|
128
|
+
* @return IDOSetActivitySwitchBluetoothModel
|
129
|
+
*/
|
130
|
+
+ (__kindof IDOSetActivitySwitchBluetoothModel *)currentModel;
|
131
|
+
|
132
|
+
@end
|
133
|
+
|
134
|
+
|
135
|
+
#pragma mark ==== 设置血氧开关控制 model ====
|
136
|
+
@interface IDOSetSpo2SwitchBluetoothModel:IDOBluetoothBaseModel
|
137
|
+
/**
|
138
|
+
开关 | on off
|
139
|
+
*/
|
140
|
+
@property (nonatomic,assign) BOOL onOff;
|
141
|
+
|
142
|
+
/**
|
143
|
+
开始时间 (时) | start hour
|
144
|
+
*/
|
145
|
+
@property (nonatomic,assign) NSInteger startHour;
|
146
|
+
|
147
|
+
/**
|
148
|
+
开始时间 (分) | start minute
|
149
|
+
*/
|
150
|
+
@property (nonatomic,assign) NSInteger startMinute;
|
151
|
+
|
152
|
+
/**
|
153
|
+
结束时间 (时) | end hour
|
154
|
+
*/
|
155
|
+
@property (nonatomic,assign) NSInteger endHour;
|
156
|
+
|
157
|
+
/**
|
158
|
+
结束时间 (分) | end minute
|
159
|
+
*/
|
160
|
+
@property (nonatomic,assign) NSInteger endMinute;
|
161
|
+
|
162
|
+
/**
|
163
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
164
|
+
* Query the database, if the query does not initialize a new model object
|
165
|
+
* @return IDOSetSpo2SwitchBluetoothModel
|
166
|
+
*/
|
167
|
+
+ (__kindof IDOSetSpo2SwitchBluetoothModel *)currentModel;
|
168
|
+
|
169
|
+
@end
|
170
|
+
|
171
|
+
#pragma mark ==== 设置呼吸训练 model ====
|
172
|
+
@interface IDOSetBreatheTrainBluetoothModel:IDOBluetoothBaseModel
|
173
|
+
/**
|
174
|
+
每分钟呼吸次数 | Breaths per minute
|
175
|
+
*/
|
176
|
+
@property (nonatomic,assign) NSInteger frequency;
|
177
|
+
|
178
|
+
/**
|
179
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
180
|
+
* Query the database, if the query does not initialize a new model object
|
181
|
+
* @return IDOSetBreatheTrainBluetoothModel
|
182
|
+
*/
|
183
|
+
+ (__kindof IDOSetBreatheTrainBluetoothModel *)currentModel;
|
184
|
+
@end
|
185
|
+
|
186
|
+
#pragma mark ==== 设置走动提醒 model ====
|
187
|
+
@interface IDOSetWalkReminderBluetoothModel:IDOBluetoothBaseModel
|
188
|
+
/**
|
189
|
+
走动提醒开关 | Walking reminder switch
|
190
|
+
*/
|
191
|
+
@property (nonatomic,assign) BOOL onOff;
|
192
|
+
/**
|
193
|
+
目标步数 | goal step
|
194
|
+
*/
|
195
|
+
@property (nonatomic,assign) NSInteger goalStep;
|
196
|
+
/**
|
197
|
+
开始时间(时) | start time (hours)
|
198
|
+
*/
|
199
|
+
@property (nonatomic,assign) NSInteger startHour;
|
200
|
+
/**
|
201
|
+
开始时间(分) | start time (minutes)
|
202
|
+
*/
|
203
|
+
@property (nonatomic,assign) NSInteger startMinute;
|
204
|
+
/**
|
205
|
+
结束时间 (时) | end time (hours)
|
206
|
+
*/
|
207
|
+
@property (nonatomic,assign) NSInteger endHour;
|
208
|
+
/**
|
209
|
+
结束时间 (分) | end time (minutes)
|
210
|
+
*/
|
211
|
+
@property (nonatomic,assign) NSInteger endMinute;
|
212
|
+
/**
|
213
|
+
* 重复集合 [星期一、星期二、星期三、星期四、星期五、星期六、星期日]
|
214
|
+
* Repeat collection [monday,tuesday,wednesday,thursday,friday,saturday,sunday]
|
215
|
+
*/
|
216
|
+
@property (nonatomic,strong)NSArray<NSNumber *> * repeat;
|
217
|
+
|
218
|
+
/**
|
219
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
220
|
+
* Query the database, if the query does not initialize a new model object
|
221
|
+
* @return IDOSetWalkReminderBluetoothModel
|
222
|
+
*/
|
223
|
+
+ (__kindof IDOSetWalkReminderBluetoothModel *)currentModel;
|
224
|
+
|
225
|
+
@end
|
226
|
+
#pragma mark ==== 设置经期提醒 model ====
|
227
|
+
@interface IDOSetMenstruationRemindBluetoothModel:IDOBluetoothBaseModel
|
228
|
+
/**
|
229
|
+
开始日提醒 提前天数 | Start Day Reminder
|
230
|
+
*/
|
231
|
+
@property (nonatomic,assign) NSInteger startDay;
|
232
|
+
/**
|
233
|
+
排卵日提醒 提前天数 | Ovulation Day Reminder
|
234
|
+
*/
|
235
|
+
@property (nonatomic,assign) NSInteger ovulationDay;
|
236
|
+
/**
|
237
|
+
提醒时间 (时) | Reminder time (hours)
|
238
|
+
*/
|
239
|
+
@property (nonatomic,assign) NSInteger hour;
|
240
|
+
/**
|
241
|
+
提醒时间 (分) | Reminder time (minutes)
|
242
|
+
*/
|
243
|
+
@property (nonatomic,assign) NSInteger minute;
|
244
|
+
|
245
|
+
/**
|
246
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
247
|
+
* Query the database, if the query does not initialize a new model object
|
248
|
+
* @return IDOSetMenstruationRemindBluetoothModel
|
249
|
+
*/
|
250
|
+
+ (__kindof IDOSetMenstruationRemindBluetoothModel *)currentModel;
|
251
|
+
|
252
|
+
@end
|
253
|
+
|
254
|
+
#pragma mark ==== 设置经期 model ====
|
255
|
+
@interface IDOSetMenstruationInfoBluetoothModel:IDOBluetoothBaseModel
|
256
|
+
/**
|
257
|
+
开关 | onoff
|
258
|
+
*/
|
259
|
+
@property (nonatomic,assign) BOOL onOff;
|
260
|
+
/**
|
261
|
+
经期长度 | length of menstruation
|
262
|
+
*/
|
263
|
+
@property (nonatomic,assign) NSInteger menstrualLength;
|
264
|
+
/**
|
265
|
+
经期周期 | Menstrual cycle
|
266
|
+
*/
|
267
|
+
@property (nonatomic,assign) NSInteger menstrualCycle;
|
268
|
+
/**
|
269
|
+
最近经期年份 | Recent menstrual years
|
270
|
+
*/
|
271
|
+
@property (nonatomic,assign) NSInteger lastMenstrualYear;
|
272
|
+
/**
|
273
|
+
最近经期月份 | Recent menstrual months
|
274
|
+
*/
|
275
|
+
@property (nonatomic,assign) NSInteger lastMenstrualMonth;
|
276
|
+
/**
|
277
|
+
最近经期日期 | Recent menstrual date
|
278
|
+
*/
|
279
|
+
@property (nonatomic,assign) NSInteger lastMenstrualDay;
|
280
|
+
/**
|
281
|
+
排卵日的间隔 | ovulation interval day
|
282
|
+
*/
|
283
|
+
@property (nonatomic,assign) NSInteger ovulationIntervalDay;
|
284
|
+
/**
|
285
|
+
经期前一天 | | The day before the menstrual period
|
286
|
+
*/
|
287
|
+
@property (nonatomic,assign) NSInteger ovulationBeforeDay;
|
288
|
+
/**
|
289
|
+
经期后一天 | | One day after menstruation
|
290
|
+
*/
|
291
|
+
@property (nonatomic,assign) NSInteger ovulationAfterDay;
|
292
|
+
|
293
|
+
/**
|
294
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
295
|
+
* Query the database, if the query does not initialize a new model object
|
296
|
+
* @return IDOSetMenstruationInfoBluetoothModel
|
297
|
+
*/
|
298
|
+
+ (__kindof IDOSetMenstruationInfoBluetoothModel *)currentModel;
|
299
|
+
|
300
|
+
@end
|
301
|
+
|
302
|
+
#pragma mark ==== 绑定model ====
|
303
|
+
@interface IDOSetBindingInfoBluetoothModel:IDOBluetoothBaseModel
|
304
|
+
/**
|
305
|
+
授权码长度 | Authorization code length
|
306
|
+
*/
|
307
|
+
@property (nonatomic,assign) NSUInteger authLength;
|
308
|
+
|
309
|
+
/**
|
310
|
+
授权码 | Authorization code
|
311
|
+
*/
|
312
|
+
@property (nonatomic,copy) NSString * authCode;
|
313
|
+
|
314
|
+
/**
|
315
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象 (只有在授权绑定才会存储数据)
|
316
|
+
* Query the database, if the query does not initialize the new model object (only the authorization binding will store the data)
|
317
|
+
* @return IDOSetBindingInfoBluetoothModel
|
318
|
+
*/
|
319
|
+
+ (__kindof IDOSetBindingInfoBluetoothModel *)currentModel;
|
320
|
+
@end
|
321
|
+
|
322
|
+
#pragma mark ==== 设置设置睡眠时间段model ====
|
323
|
+
@interface IDOSetSleepPeriodInfoBluetoothModel:IDOBluetoothBaseModel
|
324
|
+
|
325
|
+
/**
|
326
|
+
睡眠开关 | Sleep switch
|
327
|
+
*/
|
328
|
+
@property (nonatomic,assign) BOOL OnOff;
|
329
|
+
|
330
|
+
/**
|
331
|
+
开始 (时) | Start (hours)
|
332
|
+
*/
|
333
|
+
@property (nonatomic,assign) NSInteger startHour;
|
334
|
+
|
335
|
+
/**
|
336
|
+
开始 (分) | Start (minutes)
|
337
|
+
*/
|
338
|
+
@property (nonatomic,assign) NSInteger startMinute;
|
339
|
+
|
340
|
+
/**
|
341
|
+
结束 (时) | End (hours)
|
342
|
+
*/
|
343
|
+
@property (nonatomic,assign) NSInteger endHour;
|
344
|
+
|
345
|
+
/**
|
346
|
+
结束 (分) | End (minutes)
|
347
|
+
*/
|
348
|
+
@property (nonatomic,assign) NSInteger endMinute;
|
349
|
+
|
350
|
+
/**
|
351
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象 | Query the database, if the query does not initialize a new model object
|
352
|
+
* @return IDOSetSleepPeriodInfoBluetoothModel
|
353
|
+
*/
|
354
|
+
+ (__kindof IDOSetSleepPeriodInfoBluetoothModel *)currentModel;
|
355
|
+
@end
|
356
|
+
|
357
|
+
#pragma mark ==== 设置血压测量指令model ====
|
358
|
+
@interface IDOSetBpMeasureInfoBluetoothModel:IDOBluetoothBaseModel
|
359
|
+
|
360
|
+
/**
|
361
|
+
* 参数标志 0x01:开始测量,0x02:结束测量,0x03:获得血压数据
|
362
|
+
* Parameter flag 0x01: Start measurement, 0x02: End measurement, 0x03: Obtain blood pressure data
|
363
|
+
*/
|
364
|
+
@property (nonatomic,assign) NSInteger flag;
|
365
|
+
|
366
|
+
/**
|
367
|
+
* 返回状态 0x00:不支持,0x01:正在测量,0x02:测量成功 0x03:测量失败 0x04:设备正在运动模式
|
368
|
+
* Return status 0x00: Not supported, 0x01: Positive measurement, 0x02: Measurement success 0x03: Measurement failure 0x04: Device is in motion mode
|
369
|
+
*/
|
370
|
+
@property (nonatomic,assign) NSInteger status;
|
371
|
+
|
372
|
+
/**
|
373
|
+
高压(收缩压) | High pressure (systolic pressure)
|
374
|
+
*/
|
375
|
+
@property (nonatomic,assign) NSInteger systolicBp;
|
376
|
+
|
377
|
+
/**
|
378
|
+
低压(舒张压) | Low pressure (diastolic pressure)
|
379
|
+
*/
|
380
|
+
@property (nonatomic,assign) NSInteger diastolicBp;
|
381
|
+
|
382
|
+
/**
|
383
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
384
|
+
* Query the database, if the query does not initialize a new model object
|
385
|
+
* @return IDOSetBpMeasureInfoBluetoothModel
|
386
|
+
*/
|
387
|
+
+ (__kindof IDOSetBpMeasureInfoBluetoothModel *)currentModel;
|
388
|
+
@end
|
389
|
+
|
390
|
+
#pragma mark ==== 设置表盘参数model ====
|
391
|
+
@interface IDOSetWatchDiaInfoBluetoothModel:IDOBluetoothBaseModel
|
392
|
+
|
393
|
+
/**
|
394
|
+
表盘ID | Dial ID
|
395
|
+
*/
|
396
|
+
@property (nonatomic,assign) NSInteger dialId;
|
397
|
+
|
398
|
+
/**
|
399
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
400
|
+
* Query the database, if the query does not initialize a new model object
|
401
|
+
* @return IDOSetWatchDiaInfoBluetoothModel
|
402
|
+
*/
|
403
|
+
+ (__kindof IDOSetWatchDiaInfoBluetoothModel *)currentModel;
|
404
|
+
@end
|
405
|
+
|
406
|
+
#pragma mark ==== 设置马达参数model ====
|
407
|
+
@interface IDOSetStartMotorInfoBluetoothModel:IDOBluetoothBaseModel
|
408
|
+
|
409
|
+
/**
|
410
|
+
马达状态 | Motor status
|
411
|
+
*/
|
412
|
+
@property (nonatomic,assign) NSInteger status;
|
413
|
+
|
414
|
+
/**
|
415
|
+
马达超时时长 | Motor timeout duration
|
416
|
+
*/
|
417
|
+
@property (nonatomic,assign) NSInteger timeout;
|
418
|
+
|
419
|
+
/**
|
420
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
421
|
+
* Query the database, if the query does not initialize a new model object
|
422
|
+
* @return IDOSetStartMotorInfoBluetoothModel
|
423
|
+
*/
|
424
|
+
+ (__kindof IDOSetStartMotorInfoBluetoothModel *)currentModel;
|
425
|
+
@end
|
426
|
+
|
427
|
+
#pragma mark ==== 设置传感器实时数据model ====
|
428
|
+
@interface IDOSetRealTimeSensorDataInfoBluetoothModel:IDOBluetoothBaseModel
|
429
|
+
|
430
|
+
/**
|
431
|
+
未知传感器状态 | Unknown sensor status
|
432
|
+
*/
|
433
|
+
@property (nonatomic,assign) NSInteger gsensorStatus;
|
434
|
+
|
435
|
+
/**
|
436
|
+
心率传感器状态 | Heart Rate Sensor Status
|
437
|
+
*/
|
438
|
+
@property (nonatomic,assign) NSInteger heartRateSensorStatus;
|
439
|
+
|
440
|
+
/**
|
441
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
442
|
+
* Query the database, if the query does not initialize a new model object
|
443
|
+
* @return IDOSetRealTimeSensorDataInfoBluetoothModel
|
444
|
+
*/
|
445
|
+
+ (__kindof IDOSetRealTimeSensorDataInfoBluetoothModel *)currentModel;
|
446
|
+
@end
|
447
|
+
|
448
|
+
#pragma mark ==== 设置连接参数信息model ====
|
449
|
+
@interface IDOSetConnParamInfoBluetoothModel:IDOBluetoothBaseModel
|
450
|
+
|
451
|
+
/**
|
452
|
+
连接模式 | Connection mode
|
453
|
+
*/
|
454
|
+
@property (nonatomic,assign) NSInteger mode;
|
455
|
+
|
456
|
+
/**
|
457
|
+
修改快速模式连接间隔 | Modify Quick Mode Connection Interval
|
458
|
+
*/
|
459
|
+
@property (nonatomic,assign) NSInteger modifConnParam;
|
460
|
+
|
461
|
+
/**
|
462
|
+
最大间隔 | Maximum interval
|
463
|
+
*/
|
464
|
+
@property (nonatomic,assign) NSInteger maxInterval;
|
465
|
+
|
466
|
+
/**
|
467
|
+
最小间隔 | Minimum interval
|
468
|
+
*/
|
469
|
+
@property (nonatomic,assign) NSInteger minInterval;
|
470
|
+
|
471
|
+
/**
|
472
|
+
延迟 | Delay
|
473
|
+
*/
|
474
|
+
@property (nonatomic,assign) NSInteger slaveLatency;
|
475
|
+
|
476
|
+
/**
|
477
|
+
连接超时 | Connection timeout
|
478
|
+
*/
|
479
|
+
@property (nonatomic,assign) NSInteger connTimeout;
|
480
|
+
|
481
|
+
/**
|
482
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
483
|
+
* Query the database, if the query does not initialize a new model object
|
484
|
+
* @return IDOSetConnParamInfoBluetoothModel
|
485
|
+
*/
|
486
|
+
+ (__kindof IDOSetConnParamInfoBluetoothModel *)currentModel;
|
487
|
+
@end
|
488
|
+
|
489
|
+
#pragma mark ==== 设置GPS控制信息model ====
|
490
|
+
@interface IDOSetGpsControlInfoBluetoothModel:IDOBluetoothBaseModel
|
491
|
+
|
492
|
+
/**
|
493
|
+
1: 控制 , 2: 查询 | 1: Control, 2: Query
|
494
|
+
*/
|
495
|
+
@property (nonatomic,assign) NSInteger operate;
|
496
|
+
|
497
|
+
/**
|
498
|
+
* 0x01 开启log,0x02 关闭log,0x03 agps写入,0x04 agps 擦除,0x05 gps_fw 写入
|
499
|
+
* 0x01 turns on log, 0x02 turns off log, 0x03 agps writes, 0x04 agps erases, 0x05 gps_fw writes
|
500
|
+
*/
|
501
|
+
@property (nonatomic,assign) NSInteger type;
|
502
|
+
|
503
|
+
/**
|
504
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
505
|
+
* Query the database, if the query does not initialize a new model object
|
506
|
+
* @return IDOSetGpsControlInfoBluetoothModel
|
507
|
+
*/
|
508
|
+
+ (__kindof IDOSetGpsControlInfoBluetoothModel *)currentModel;
|
509
|
+
@end
|
510
|
+
|
511
|
+
#pragma mark ==== 设置GPS信息model ====
|
512
|
+
@interface IDOSetGpsConfigInfoBluetoothModel:IDOBluetoothBaseModel
|
513
|
+
|
514
|
+
/**
|
515
|
+
0x01 冷启动,0x02 热启动 默认2 | 0x01 Cold Start, 0x02 Hot Start Default 2
|
516
|
+
*/
|
517
|
+
@property (nonatomic,assign) NSInteger startMode;
|
518
|
+
|
519
|
+
/**
|
520
|
+
* 操作模式,1为正常;2为低功耗;4为Balance,5为1PPS 默认1
|
521
|
+
* Operation mode, 1 is normal; 2 is low power consumption; 4 is Balance, 5 is 1PPS default 1
|
522
|
+
*/
|
523
|
+
@property (nonatomic,assign) NSInteger gsopOperationMode;
|
524
|
+
|
525
|
+
/**
|
526
|
+
定位周期,默认1000 1s | Positioning period, default 1000 1s
|
527
|
+
*/
|
528
|
+
@property (nonatomic,assign) NSInteger gsopCycleMs;
|
529
|
+
|
530
|
+
/**
|
531
|
+
* 定位星mode,1为GPS,2为GLONASS,3为1为GPS + GLONASS 默认1
|
532
|
+
* Positioning star mode, 1 is GPS, 2 is GLONASS, 3 is 1 for GPS + GLONASS Default 1
|
533
|
+
*/
|
534
|
+
@property (nonatomic,assign) NSInteger gnsValue;
|
535
|
+
|
536
|
+
/**
|
537
|
+
年 | year
|
538
|
+
*/
|
539
|
+
@property (nonatomic,assign) NSInteger year;
|
540
|
+
|
541
|
+
/**
|
542
|
+
月 | Month
|
543
|
+
*/
|
544
|
+
@property (nonatomic,assign) NSInteger month;
|
545
|
+
|
546
|
+
/**
|
547
|
+
日 | day
|
548
|
+
*/
|
549
|
+
@property (nonatomic,assign) NSInteger day;
|
550
|
+
|
551
|
+
/**
|
552
|
+
时 | hour
|
553
|
+
*/
|
554
|
+
@property (nonatomic,assign) NSInteger hour;
|
555
|
+
|
556
|
+
/**
|
557
|
+
分 | minute
|
558
|
+
*/
|
559
|
+
@property (nonatomic,assign) NSInteger minute;
|
560
|
+
|
561
|
+
/**
|
562
|
+
秒 | seconds
|
563
|
+
*/
|
564
|
+
@property (nonatomic,assign) NSInteger second;
|
565
|
+
|
566
|
+
/**
|
567
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
568
|
+
* Query the database, if the query does not initialize a new model object
|
569
|
+
* @return IDOSetGpsConfigInfoBluetoothModel
|
570
|
+
*/
|
571
|
+
+ (__kindof IDOSetGpsConfigInfoBluetoothModel *)currentModel;
|
572
|
+
@end
|
573
|
+
|
574
|
+
#pragma mark ==== 设置屏幕亮度model ====
|
575
|
+
@interface IDOSetScreenBrightnessInfoBluetoothModel:IDOBluetoothBaseModel
|
576
|
+
/**
|
577
|
+
屏幕亮度级别 (1-100) | Screen brightness level (1-100)
|
578
|
+
*/
|
579
|
+
@property (nonatomic,assign) NSInteger levelValue;
|
580
|
+
/**
|
581
|
+
是否用户调节 | is manual
|
582
|
+
*/
|
583
|
+
@property (nonatomic,assign) BOOL isManual;
|
584
|
+
/**
|
585
|
+
* 0x00关闭自动调整,0x01 使用环境光传感器,0x02,夜间自动调整亮度,0x03 夜间降亮度使用设置的时间
|
586
|
+
* 0x00 turns off automatic adjustment,0x01 USES ambient light sensor,
|
587
|
+
* 0x02, automatic adjustment of brightness at night,0x03 set time for reducing brightness at night
|
588
|
+
*/
|
589
|
+
@property (nonatomic,assign) NSInteger mode;
|
590
|
+
/**
|
591
|
+
* 夜间自动亮度调整 0x00,无效,由固件定义,0x01关闭,0x02,夜间自动调整亮度,0x03 夜间降亮度使用设置的时间
|
592
|
+
* Automatic overnight brightness adjustment 0x00, invalid, as defined by firmware,0x01 is off,0x02,
|
593
|
+
* automatic night brightness adjustment,0x03 night brightness reduction USES the set time
|
594
|
+
*/
|
595
|
+
@property (nonatomic,assign) NSInteger autoAdjustNight;
|
596
|
+
/**
|
597
|
+
开始 时钟 | start hour
|
598
|
+
*/
|
599
|
+
@property (nonatomic,assign) NSInteger startHour;
|
600
|
+
/**
|
601
|
+
开始 分钟 | start minute
|
602
|
+
*/
|
603
|
+
@property (nonatomic,assign) NSInteger startMinute;
|
604
|
+
/**
|
605
|
+
结束 时钟 | end hour
|
606
|
+
*/
|
607
|
+
@property (nonatomic,assign) NSInteger endHour;
|
608
|
+
/**
|
609
|
+
结束 分钟 | end minute
|
610
|
+
*/
|
611
|
+
@property (nonatomic,assign) NSInteger endMinute;
|
612
|
+
/**
|
613
|
+
夜间亮度 (realme项目) | night level
|
614
|
+
*/
|
615
|
+
@property (nonatomic,assign) NSInteger nightLevel;
|
616
|
+
|
617
|
+
/**
|
618
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
619
|
+
* Query the database, if the query does not initialize a new model object
|
620
|
+
* @return IDOSetScreenBrightnessInfoBluetoothModel
|
621
|
+
*/
|
622
|
+
+ (__kindof IDOSetScreenBrightnessInfoBluetoothModel *)currentModel;
|
623
|
+
@end
|
624
|
+
|
625
|
+
#pragma mark ==== 设置天气数据model ====
|
626
|
+
@interface IDOSetWeatherDataInfoBluetoothModel:IDOBluetoothBaseModel
|
627
|
+
|
628
|
+
/**
|
629
|
+
* 天气预报更新的时间戳 time interval since 1970 (如:1444361933)
|
630
|
+
* Time stamp of weather forecast update time interval since 1970 (eg 14442361933)
|
631
|
+
*/
|
632
|
+
@property (nonatomic,copy) NSString * timeStr;
|
633
|
+
|
634
|
+
/**
|
635
|
+
今天平均温度 | Average temperature today
|
636
|
+
*/
|
637
|
+
@property (nonatomic,assign) NSInteger todayTemp;
|
638
|
+
|
639
|
+
/**
|
640
|
+
* 天气类型 | Weather type
|
641
|
+
* 天气情况(0:其他, 1:晴, 2:多云, 3:阴,4:雨,5:暴雨,
|
642
|
+
* 6:雷阵雨, 7:雪, 8:雨夹雪,9:台风, 10:沙尘暴, 11:夜 间晴,
|
643
|
+
* 12:夜间多云, 13:热, 14:冷, 15:清风, 16:大风, 17:雾霭,18:阵雨, 19:多云转晴)
|
644
|
+
* weather conditions (0: others, 1: sunny, 2: cloudy, 3: cloudy, 4: rain, 5: rainstorm,
|
645
|
+
* 6: thunderstorm, 7: snow, 8: sleet, 9: typhoon, 10: sandstorm, 11: night clear,
|
646
|
+
* 12: cloudy night, 13: hot, 14: cold, 15: breezy, 16: blustery, 17: mist, 18: showers, 19: cloudy to clear)
|
647
|
+
*/
|
648
|
+
@property (nonatomic,assign) NSInteger todayType;
|
649
|
+
|
650
|
+
/**
|
651
|
+
今天最高温度 | Today's highest temperature
|
652
|
+
*/
|
653
|
+
@property (nonatomic,assign) NSInteger todayMaxTemp;
|
654
|
+
|
655
|
+
/**
|
656
|
+
今天最小温度 | Today's minimum temperature
|
657
|
+
*/
|
658
|
+
@property (nonatomic,assign) NSInteger todayMinTemp;
|
659
|
+
|
660
|
+
/**
|
661
|
+
湿度 | Humidity
|
662
|
+
*/
|
663
|
+
@property (nonatomic,assign) NSInteger humidity;
|
664
|
+
|
665
|
+
/**
|
666
|
+
紫外线强度 | UV intensity
|
667
|
+
*/
|
668
|
+
@property (nonatomic,assign) NSInteger todayUvIntensity;
|
669
|
+
|
670
|
+
/**
|
671
|
+
空气污染指数 | Air Pollution Index
|
672
|
+
*/
|
673
|
+
@property (nonatomic,assign) NSInteger todayAqi;
|
674
|
+
|
675
|
+
/**
|
676
|
+
* 后三天天的天气集合 @{@"type":@(0),@"maxTemp":@(0),@"minTemp":@(0)}
|
677
|
+
* Weather collection for the last three days @{@"type":@(0),@"maxTemp":@(0),@"minTemp":@(0)}
|
678
|
+
*/
|
679
|
+
@property (nonatomic,strong) NSArray<NSDictionary*>* future;
|
680
|
+
|
681
|
+
/**
|
682
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
683
|
+
* Query the database, if the query does not initialize a new model object
|
684
|
+
* @return IDOSetWeatherDataInfoBluetoothModel
|
685
|
+
*/
|
686
|
+
+ (__kindof IDOSetWeatherDataInfoBluetoothModel *)currentModel;
|
687
|
+
@end
|
688
|
+
|
689
|
+
#pragma mark ==== 设置运动快捷模式排序model ====
|
690
|
+
|
691
|
+
@interface IDOSetSportSortingItemModel:NSObject
|
692
|
+
|
693
|
+
/**
|
694
|
+
* 排序索引 index //排序,从1、2、3、4....,0:无效
|
695
|
+
* Sort index // sort from 1, 2, 3, 4... , 0: invalid
|
696
|
+
*/
|
697
|
+
@property (nonatomic,assign) NSInteger index;
|
698
|
+
|
699
|
+
/**
|
700
|
+
* 运动模式 | Sport mode
|
701
|
+
* 0:无,1:走路,2:跑步,3:骑行,4:徒步,5:游泳,6:爬山,7:羽毛球,8:其他,
|
702
|
+
* 9:健身,10:动感单车,11:椭圆机,12:跑步机,13:仰卧起坐,14:俯卧撑,15:哑铃,16:举重,
|
703
|
+
* 17:健身操,18:瑜伽,19:跳绳,20:乒乓球,21:篮球,22:足球 ,23:排球,24:网球,
|
704
|
+
* 25:高尔夫球,26:棒球,27:滑雪,28:轮滑,29:跳舞,48:户外跑步,49:室内跑步,50:户外骑行,51:室内骑行,
|
705
|
+
* 52:户外走路,53:室内走路,54:泳池游泳,55:开放水域游泳,56:椭圆机,57:划船机,58:高强度间歇训练法,59:板球运动
|
706
|
+
* 0: none, 1: walk, 2: run, 3: ride, 4: hike, 5: swim, 6: climb, 7: badminton, 8: others,
|
707
|
+
* 9: fitness, 10: spinning, 11: elliptical, 12: treadmill, 13: sit-ups, 14: push-ups, 15: dumbbells, 16: weightlifting,
|
708
|
+
* 17: aerobics, 18: yoga, 19: jump rope, 20: table tennis, 21: basketball, 22: football, 23: volleyball, 24: tennis,
|
709
|
+
* 25: golf, 26: baseball, 27: skiing, 28: roller skating, 29: dancing,48: outdoor running, 49: indoor running, 50: outdoor cycling, 51: indoor cycling,
|
710
|
+
* 52: outdoor walking, 53: indoor walking, 54: pool swimming, 55: open water swimming, 56: elliptical machine, 57: rowing machine, 58: high-intensity interval training
|
711
|
+
* 59:cricket
|
712
|
+
*/
|
713
|
+
@property (nonatomic,assign) NSInteger type;
|
714
|
+
|
715
|
+
@end
|
716
|
+
|
717
|
+
@interface IDOSetSportSortingInfoBluetoothModel:IDOBluetoothBaseModel
|
718
|
+
|
719
|
+
/**
|
720
|
+
运动模式排序集合最多8个 | Sports mode sort set up to 8
|
721
|
+
*/
|
722
|
+
@property (nonatomic,strong)NSArray <IDOSetSportSortingItemModel *>* sportSortingItems;
|
723
|
+
|
724
|
+
/**
|
725
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
726
|
+
* Query the database, if the query does not initialize a new model object
|
727
|
+
* @return IDOSetSportSortingInfoBluetoothModel
|
728
|
+
*/
|
729
|
+
+ (__kindof IDOSetSportSortingInfoBluetoothModel *)currentModel;
|
730
|
+
|
731
|
+
@end
|
732
|
+
|
733
|
+
#pragma mark ==== 设置运动快捷模式model ====
|
734
|
+
|
735
|
+
@interface IDOSetSportShortcutInfoBluetoothModel:IDOBluetoothBaseModel
|
736
|
+
|
737
|
+
/**
|
738
|
+
走路 | Walking
|
739
|
+
*/
|
740
|
+
@property (nonatomic,assign) BOOL isWalk;
|
741
|
+
|
742
|
+
/**
|
743
|
+
跑步 | Running
|
744
|
+
*/
|
745
|
+
@property (nonatomic,assign) BOOL isRun;
|
746
|
+
|
747
|
+
/**
|
748
|
+
骑自行车 | Cycling
|
749
|
+
*/
|
750
|
+
@property (nonatomic,assign) BOOL isByBike;
|
751
|
+
|
752
|
+
/**
|
753
|
+
步行 | Walking
|
754
|
+
*/
|
755
|
+
@property (nonatomic,assign) BOOL isOnFoot;
|
756
|
+
|
757
|
+
/**
|
758
|
+
游泳 | Swimming
|
759
|
+
*/
|
760
|
+
@property (nonatomic,assign) BOOL isSwim;
|
761
|
+
|
762
|
+
/**
|
763
|
+
爬山 | Mountain climbing
|
764
|
+
*/
|
765
|
+
@property (nonatomic,assign) BOOL isMountainClimbing;
|
766
|
+
|
767
|
+
/**
|
768
|
+
羽毛球 | Badminton
|
769
|
+
*/
|
770
|
+
@property (nonatomic,assign) BOOL isBadminton;
|
771
|
+
|
772
|
+
/**
|
773
|
+
其他 | Other
|
774
|
+
*/
|
775
|
+
@property (nonatomic,assign) BOOL isOther;
|
776
|
+
|
777
|
+
/**
|
778
|
+
健身 | Fitness
|
779
|
+
*/
|
780
|
+
@property (nonatomic,assign) BOOL isFitness;
|
781
|
+
|
782
|
+
/**
|
783
|
+
动感单车 | Spinning bike
|
784
|
+
*/
|
785
|
+
@property (nonatomic,assign) BOOL isSpinning;
|
786
|
+
|
787
|
+
/**
|
788
|
+
橄榄球 | Rugby
|
789
|
+
*/
|
790
|
+
@property (nonatomic,assign) BOOL isEllipsoid;
|
791
|
+
|
792
|
+
/**
|
793
|
+
跑步机 | Treadmill
|
794
|
+
*/
|
795
|
+
@property (nonatomic,assign) BOOL isTreadmill;
|
796
|
+
|
797
|
+
/**
|
798
|
+
仰卧起坐 | Sit ups
|
799
|
+
*/
|
800
|
+
@property (nonatomic,assign) BOOL isSitUp;
|
801
|
+
|
802
|
+
/**
|
803
|
+
俯卧撑 | Push-ups
|
804
|
+
*/
|
805
|
+
@property (nonatomic,assign) BOOL isPushUp;
|
806
|
+
|
807
|
+
/**
|
808
|
+
哑铃 | Dumbbell
|
809
|
+
*/
|
810
|
+
@property (nonatomic,assign) BOOL isDumbbell;
|
811
|
+
|
812
|
+
/**
|
813
|
+
举重 | Weightlifting
|
814
|
+
*/
|
815
|
+
@property (nonatomic,assign) BOOL isWeightlifting;
|
816
|
+
|
817
|
+
/**
|
818
|
+
体操 | Gymnastics
|
819
|
+
*/
|
820
|
+
@property (nonatomic,assign) BOOL isBodybuildingExercise;
|
821
|
+
|
822
|
+
/**
|
823
|
+
瑜伽 | Yoga
|
824
|
+
*/
|
825
|
+
@property (nonatomic,assign) BOOL isYoga;
|
826
|
+
|
827
|
+
/**
|
828
|
+
跳绳 | Jumping rope
|
829
|
+
*/
|
830
|
+
@property (nonatomic,assign) BOOL isRopeSkipping;
|
831
|
+
|
832
|
+
/**
|
833
|
+
乒乓球 | Table tennis
|
834
|
+
*/
|
835
|
+
@property (nonatomic,assign) BOOL isTableTennis;
|
836
|
+
|
837
|
+
/**
|
838
|
+
篮球 | Basketball
|
839
|
+
*/
|
840
|
+
@property (nonatomic,assign) BOOL isBasketball;
|
841
|
+
|
842
|
+
/**
|
843
|
+
足球 | Football
|
844
|
+
*/
|
845
|
+
@property (nonatomic,assign) BOOL isFootball;
|
846
|
+
|
847
|
+
/**
|
848
|
+
排球 | Volleyball
|
849
|
+
*/
|
850
|
+
@property (nonatomic,assign) BOOL isVolleyball;
|
851
|
+
|
852
|
+
/**
|
853
|
+
网球 | Tennis
|
854
|
+
*/
|
855
|
+
@property (nonatomic,assign) BOOL isTennis;
|
856
|
+
|
857
|
+
/**
|
858
|
+
高尔夫 | Golf
|
859
|
+
*/
|
860
|
+
@property (nonatomic,assign) BOOL isGolf;
|
861
|
+
|
862
|
+
/**
|
863
|
+
棒球 | Baseball
|
864
|
+
*/
|
865
|
+
@property (nonatomic,assign) BOOL isBaseball;
|
866
|
+
|
867
|
+
/**
|
868
|
+
滑雪 | Skiing
|
869
|
+
*/
|
870
|
+
@property (nonatomic,assign) BOOL isSkiing;
|
871
|
+
|
872
|
+
/**
|
873
|
+
滑旱冰 | Roller Skating
|
874
|
+
*/
|
875
|
+
@property (nonatomic,assign) BOOL isRollerSkating;
|
876
|
+
|
877
|
+
/**
|
878
|
+
跳舞 | Dancing
|
879
|
+
*/
|
880
|
+
@property (nonatomic,assign) BOOL isDance;
|
881
|
+
|
882
|
+
/**
|
883
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
884
|
+
* Query the database, if the query does not initialize a new model object
|
885
|
+
* @return IDOSetSportShortcutInfoBluetoothModel
|
886
|
+
*/
|
887
|
+
+ (__kindof IDOSetSportShortcutInfoBluetoothModel *)currentModel;
|
888
|
+
@end
|
889
|
+
|
890
|
+
#pragma mark ==== 设置血压校准model ====
|
891
|
+
@interface IDOSetBloodPressureInfoBluetoothModel:IDOBluetoothBaseModel
|
892
|
+
|
893
|
+
/**
|
894
|
+
舒张压 | Diastolic blood pressure
|
895
|
+
*/
|
896
|
+
@property (nonatomic,assign) NSInteger diastolic;
|
897
|
+
|
898
|
+
/**
|
899
|
+
收缩压 | Systolic pressure
|
900
|
+
*/
|
901
|
+
@property (nonatomic,assign) NSInteger shrinkage;
|
902
|
+
|
903
|
+
/**
|
904
|
+
* 返回校准状态 0x01.成功进入校准模式,正在校准 0x02.在运动模式, 0x03.设备忙碌 0x04.无效的状态 0x06.校准失败 0x00.校准成功
|
905
|
+
* Return to calibration status: 0x01. Successfully entered calibration mode, calibration;
|
906
|
+
* 0x02. In motion mode; 0x03. Device busy; 0x04. Invalid status; 0x06. Calibration failed; 0x00. Calibration successful
|
907
|
+
*/
|
908
|
+
@property (nonatomic,assign) NSInteger statusCode;
|
909
|
+
|
910
|
+
/**
|
911
|
+
* 血压校准控制 0x01 血压校准开始 0x02 血压校准查询
|
912
|
+
* Blood Pressure Calibration Control 0x01 Blood Pressure Calibration Start 0x02 Blood Pressure Calibration Query
|
913
|
+
*/
|
914
|
+
@property (nonatomic,assign) NSInteger flag;
|
915
|
+
|
916
|
+
/**
|
917
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
918
|
+
* Query the database, if the query does not initialize a new model object
|
919
|
+
* @return IDOSetBloodPressureInfoBluetoothModel
|
920
|
+
*/
|
921
|
+
+ (__kindof IDOSetBloodPressureInfoBluetoothModel *)currentModel;
|
922
|
+
@end
|
923
|
+
|
924
|
+
#pragma mark ==== 设置快捷方式model ====
|
925
|
+
@interface IDOSetShortcutInfoBluetoothModel:IDOBluetoothBaseModel
|
926
|
+
|
927
|
+
/**
|
928
|
+
快捷方式类型 | Shortcut Type
|
929
|
+
*/
|
930
|
+
@property (nonatomic,assign) NSInteger shortcutType;
|
931
|
+
|
932
|
+
/**
|
933
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
934
|
+
* Query the database, if the query does not initialize a new model object
|
935
|
+
* @return IDOSetShortcutInfoBluetoothModel
|
936
|
+
*/
|
937
|
+
+ (__kindof IDOSetShortcutInfoBluetoothModel *)currentModel;
|
938
|
+
@end
|
939
|
+
|
940
|
+
#pragma mark ==== 设置闹钟model ====
|
941
|
+
@interface IDOSetAlarmInfoBluetoothModel:IDOBluetoothBaseModel
|
942
|
+
|
943
|
+
/**
|
944
|
+
开关 | Switch
|
945
|
+
*/
|
946
|
+
@property (nonatomic,assign) BOOL isOpen;
|
947
|
+
|
948
|
+
/**
|
949
|
+
是否同步 | Synchronization
|
950
|
+
*/
|
951
|
+
@property (nonatomic,assign) BOOL isSync;
|
952
|
+
|
953
|
+
/**
|
954
|
+
是否删除 | Delete
|
955
|
+
*/
|
956
|
+
@property (nonatomic,assign) BOOL isDelete;
|
957
|
+
|
958
|
+
/**
|
959
|
+
类型 | Type
|
960
|
+
*/
|
961
|
+
@property (nonatomic,assign) NSInteger type;
|
962
|
+
|
963
|
+
/**
|
964
|
+
时 | hour
|
965
|
+
*/
|
966
|
+
@property (nonatomic,assign) NSInteger hour;
|
967
|
+
|
968
|
+
/**
|
969
|
+
分 | minute
|
970
|
+
*/
|
971
|
+
@property (nonatomic,assign) NSInteger minute;
|
972
|
+
|
973
|
+
/**
|
974
|
+
* 重复集合 [星期一、星期二、星期三、星期四、星期五、星期六、星期日]
|
975
|
+
* Repeat collection [monday,tuesday,wednesday,thursday,friday,saturday,sunday]
|
976
|
+
*/
|
977
|
+
@property (nonatomic,strong)NSArray<NSNumber *> * repeat;
|
978
|
+
|
979
|
+
/**
|
980
|
+
贪睡时长 | Sleepy time
|
981
|
+
*/
|
982
|
+
@property (nonatomic,assign) NSInteger tsnoozeDuration;
|
983
|
+
|
984
|
+
/**
|
985
|
+
闹钟ID | Alarm ID
|
986
|
+
*/
|
987
|
+
@property (nonatomic,assign) NSInteger alarmId;
|
988
|
+
|
989
|
+
/**
|
990
|
+
* @brief 初始化闹钟集合 | Initialize the alarm collection
|
991
|
+
* @return 闹钟集合 | Alarm clock collection
|
992
|
+
*/
|
993
|
+
+ (NSArray <IDOSetAlarmInfoBluetoothModel *>*)queryAllAlarms;
|
994
|
+
|
995
|
+
/**
|
996
|
+
* @brief 查询没有被开启的闹钟集合 | Querying an alarm set that is not turned on
|
997
|
+
* @return 闹钟集合 | Alarm clock collection
|
998
|
+
*/
|
999
|
+
+ (NSArray <IDOSetAlarmInfoBluetoothModel *>*)queryAllNoOpenAlarms;
|
1000
|
+
|
1001
|
+
@end
|
1002
|
+
|
1003
|
+
#pragma mark ==== 设置时间model ====
|
1004
|
+
@interface IDOSetTimeInfoBluetoothModel:IDOBluetoothBaseModel
|
1005
|
+
|
1006
|
+
/**
|
1007
|
+
年 | year
|
1008
|
+
*/
|
1009
|
+
@property (nonatomic,assign) NSInteger year;
|
1010
|
+
|
1011
|
+
/**
|
1012
|
+
月 | Month
|
1013
|
+
*/
|
1014
|
+
@property (nonatomic,assign) NSInteger month;
|
1015
|
+
|
1016
|
+
/**
|
1017
|
+
日 | day
|
1018
|
+
*/
|
1019
|
+
@property (nonatomic,assign) NSInteger day;
|
1020
|
+
|
1021
|
+
/**
|
1022
|
+
时 | hour
|
1023
|
+
*/
|
1024
|
+
@property (nonatomic,assign) NSInteger hour;
|
1025
|
+
|
1026
|
+
/**
|
1027
|
+
分 | minute
|
1028
|
+
*/
|
1029
|
+
@property (nonatomic,assign) NSInteger minute;
|
1030
|
+
|
1031
|
+
/**
|
1032
|
+
秒 | seconds
|
1033
|
+
*/
|
1034
|
+
@property (nonatomic,assign) NSInteger second;
|
1035
|
+
|
1036
|
+
/**
|
1037
|
+
星期 | week
|
1038
|
+
*/
|
1039
|
+
@property (nonatomic,assign) NSInteger weekDay;
|
1040
|
+
|
1041
|
+
/**
|
1042
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1043
|
+
* Query the database, if the query does not initialize a new model object
|
1044
|
+
* @return IDOSetTimeInfoBluetoothModel
|
1045
|
+
*/
|
1046
|
+
+ (__kindof IDOSetTimeInfoBluetoothModel *)currentModel;
|
1047
|
+
@end
|
1048
|
+
|
1049
|
+
#pragma mark ==== 设置单位model ====
|
1050
|
+
@interface IDOSetUnitInfoBluetoothModel:IDOBluetoothBaseModel
|
1051
|
+
|
1052
|
+
/**
|
1053
|
+
距离单位 0x00:无效, 0x01:km,0x02:mi | Distance unit 0x00: Invalid, 0x01:km, 0x02:mi
|
1054
|
+
*/
|
1055
|
+
@property (nonatomic,assign) NSInteger distanceUnit;
|
1056
|
+
|
1057
|
+
/**
|
1058
|
+
重量单位 0x00: 无效,0x01:kg, 0x02:lb, 0x03: 英石 | Weight Unit 0x00: Invalid, 0x01:kg, 0x02:lb, 0x03: Stone
|
1059
|
+
*/
|
1060
|
+
@property (nonatomic,assign) NSInteger weightUnit;
|
1061
|
+
|
1062
|
+
/**
|
1063
|
+
温度单位 0x00:无效, 0x01:°C, 0x02:°F | Temperature unit 0x00: Invalid, 0x01: °C, 0x02: °F
|
1064
|
+
*/
|
1065
|
+
@property (nonatomic,assign) NSInteger tempUnit;
|
1066
|
+
|
1067
|
+
/**
|
1068
|
+
* 语言单位 无效:0,中文:1,英文:2,法语:3,德语:4,意大利语:5,西班牙语:6,日语:7,
|
1069
|
+
* 波兰语:8,捷克语:9,罗马尼亚:10,立陶宛语:11,荷兰语:12,斯洛文尼亚:13,
|
1070
|
+
* 匈牙利语:14,俄罗斯语:15,乌克兰语:16,斯洛伐克语:17,丹麦语:18,克罗地亚:19,印尼语:20,
|
1071
|
+
* 韩语:21,印地语:22,葡萄牙语:23,土耳其:24,泰国语:25,越南语:26,缅甸语:27,菲律宾语:28
|
1072
|
+
* Language unit Invalid: 0, Chinese: 1, English: 2, French: 3, German: 4, Italian: 5, Spanish: 6, Japanese: 7,
|
1073
|
+
* Polish: 8, Czech: 9, Romania: 10, Lithuanian: 11, Dutch: 12, Slovenia: 13,
|
1074
|
+
* Hungarian: 14, Russian: 15, Ukrainian: 16, Slovak: 17, Danish: 18, Croatia: 19,Indonesian: 20,korean:21,hindi:22
|
1075
|
+
* portuguese:23,turkish:24,thai:25,vietnamese:26,burmese:27,filipino:28
|
1076
|
+
*/
|
1077
|
+
@property (nonatomic,assign) NSInteger languageUnit;
|
1078
|
+
|
1079
|
+
/**
|
1080
|
+
* 走路步伐 根据男性换算 默认值 72 (单位 :cm)
|
1081
|
+
* Walking pace According to male conversion Default value 72 (unit: cm)
|
1082
|
+
*/
|
1083
|
+
@property (nonatomic,assign) NSInteger strideWalk;
|
1084
|
+
|
1085
|
+
/**
|
1086
|
+
* 跑步步伐 根据男性换算 默认值 90 (单位 :cm)
|
1087
|
+
* Running pace Converted by male Default 90 (Unit: cm)
|
1088
|
+
*/
|
1089
|
+
@property (nonatomic,assign) NSInteger strideRun;
|
1090
|
+
|
1091
|
+
/**
|
1092
|
+
* gps校准步长 0x00:无效, 0x01:开, 0x02: 关
|
1093
|
+
* gps calibration step size 0x00: invalid, 0x01: on, 0x02: off
|
1094
|
+
*/
|
1095
|
+
@property (nonatomic,assign) NSInteger strideGps;
|
1096
|
+
|
1097
|
+
/**
|
1098
|
+
* 时间单位 0x00:无效, 0x01:24 小时制,0x02: 12 小时制
|
1099
|
+
* Time unit 0x00: Invalid, 0x01: 24-hour clock, 0x02: 12-hour clock
|
1100
|
+
*/
|
1101
|
+
@property (nonatomic,assign) NSInteger timeUnit;
|
1102
|
+
|
1103
|
+
/**
|
1104
|
+
* 星期的开始日 星期日:0x01,星期一 :0x00,星期六 :0x03
|
1105
|
+
* Start of the week Sunday: 0x01, Monday: 0x00, Saturday: 0x03
|
1106
|
+
*/
|
1107
|
+
@property (nonatomic,assign) NSInteger weekStart;
|
1108
|
+
|
1109
|
+
/**
|
1110
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1111
|
+
* Query the database, if the query does not initialize a new model object
|
1112
|
+
* @return IDOSetUnitInfoBluetoothModel
|
1113
|
+
*/
|
1114
|
+
+ (__kindof IDOSetUnitInfoBluetoothModel *)currentModel;
|
1115
|
+
@end
|
1116
|
+
|
1117
|
+
#pragma mark ==== 设置心率区间model ====
|
1118
|
+
@interface IDOSetHrIntervalInfoBluetoothModel:IDOBluetoothBaseModel
|
1119
|
+
|
1120
|
+
/**
|
1121
|
+
燃烧脂肪 | Threshold for burning fat
|
1122
|
+
*/
|
1123
|
+
@property (nonatomic,assign) NSInteger burnFat;
|
1124
|
+
|
1125
|
+
/**
|
1126
|
+
有氧运动 | Aerobic threshold
|
1127
|
+
*/
|
1128
|
+
@property (nonatomic,assign) NSInteger aerobic;
|
1129
|
+
|
1130
|
+
/**
|
1131
|
+
极限运动 | Limit threshold
|
1132
|
+
*/
|
1133
|
+
@property (nonatomic,assign) NSInteger limitValue;
|
1134
|
+
|
1135
|
+
/**
|
1136
|
+
最大心率 | Maximum heart rate
|
1137
|
+
*/
|
1138
|
+
@property (nonatomic,assign) NSInteger userMaxHr;
|
1139
|
+
|
1140
|
+
/**
|
1141
|
+
热身运动 | Warm-up
|
1142
|
+
*/
|
1143
|
+
@property (nonatomic,assign) NSInteger warmUp;
|
1144
|
+
|
1145
|
+
/**
|
1146
|
+
无氧运动 | Anaerobic exercise
|
1147
|
+
*/
|
1148
|
+
@property (nonatomic,assign) NSInteger anaerobic;
|
1149
|
+
|
1150
|
+
/**
|
1151
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1152
|
+
* Query the database, if the query does not initialize a new model object
|
1153
|
+
* @return IDOSetHrIntervalInfoBluetoothModel
|
1154
|
+
*/
|
1155
|
+
+ (__kindof IDOSetHrIntervalInfoBluetoothModel *)currentModel;
|
1156
|
+
@end
|
1157
|
+
|
1158
|
+
#pragma mark ==== 设置勿扰模式model ====
|
1159
|
+
@interface IDOSetNoDisturbModeInfoBluetoothModel:IDOBluetoothBaseModel
|
1160
|
+
|
1161
|
+
/**
|
1162
|
+
开关 | Switch
|
1163
|
+
*/
|
1164
|
+
@property (nonatomic,assign) BOOL isOpen;
|
1165
|
+
|
1166
|
+
/**
|
1167
|
+
开始 (时) | Start (hours)
|
1168
|
+
*/
|
1169
|
+
@property (nonatomic,assign) NSInteger startHour;
|
1170
|
+
|
1171
|
+
/**
|
1172
|
+
开始 (分) | Start (minutes)
|
1173
|
+
*/
|
1174
|
+
@property (nonatomic,assign) NSInteger startMinute;
|
1175
|
+
|
1176
|
+
/**
|
1177
|
+
结束 (时) | End (hours)
|
1178
|
+
*/
|
1179
|
+
@property (nonatomic,assign) NSInteger endHour;
|
1180
|
+
|
1181
|
+
/**
|
1182
|
+
结束 (分) | End (minutes)
|
1183
|
+
*/
|
1184
|
+
@property (nonatomic,assign) NSInteger endMinute;
|
1185
|
+
|
1186
|
+
/**
|
1187
|
+
* 是否有间隔重复提醒
|
1188
|
+
* interval repeat reminder
|
1189
|
+
*/
|
1190
|
+
@property (nonatomic,assign) BOOL isHaveRangRepeat;
|
1191
|
+
|
1192
|
+
/**
|
1193
|
+
* 重复集合 [星期一、星期二、星期三、星期四、星期五、星期六、星期日]
|
1194
|
+
* Repeat collection [monday,tuesday,wednesday,thursday,friday,saturday,sunday]
|
1195
|
+
*/
|
1196
|
+
@property (nonatomic,strong)NSArray<NSNumber *> * repeat;
|
1197
|
+
|
1198
|
+
/**
|
1199
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1200
|
+
* Query the database, if the query does not initialize a new model object
|
1201
|
+
* @return IDOSetNoDisturbModeInfoBluetoothModel
|
1202
|
+
*/
|
1203
|
+
+ (__kindof IDOSetNoDisturbModeInfoBluetoothModel *)currentModel;
|
1204
|
+
@end
|
1205
|
+
|
1206
|
+
#pragma mark ==== 设置心率模式model ====
|
1207
|
+
@interface IDOSetHrModeInfoBluetoothModel:IDOBluetoothBaseModel
|
1208
|
+
|
1209
|
+
/**
|
1210
|
+
* 心率模式 0:关闭心率监测功能 1:手动模式 2:自动模式 3:持续监测(默认:自动模式)
|
1211
|
+
* Heart Rate Mode 0: Turn off heart rate monitoring function 1: Manual mode 2: Auto mode 3:Continuously monitor(Default: Auto mode)
|
1212
|
+
*/
|
1213
|
+
@property (nonatomic,assign) NSInteger modeType;
|
1214
|
+
|
1215
|
+
/**
|
1216
|
+
是否有相隔时间 | Is there a time interval?
|
1217
|
+
*/
|
1218
|
+
@property (nonatomic,assign) BOOL isHasTimeRange;
|
1219
|
+
|
1220
|
+
/**
|
1221
|
+
开始 (时) | Start (hours)
|
1222
|
+
*/
|
1223
|
+
@property (nonatomic,assign) NSInteger startHour;
|
1224
|
+
|
1225
|
+
/**
|
1226
|
+
开始 (分) | Start (minutes)
|
1227
|
+
*/
|
1228
|
+
@property (nonatomic,assign) NSInteger startMinute;
|
1229
|
+
|
1230
|
+
/**
|
1231
|
+
结束 (时) | End (hours)
|
1232
|
+
*/
|
1233
|
+
@property (nonatomic,assign) NSInteger endHour;
|
1234
|
+
|
1235
|
+
/**
|
1236
|
+
结束 (分) | End (minutes)
|
1237
|
+
*/
|
1238
|
+
@property (nonatomic,assign) NSInteger endMinute;
|
1239
|
+
|
1240
|
+
/**
|
1241
|
+
测量间隔,单位分钟 | measurement Interval,unit:minutes
|
1242
|
+
*/
|
1243
|
+
@property (nonatomic,assign) NSInteger measurementInterval;
|
1244
|
+
/**
|
1245
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1246
|
+
* Query the database, if the query does not initialize a new model object
|
1247
|
+
* @return IDOSetHRModeInfoBluetoothModel
|
1248
|
+
*/
|
1249
|
+
+ (__kindof IDOSetHrModeInfoBluetoothModel *)currentModel;
|
1250
|
+
@end
|
1251
|
+
|
1252
|
+
#pragma mark ==== 设置手环横竖屏model ====
|
1253
|
+
@interface IDOSetDisplayModeInfoBluetoothModel:IDOBluetoothBaseModel
|
1254
|
+
|
1255
|
+
/**
|
1256
|
+
显示模式 | Display mode
|
1257
|
+
*/
|
1258
|
+
@property (nonatomic,assign) NSInteger modeType;
|
1259
|
+
|
1260
|
+
/**
|
1261
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1262
|
+
* Query the database, if the query does not initialize a new model object
|
1263
|
+
* @return IDOSetDisplayModeInfoBluetoothModel
|
1264
|
+
*/
|
1265
|
+
+ (__kindof IDOSetDisplayModeInfoBluetoothModel *)currentModel;
|
1266
|
+
@end
|
1267
|
+
|
1268
|
+
#pragma mark ==== 设置抬腕手势model ====
|
1269
|
+
@interface IDOSetHandUpInfoBuletoothModel : IDOBluetoothBaseModel
|
1270
|
+
|
1271
|
+
/**
|
1272
|
+
开关 | Switch
|
1273
|
+
*/
|
1274
|
+
@property (nonatomic,assign) BOOL isOpen;
|
1275
|
+
|
1276
|
+
/**
|
1277
|
+
是否有相隔时间 | Is there a time interval?
|
1278
|
+
*/
|
1279
|
+
@property (nonatomic,assign) BOOL isHasTimeRange;
|
1280
|
+
|
1281
|
+
/**
|
1282
|
+
显示时长 3~10 秒 | Display time 3~10 second
|
1283
|
+
*/
|
1284
|
+
@property (nonatomic,assign) NSInteger showSecond;
|
1285
|
+
|
1286
|
+
/**
|
1287
|
+
开始 (时) | Start (hours)
|
1288
|
+
*/
|
1289
|
+
@property (nonatomic,assign) NSInteger startHour;
|
1290
|
+
|
1291
|
+
/**
|
1292
|
+
开始 (分) | Start (minutes)
|
1293
|
+
*/
|
1294
|
+
@property (nonatomic,assign) NSInteger startMinute;
|
1295
|
+
|
1296
|
+
/**
|
1297
|
+
结束 (时) | End (hours)
|
1298
|
+
*/
|
1299
|
+
@property (nonatomic,assign) NSInteger endHour;
|
1300
|
+
|
1301
|
+
/**
|
1302
|
+
结束 (分) | End (minutes)
|
1303
|
+
*/
|
1304
|
+
@property (nonatomic,assign) NSInteger endMinute;
|
1305
|
+
|
1306
|
+
/**
|
1307
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1308
|
+
* Query the database, if the query does not initialize a new model object
|
1309
|
+
* @return IDOSetHandUpInfoBuletoothModel
|
1310
|
+
*/
|
1311
|
+
+ (__kindof IDOSetHandUpInfoBuletoothModel *)currentModel;
|
1312
|
+
@end
|
1313
|
+
|
1314
|
+
#pragma mark ==== 设置久坐提醒model ====
|
1315
|
+
@interface IDOSetLongSitInfoBuletoothModel : IDOBluetoothBaseModel
|
1316
|
+
|
1317
|
+
/**
|
1318
|
+
开始 (时) | Start (hours)
|
1319
|
+
*/
|
1320
|
+
@property (nonatomic,assign) NSInteger startHour;
|
1321
|
+
|
1322
|
+
/**
|
1323
|
+
开始 (分) | Start (minutes)
|
1324
|
+
*/
|
1325
|
+
@property (nonatomic,assign) NSInteger startMinute;
|
1326
|
+
|
1327
|
+
/**
|
1328
|
+
结束 (时) | End (hours)
|
1329
|
+
*/
|
1330
|
+
@property (nonatomic,assign) NSInteger endHour;
|
1331
|
+
|
1332
|
+
/**
|
1333
|
+
结束 (分) | End (minutes)
|
1334
|
+
*/
|
1335
|
+
@property (nonatomic,assign) NSInteger endMinute;
|
1336
|
+
|
1337
|
+
/**
|
1338
|
+
间隔 | Interval
|
1339
|
+
*/
|
1340
|
+
@property (nonatomic,assign) NSInteger interval;
|
1341
|
+
|
1342
|
+
/**
|
1343
|
+
开关 | Switch
|
1344
|
+
*/
|
1345
|
+
@property (nonatomic,assign) BOOL isOpen;
|
1346
|
+
|
1347
|
+
/**
|
1348
|
+
* 重复集合 [星期一、星期二、星期三、星期四、星期五、星期六、星期日]
|
1349
|
+
* Repeat collection [monday,tuesday,wednesday,thursday,friday,saturday,sunday]
|
1350
|
+
*/
|
1351
|
+
@property (nonatomic,strong) NSArray <NSNumber *>* selectWeeks;
|
1352
|
+
|
1353
|
+
/**
|
1354
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1355
|
+
* Query the database, if the query does not initialize a new model object
|
1356
|
+
* @return IDOSetLongSitInfoBuletoothModel
|
1357
|
+
*/
|
1358
|
+
+ (__kindof IDOSetLongSitInfoBuletoothModel *)currentModel;
|
1359
|
+
@end
|
1360
|
+
|
1361
|
+
#pragma mark ==== 设置天气预报开关model ====
|
1362
|
+
@interface IDOSetWeatherSwitchInfoBluetoothModel:IDOBluetoothBaseModel
|
1363
|
+
|
1364
|
+
/**
|
1365
|
+
天气预报开关 | Weather forecast switch
|
1366
|
+
*/
|
1367
|
+
@property (nonatomic,assign) BOOL isOpen;
|
1368
|
+
|
1369
|
+
/**
|
1370
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1371
|
+
* Query the database, if the query does not initialize a new model object
|
1372
|
+
* @return IDOSetWeatherSwitchInfoBluetoothModel
|
1373
|
+
*/
|
1374
|
+
+ (__kindof IDOSetWeatherSwitchInfoBluetoothModel *)currentModel;
|
1375
|
+
@end
|
1376
|
+
|
1377
|
+
#pragma mark ==== 设置相机开关model ====
|
1378
|
+
@interface IDOSetCameraInfoBluetoothModel:IDOBluetoothBaseModel
|
1379
|
+
|
1380
|
+
/**
|
1381
|
+
相机开关 | Camera switch
|
1382
|
+
*/
|
1383
|
+
@property (nonatomic,assign) BOOL isOpen;
|
1384
|
+
|
1385
|
+
@end
|
1386
|
+
|
1387
|
+
#pragma mark ==== 设置音乐开关model ====
|
1388
|
+
@interface IDOSetMusicOpenInfoBuletoothModel : IDOBluetoothBaseModel
|
1389
|
+
|
1390
|
+
/**
|
1391
|
+
音乐开关 | Music switch
|
1392
|
+
*/
|
1393
|
+
@property (nonatomic,assign) BOOL isOpen;
|
1394
|
+
|
1395
|
+
/**
|
1396
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1397
|
+
* Query the database, if the query does not initialize a new model object
|
1398
|
+
* @return IDOSetMusicOpenInfoBuletoothModel
|
1399
|
+
*/
|
1400
|
+
+ (__kindof IDOSetMusicOpenInfoBuletoothModel *)currentModel;
|
1401
|
+
@end
|
1402
|
+
|
1403
|
+
#pragma mark ==== 设置防止丢失model ====
|
1404
|
+
@interface IDOSetPreventLostInfoBuletoothModel : IDOBluetoothBaseModel
|
1405
|
+
|
1406
|
+
/**
|
1407
|
+
防丢失级别 | Loss prevention level
|
1408
|
+
*/
|
1409
|
+
@property (nonatomic,assign) NSInteger levelType;
|
1410
|
+
|
1411
|
+
/**
|
1412
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1413
|
+
* Query the database, if the query does not initialize a new model object
|
1414
|
+
* @return IDOSetPreventLostInfoBuletoothModel
|
1415
|
+
*/
|
1416
|
+
+ (__kindof IDOSetPreventLostInfoBuletoothModel *)currentModel;
|
1417
|
+
@end
|
1418
|
+
|
1419
|
+
#pragma mark ==== 设置左右手穿戴model ====
|
1420
|
+
@interface IDOSetLeftOrRightInfoBuletoothModel : IDOBluetoothBaseModel
|
1421
|
+
|
1422
|
+
/**
|
1423
|
+
是否右手佩戴 | Is it worn on the right hand?
|
1424
|
+
*/
|
1425
|
+
@property (nonatomic,assign) BOOL isRight;
|
1426
|
+
|
1427
|
+
/**
|
1428
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1429
|
+
* Query the database, if the query does not initialize a new model object
|
1430
|
+
* @return IDOSetLeftOrRightInfoBuletoothModel
|
1431
|
+
*/
|
1432
|
+
+ (__kindof IDOSetLeftOrRightInfoBuletoothModel *)currentModel;
|
1433
|
+
@end
|
1434
|
+
|
1435
|
+
#pragma mark ==== 设置寻找手机model ====
|
1436
|
+
@interface IDOSetFindPhoneInfoBuletoothModel : IDOBluetoothBaseModel
|
1437
|
+
|
1438
|
+
/**
|
1439
|
+
寻找手机开关 | Looking for a phone switch
|
1440
|
+
*/
|
1441
|
+
@property (nonatomic,assign) BOOL isOpen;
|
1442
|
+
|
1443
|
+
/**
|
1444
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1445
|
+
* Query the database, if the query does not initialize a new model object
|
1446
|
+
* @return IDOSetFindPhoneInfoBuletoothModel
|
1447
|
+
*/
|
1448
|
+
+ (__kindof IDOSetFindPhoneInfoBuletoothModel *)currentModel;
|
1449
|
+
@end
|
1450
|
+
|
1451
|
+
#pragma mark ==== 设置一键呼叫model ====
|
1452
|
+
@interface IDOSetOneKeySosInfoBuletoothModel : IDOBluetoothBaseModel
|
1453
|
+
|
1454
|
+
/**
|
1455
|
+
一键呼叫开关 | One-touch call switch
|
1456
|
+
*/
|
1457
|
+
@property (nonatomic,assign) BOOL isOpen;
|
1458
|
+
|
1459
|
+
/**
|
1460
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1461
|
+
* Query the database, if the query does not initialize a new model object
|
1462
|
+
* @return IDOSetOneKeySosInfoBuletoothModel
|
1463
|
+
*/
|
1464
|
+
+ (__kindof IDOSetOneKeySosInfoBuletoothModel *)currentModel;
|
1465
|
+
@end
|
1466
|
+
|
1467
|
+
#pragma mark ==== 设置开启蓝牙配对model ====
|
1468
|
+
@interface IDOSetPairingInfoBuletoothModel : IDOBluetoothBaseModel
|
1469
|
+
|
1470
|
+
/**
|
1471
|
+
配对时间戳 time interval since 1970 (如:1444361933)
|
1472
|
+
* Pairing timestamp time interval since 1970 (eg 14442361933)
|
1473
|
+
*/
|
1474
|
+
@property (nonatomic,copy) NSString * pairingTimeStr;
|
1475
|
+
|
1476
|
+
/**
|
1477
|
+
是否配对 | Pairing
|
1478
|
+
*/
|
1479
|
+
@property (nonatomic,assign) BOOL isPairing;
|
1480
|
+
|
1481
|
+
/**
|
1482
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1483
|
+
* Query the database, if the query does not initialize a new model object
|
1484
|
+
* @return IDOSetPairingInfoBuletoothModel
|
1485
|
+
*/
|
1486
|
+
+ (__kindof IDOSetPairingInfoBuletoothModel *)currentModel;
|
1487
|
+
|
1488
|
+
@end
|
1489
|
+
|
1490
|
+
#pragma mark ==== 设置智能提醒model ====
|
1491
|
+
@interface IDOSetNoticeInfoBuletoothModel : IDOBluetoothBaseModel
|
1492
|
+
|
1493
|
+
/**
|
1494
|
+
是否配对 | Pairing
|
1495
|
+
*/
|
1496
|
+
@property (nonatomic,assign) BOOL isPairing;
|
1497
|
+
|
1498
|
+
/**
|
1499
|
+
来电延迟 | Call delay
|
1500
|
+
*/
|
1501
|
+
@property (nonatomic,assign) NSInteger callDelay;
|
1502
|
+
|
1503
|
+
/**
|
1504
|
+
* 是否开启子开关 (只对智能提醒有效,对来电提醒无效)
|
1505
|
+
* Whether to enable the sub-switch (only valid for smart reminders, invalid for incoming call reminders)
|
1506
|
+
*/
|
1507
|
+
@property (nonatomic,assign) BOOL isOnChild;
|
1508
|
+
|
1509
|
+
/**
|
1510
|
+
来电提醒 | Call reminder
|
1511
|
+
*/
|
1512
|
+
@property (nonatomic,assign) BOOL isOnCall;
|
1513
|
+
|
1514
|
+
/**
|
1515
|
+
短信提醒 | SMS reminder
|
1516
|
+
*/
|
1517
|
+
@property (nonatomic,assign) BOOL isOnSms;
|
1518
|
+
|
1519
|
+
/**
|
1520
|
+
邮件提醒 | Email alert
|
1521
|
+
*/
|
1522
|
+
@property (nonatomic,assign) BOOL isOnEmail;
|
1523
|
+
|
1524
|
+
/**
|
1525
|
+
微信提醒 | WeChat reminder
|
1526
|
+
*/
|
1527
|
+
@property (nonatomic,assign) BOOL isOnWeChat;
|
1528
|
+
|
1529
|
+
/**
|
1530
|
+
qq提醒 | qq reminder
|
1531
|
+
*/
|
1532
|
+
@property (nonatomic,assign) BOOL isOnQq;
|
1533
|
+
|
1534
|
+
/**
|
1535
|
+
微博提醒 | Weibo reminder
|
1536
|
+
*/
|
1537
|
+
@property (nonatomic,assign) BOOL isOnWeibo;
|
1538
|
+
|
1539
|
+
/**
|
1540
|
+
FaceBook 提醒 | FaceBook Reminder
|
1541
|
+
*/
|
1542
|
+
@property (nonatomic,assign) BOOL isOnFaceBook;
|
1543
|
+
|
1544
|
+
/**
|
1545
|
+
Twitter 提醒 | Twitter Reminder
|
1546
|
+
*/
|
1547
|
+
@property (nonatomic,assign) BOOL isOnTwitter;
|
1548
|
+
|
1549
|
+
/**
|
1550
|
+
Whatsapp 提醒 | Whatsapp Reminder
|
1551
|
+
*/
|
1552
|
+
@property (nonatomic,assign) BOOL isOnWhatsapp;
|
1553
|
+
|
1554
|
+
/**
|
1555
|
+
Messenger 提醒 | Messenger reminder
|
1556
|
+
*/
|
1557
|
+
@property (nonatomic,assign) BOOL isOnMessenger;
|
1558
|
+
|
1559
|
+
/**
|
1560
|
+
Instagram 提醒 | Instagram reminder
|
1561
|
+
*/
|
1562
|
+
@property (nonatomic,assign) BOOL isOnInstagram;
|
1563
|
+
|
1564
|
+
/**
|
1565
|
+
LinkedIn 提醒 | LinkedIn Reminder
|
1566
|
+
*/
|
1567
|
+
@property (nonatomic,assign) BOOL isOnLinkedIn;
|
1568
|
+
|
1569
|
+
/**
|
1570
|
+
Calendar 提醒 | Calendar Reminder
|
1571
|
+
*/
|
1572
|
+
@property (nonatomic,assign) BOOL isOnCalendar;
|
1573
|
+
|
1574
|
+
/**
|
1575
|
+
Skype 提醒 | Skype reminder
|
1576
|
+
*/
|
1577
|
+
@property (nonatomic,assign) BOOL isOnSkype;
|
1578
|
+
|
1579
|
+
/**
|
1580
|
+
Alarm 提醒 | Alarm Reminder
|
1581
|
+
*/
|
1582
|
+
@property (nonatomic,assign) BOOL isOnAlarm;
|
1583
|
+
|
1584
|
+
/**
|
1585
|
+
Pokeman 提醒 | Pokemon Reminder
|
1586
|
+
*/
|
1587
|
+
@property (nonatomic,assign) BOOL isOnPokeman;
|
1588
|
+
|
1589
|
+
/**
|
1590
|
+
Vkontakte 提醒 | Vkontakte Reminder
|
1591
|
+
*/
|
1592
|
+
@property (nonatomic,assign) BOOL isOnVkontakte;
|
1593
|
+
|
1594
|
+
/**
|
1595
|
+
Line 提醒 | Line reminder
|
1596
|
+
*/
|
1597
|
+
@property (nonatomic,assign) BOOL isOnLine;
|
1598
|
+
|
1599
|
+
/**
|
1600
|
+
Viber 提醒 | Viber reminder
|
1601
|
+
*/
|
1602
|
+
@property (nonatomic,assign) BOOL isOnViber;
|
1603
|
+
|
1604
|
+
/**
|
1605
|
+
KakaoTalk 提醒 | KakaoTalk Reminder
|
1606
|
+
*/
|
1607
|
+
@property (nonatomic,assign) BOOL isOnKakaoTalk;
|
1608
|
+
|
1609
|
+
/**
|
1610
|
+
Gmail 提醒 | Gmail reminder
|
1611
|
+
*/
|
1612
|
+
@property (nonatomic,assign) BOOL isOnGmail;
|
1613
|
+
|
1614
|
+
/**
|
1615
|
+
Outlook 提醒 | Outlook reminder
|
1616
|
+
*/
|
1617
|
+
@property (nonatomic,assign) BOOL isOnOutlook;
|
1618
|
+
|
1619
|
+
/**
|
1620
|
+
Snapchat 提醒 | Snapchat Reminder
|
1621
|
+
*/
|
1622
|
+
@property (nonatomic,assign) BOOL isOnSnapchat;
|
1623
|
+
|
1624
|
+
/**
|
1625
|
+
Telegram 提醒 | Telegram Reminder
|
1626
|
+
*/
|
1627
|
+
@property (nonatomic,assign) BOOL isOnTelegram;
|
1628
|
+
|
1629
|
+
/**
|
1630
|
+
Chatwork 提醒 | Chatwork
|
1631
|
+
*/
|
1632
|
+
@property (nonatomic,assign) BOOL isOnChatwork;
|
1633
|
+
|
1634
|
+
/**
|
1635
|
+
Slack 提醒 | Slack
|
1636
|
+
*/
|
1637
|
+
@property (nonatomic,assign) BOOL isOnSlack;
|
1638
|
+
|
1639
|
+
/**
|
1640
|
+
Yahoo Mail 提醒 | Yahoo Mail
|
1641
|
+
*/
|
1642
|
+
@property (nonatomic,assign) BOOL isOnYahooMail;
|
1643
|
+
|
1644
|
+
/**
|
1645
|
+
Tumblr 提醒 | Tumblr
|
1646
|
+
*/
|
1647
|
+
@property (nonatomic,assign) BOOL isOnTumblr;
|
1648
|
+
|
1649
|
+
/**
|
1650
|
+
Youtube 提醒 | Youtube
|
1651
|
+
*/
|
1652
|
+
@property (nonatomic,assign) BOOL isOnYoutube;
|
1653
|
+
|
1654
|
+
/**
|
1655
|
+
Yahoo Pinterest 提醒 | Yahoo Pinterest
|
1656
|
+
*/
|
1657
|
+
@property (nonatomic,assign) BOOL isOnYahooPinterest;
|
1658
|
+
|
1659
|
+
/**
|
1660
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1661
|
+
* Query the database, if the query does not initialize a new model object
|
1662
|
+
* @return IDOSetNoticeInfoBuletoothModel
|
1663
|
+
*/
|
1664
|
+
+ (__kindof IDOSetNoticeInfoBuletoothModel *)currentModel;
|
1665
|
+
|
1666
|
+
@end
|
1667
|
+
|
1668
|
+
#pragma mark ==== 设置用户信息model ====
|
1669
|
+
@interface IDOSetUserInfoBuletoothModel : IDOBluetoothBaseModel
|
1670
|
+
|
1671
|
+
/**
|
1672
|
+
身高(厘米) | Height(cm)
|
1673
|
+
*/
|
1674
|
+
@property (nonatomic,assign) NSInteger height;
|
1675
|
+
|
1676
|
+
/**
|
1677
|
+
当前体重(千克) | Current weight(kg)
|
1678
|
+
*/
|
1679
|
+
@property (nonatomic,assign) NSInteger weight;
|
1680
|
+
|
1681
|
+
/**
|
1682
|
+
性别 1: 男 2 :女 | Gender 1: Male 2: Female
|
1683
|
+
*/
|
1684
|
+
@property (nonatomic,assign) NSInteger gender;
|
1685
|
+
|
1686
|
+
/**
|
1687
|
+
年 | year
|
1688
|
+
*/
|
1689
|
+
@property (nonatomic,assign) NSInteger year;
|
1690
|
+
|
1691
|
+
/**
|
1692
|
+
月 | Month
|
1693
|
+
*/
|
1694
|
+
@property (nonatomic,assign) NSInteger month;
|
1695
|
+
|
1696
|
+
/**
|
1697
|
+
日 | day
|
1698
|
+
*/
|
1699
|
+
@property (nonatomic,assign) NSInteger day;
|
1700
|
+
|
1701
|
+
/**
|
1702
|
+
目标睡眠 (时) | Target sleep (hours)
|
1703
|
+
*/
|
1704
|
+
@property (nonatomic,assign) NSInteger goalSleepDataHour;
|
1705
|
+
|
1706
|
+
/**
|
1707
|
+
目标睡眠 (分) | Target sleep (minutes)
|
1708
|
+
*/
|
1709
|
+
@property (nonatomic,assign) NSInteger goalSleepDataMinute;
|
1710
|
+
|
1711
|
+
/**
|
1712
|
+
目标步数 | Target steps
|
1713
|
+
*/
|
1714
|
+
@property (nonatomic,assign) NSInteger goalStepData;
|
1715
|
+
|
1716
|
+
/**
|
1717
|
+
目标卡路里 | Goal Calories
|
1718
|
+
*/
|
1719
|
+
@property (nonatomic,assign) NSInteger goalCalorieData;
|
1720
|
+
|
1721
|
+
/**
|
1722
|
+
目标距离(米) | Target distance(m)
|
1723
|
+
*/
|
1724
|
+
@property (nonatomic,assign) NSInteger goalDistanceData;
|
1725
|
+
|
1726
|
+
/**
|
1727
|
+
目标体重(千克) | Target weight(kg)
|
1728
|
+
*/
|
1729
|
+
@property (nonatomic,assign) NSInteger goalWeightData;
|
1730
|
+
|
1731
|
+
/**
|
1732
|
+
* 目标类型 (类型 : 0 : 步数 1 : 卡路里 2 : 距离) 设置一种类型的目标需要执行一次命令
|
1733
|
+
* Target type (type : 0 : step 1 : calories 2 : distance) Setting a type of target requires a command to be executed
|
1734
|
+
*/
|
1735
|
+
@property (nonatomic,assign) NSInteger goalType;
|
1736
|
+
|
1737
|
+
/**
|
1738
|
+
是否登陆 | Login
|
1739
|
+
*/
|
1740
|
+
@property (nonatomic,assign) BOOL isLogin;
|
1741
|
+
|
1742
|
+
/**
|
1743
|
+
绑定状态 | Binding status
|
1744
|
+
*/
|
1745
|
+
@property (nonatomic,assign) NSInteger bindState;
|
1746
|
+
|
1747
|
+
/**
|
1748
|
+
* @brief 查询数据库,如果查询不到初始化新的model对象
|
1749
|
+
* Query the database, if the query does not initialize a new model object
|
1750
|
+
* @return IDOSetUserInfoBuletoothModel
|
1751
|
+
*/
|
1752
|
+
+ (__kindof IDOSetUserInfoBuletoothModel *)currentModel;
|
1753
|
+
|
1754
|
+
|
1755
|
+
@end
|
1756
|
+
|
1757
|
+
|
1758
|
+
@interface IDOSetInfoBluetoothModel : IDOBluetoothBaseModel
|
1759
|
+
|
1760
|
+
@end
|