diff options
| author | hc <haocheng.xie@respiree.com> | 2026-04-13 15:17:52 +0800 |
|---|---|---|
| committer | hc <haocheng.xie@respiree.com> | 2026-04-13 15:17:52 +0800 |
| commit | d6d9a09d505d11148599a95a5be3e1351edbe0ac (patch) | |
| tree | a5f5891983d1ff207e99f683a5e151519cef4980 /libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOWatchDialInfoModel.h | |
| parent | e4fb9966e762852bf17f21c8406501d42fae0b61 (diff) | |
Local iHealth SDK, device detail screen, iOS event fixes
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOWatchDialInfoModel.h')
| -rwxr-xr-x | libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOWatchDialInfoModel.h | 95 |
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 | ||
