From d6d9a09d505d11148599a95a5be3e1351edbe0ac Mon Sep 17 00:00:00 2001 From: hc Date: Mon, 13 Apr 2026 15:17:52 +0800 Subject: Local iHealth SDK, device detail screen, iOS event fixes --- .../Headers/IDOWatchDialInfoModel.h | 95 ++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100755 libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOWatchDialInfoModel.h (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/IDOWatchDialInfoModel.h') 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 @@ +// +// IDOWatchDialInfoModel.h +// IDOBluetoothInternal +// +// Created by 何东阳 on 2019/8/21. +// Copyright © 2019 何东阳. All rights reserved. +// + +#if __has_include() +#elif __has_include() +#else +#import "IDOBluetoothBaseModel.h" +#endif + +@interface IDOWatchScreenInfoModel : IDOBluetoothBaseModel +/** + 表盘家族名称 | family name + */ +@property (nonatomic,copy) NSString * familyName; +/** + 宽度 | width + */ +@property (nonatomic,assign) NSInteger width; +/** + 高度 | height + */ +@property (nonatomic,assign) NSInteger height; +/** + 颜色格式 | color format + */ +@property (nonatomic,assign) NSInteger colorFormat; +/** + 尺寸 * 100 | size * 100 + */ +@property (nonatomic,assign) NSInteger size; + +/** + * @brief 查询数据库,如果查询不到初始化新的model对象 + * Query the database, if the query does not initialize a new model object + * @return IDOWatchScreenInfoModel + */ ++ (__kindof IDOWatchScreenInfoModel *)currentModel; + +@end + +@interface IDOWatchDialInfoItemModel : IDOBluetoothBaseModel +/** + 表盘名称(唯一标示) | file name (only sign) + */ +@property (nonatomic,copy) NSString * fileName; + +/** + * 操作 0x00:查询正在使用表盘 0x01:设置表盘 0x02:删除表盘 + * Operation 0x00: query is using the dial 0x01: set the dial 0x02: delete the dial + */ +@property (nonatomic,assign) NSInteger operate; + +@end + + +@interface IDOWatchDialInfoModel : IDOBluetoothBaseModel +/** + * 文件个数 + * file count + */ +@property (nonatomic,assign) NSInteger fileCount; +/** + * 剩余空间 KB + * remaining Space + */ +@property (nonatomic,assign) NSInteger remainingSpace; +/** + * 单个文件最大size KB + * file max size + */ +@property (nonatomic,assign) NSInteger fileMaxSize; +/** + * 当前设置的表盘名称 + * name of the dial currently set +*/ +@property (nonatomic,copy) NSString * currentDialName; +/** + * 当前手环所有表盘信息集合 + * Current bracelet all dial information set + */ +@property (nonatomic,strong) NSArray * dialArray; + +/** + * @brief 查询数据库,如果查询不到初始化新的model对象 + * Query the database, if the query does not initialize a new model object + * @return IDOWatchDialInfoModel + */ ++ (__kindof IDOWatchDialInfoModel *)currentModel; + +@end -- cgit