summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOWatchDialInfoModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOWatchDialInfoModel.h')
-rwxr-xr-xlibs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOWatchDialInfoModel.h95
1 files changed, 95 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOWatchDialInfoModel.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOWatchDialInfoModel.h
new file mode 100755
index 0000000..2e5c7db
--- /dev/null
+++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOWatchDialInfoModel.h
@@ -0,0 +1,95 @@
1//
2// IDOWatchDialInfoModel.h
3// IDOBluetoothInternal
4//
5// Created by 何东阳 on 2019/8/21.
6// Copyright © 2019 何东阳. 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@interface IDOWatchScreenInfoModel : IDOBluetoothBaseModel
16/**
17 表盘家族名称 | family name
18 */
19@property (nonatomic,copy) NSString * familyName;
20/**
21 宽度 | width
22 */
23@property (nonatomic,assign) NSInteger width;
24/**
25 高度 | height
26 */
27@property (nonatomic,assign) NSInteger height;
28/**
29 颜色格式 | color format
30 */
31@property (nonatomic,assign) NSInteger colorFormat;
32/**
33 尺寸 * 100 | size * 100
34 */
35@property (nonatomic,assign) NSInteger size;
36
37/**
38 * @brief 查询数据库,如果查询不到初始化新的model对象
39 * Query the database, if the query does not initialize a new model object
40 * @return IDOWatchScreenInfoModel
41 */
42+ (__kindof IDOWatchScreenInfoModel *)currentModel;
43
44@end
45
46@interface IDOWatchDialInfoItemModel : IDOBluetoothBaseModel
47/**
48 表盘名称(唯一标示) | file name (only sign)
49 */
50@property (nonatomic,copy) NSString * fileName;
51
52/**
53 * 操作 0x00:查询正在使用表盘 0x01:设置表盘 0x02:删除表盘
54 * Operation 0x00: query is using the dial 0x01: set the dial 0x02: delete the dial
55 */
56@property (nonatomic,assign) NSInteger operate;
57
58@end
59
60
61@interface IDOWatchDialInfoModel : IDOBluetoothBaseModel
62/**
63 * 文件个数
64 * file count
65 */
66@property (nonatomic,assign) NSInteger fileCount;
67/**
68 * 剩余空间 KB
69 * remaining Space
70 */
71@property (nonatomic,assign) NSInteger remainingSpace;
72/**
73 * 单个文件最大size KB
74 * file max size
75 */
76@property (nonatomic,assign) NSInteger fileMaxSize;
77/**
78 * 当前设置的表盘名称
79 * name of the dial currently set
80*/
81@property (nonatomic,copy) NSString * currentDialName;
82/**
83 * 当前手环所有表盘信息集合
84 * Current bracelet all dial information set
85 */
86@property (nonatomic,strong) NSArray <IDOWatchDialInfoItemModel *>* dialArray;
87
88/**
89 * @brief 查询数据库,如果查询不到初始化新的model对象
90 * Query the database, if the query does not initialize a new model object
91 * @return IDOWatchDialInfoModel
92 */
93+ (__kindof IDOWatchDialInfoModel *)currentModel;
94
95@end