iOS AILinkBleSDK - 蓝牙SDK
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ELAutomaticThermometerFunction1Model.h 6.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. //
  2. // ELAutomaticThermometerFunction1Model.h
  3. // AILinkBleSDK
  4. //
  5. //
  6. #import <Foundation/Foundation.h>
  7. NS_ASSUME_NONNULL_BEGIN
  8. typedef NS_OPTIONS(NSUInteger, ELAutomaticThermometerSupportLanguage) {
  9. ELAutomaticThermometerSupportLanguage_None = 0,
  10. ELAutomaticThermometerSupportLanguage_DI = 1 << 0, // 滴
  11. ELAutomaticThermometerSupportLanguage_DINGDONG = 1 << 1, // 叮咚
  12. ELAutomaticThermometerSupportLanguage_EN = 1 << 2, // 英语
  13. ELAutomaticThermometerSupportLanguage_IT = 1 << 3, // 意大利语
  14. ELAutomaticThermometerSupportLanguage_HR = 1 << 4, // 韩语
  15. ELAutomaticThermometerSupportLanguage_SP = 1 << 5, // 西班牙语
  16. ELAutomaticThermometerSupportLanguage_JP = 1 << 6, // 日语
  17. ELAutomaticThermometerSupportLanguage_JP1 = 1 << 7, // 日语1
  18. ELAutomaticThermometerSupportLanguage_FR = 1 << 8, // 法语
  19. ELAutomaticThermometerSupportLanguage_UI = 1 << 9, // 越南语
  20. ELAutomaticThermometerSupportLanguage_CB = 1 << 10, // 柬埔寨语
  21. ELAutomaticThermometerSupportLanguage_ML = 1 << 11, // 马来语
  22. ELAutomaticThermometerSupportLanguage_RL = 1 << 12, // 印尼语
  23. ELAutomaticThermometerSupportLanguage_AR = 1 << 13, // 阿拉伯语
  24. ELAutomaticThermometerSupportLanguage_TL = 1 << 14, // 泰语
  25. ELAutomaticThermometerSupportLanguage_PL = 1 << 15, // 波兰语
  26. ELAutomaticThermometerSupportLanguage_CH = 1 << 16, // 中文
  27. ELAutomaticThermometerSupportLanguage_CH0 = 1 << 17, // 中文0
  28. ELAutomaticThermometerSupportLanguage_CH1 = 1 << 18, // 中文1
  29. ELAutomaticThermometerSupportLanguage_CH2 = 1 << 19, // 中文2
  30. ELAutomaticThermometerSupportLanguage_CH3 = 1 << 20, // 中文3
  31. };
  32. typedef NS_OPTIONS(NSUInteger, ELAutomaticThermometerSupportLanguageExt) {
  33. ELAutomaticThermometerSupportLanguageExt_None = 0,
  34. };
  35. typedef NS_ENUM(NSUInteger, ELAutomaticThermometerSupportLanguageValue) {
  36. ELAutomaticThermometerSupportLanguageValue_None = 0x00,
  37. ELAutomaticThermometerSupportLanguageValue_DI = 0x01, // 滴
  38. ELAutomaticThermometerSupportLanguageValue_DINGDONG = 0x02, // 叮咚
  39. ELAutomaticThermometerSupportLanguageValue_EN = 0x03, // 英语
  40. ELAutomaticThermometerSupportLanguageValue_IT = 0x04, // 意大利语
  41. ELAutomaticThermometerSupportLanguageValue_HR = 0x05, // 韩语
  42. ELAutomaticThermometerSupportLanguageValue_SP = 0x06, // 西班牙语
  43. ELAutomaticThermometerSupportLanguageValue_JP = 0x07, // 日语
  44. ELAutomaticThermometerSupportLanguageValue_JP1 = 0x08, // 日语1
  45. ELAutomaticThermometerSupportLanguageValue_FR = 0x09, // 法语
  46. ELAutomaticThermometerSupportLanguageValue_UI = 0x0A, // 越南语
  47. ELAutomaticThermometerSupportLanguageValue_CB = 0x0B, // 柬埔寨语
  48. ELAutomaticThermometerSupportLanguageValue_ML = 0x0C, // 马来语
  49. ELAutomaticThermometerSupportLanguageValue_RL = 0x0D, // 印尼语
  50. ELAutomaticThermometerSupportLanguageValue_AR = 0x0E, // 阿拉伯语
  51. ELAutomaticThermometerSupportLanguageValue_TL = 0x0F, // 泰语
  52. ELAutomaticThermometerSupportLanguageValue_PL = 0x10, // 波兰语
  53. ELAutomaticThermometerSupportLanguageValue_CH = 0x11, // 中文
  54. ELAutomaticThermometerSupportLanguageValue_CH0 = 0x12, // 中文0
  55. ELAutomaticThermometerSupportLanguageValue_CH1 = 0x13, // 中文1
  56. ELAutomaticThermometerSupportLanguageValue_CH2 = 0x14, // 中文2
  57. ELAutomaticThermometerSupportLanguageValue_CH3 = 0x15, // 中文3
  58. };
  59. typedef NS_OPTIONS(NSUInteger, ELAutomaticThermometerSupportSoundEffect) {
  60. ELAutomaticThermometerSupportSoundEffect_None = 0,
  61. ELAutomaticThermometerSupportSoundEffect_Off = 1 << 0, // 关闭
  62. ELAutomaticThermometerSupportSoundEffect_DingDong = 1 << 6, // 叮咚(默认)
  63. ELAutomaticThermometerSupportSoundEffect_Di = 1 << 7, // 嘀
  64. };
  65. typedef NS_OPTIONS(NSUInteger, ELAutomaticThermometerSupportMeasuringDistance) {
  66. ELAutomaticThermometerSupportMeasuringDistance_NONE = 0,
  67. ELAutomaticThermometerSupportMeasuringDistance_0_6 = 1 << 0, // 0.6m
  68. ELAutomaticThermometerSupportMeasuringDistance_0_8 = 1 << 1, // 0.8m
  69. ELAutomaticThermometerSupportMeasuringDistance_1_0 = 1 << 2, // 1.0m
  70. ELAutomaticThermometerSupportMeasuringDistance_1_2 = 1 << 3, // 1.2m
  71. ELAutomaticThermometerSupportMeasuringDistance_1_4 = 1 << 4, // 1.4m
  72. ELAutomaticThermometerSupportMeasuringDistance_1_6 = 1 << 5, // 1.6m
  73. ELAutomaticThermometerSupportMeasuringDistance_1_8 = 1 << 6, // 1.8m
  74. ELAutomaticThermometerSupportMeasuringDistance_2_0 = 1 << 7, // 2.0m
  75. };
  76. @interface ELAutomaticThermometerFunction1Model : NSObject
  77. // 音量配置
  78. @property (nonatomic, assign) BOOL supportVol;
  79. @property (nonatomic, assign) BOOL supportVolGear0;
  80. @property (nonatomic, assign) UInt8 supportVolGearMax;
  81. @property (nonatomic, assign) UInt8 valueVol;
  82. @property (nonatomic, copy, readonly) NSArray<NSNumber *> *valueVolGearList;
  83. // 语言配置
  84. @property (nonatomic, assign) UInt32 supportLanguage;
  85. @property (nonatomic, assign) UInt32 supportLanguageExt;
  86. @property (nonatomic, assign) UInt32 valueLanguage;
  87. @property (nonatomic, copy, readonly) NSArray<NSNumber *> *languageList;
  88. // 音效配置
  89. @property (nonatomic, assign) UInt8 supportSoundEffect; // Bit7: 嘀 Bit6: 叮咚
  90. @property (nonatomic, assign) UInt8 valueSoundEffect; // 0x80: 嘀 0x40: 叮咚(默认)
  91. @property (nonatomic, copy, readonly) NSArray<NSNumber *> *soundEffectList;
  92. // 上电自动开机
  93. @property (nonatomic, assign) BOOL supportAutoPowerOn;
  94. @property (nonatomic, assign) BOOL valueAutoPowerOnEnabled;
  95. // 测温距离
  96. @property (nonatomic, assign) UInt8 supportMeasuringDistance;
  97. @property (nonatomic, assign) UInt8 valueMeasuringDistance;
  98. @property (nonatomic, copy, readonly) NSArray<NSNumber *> *measuringDistanceList;
  99. + (instancetype)defaultModel;
  100. @end
  101. NS_ASSUME_NONNULL_END