iOS AILinkBleSDK - 蓝牙SDK
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ELCM02_BleSupportFunctionModel.h 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //
  2. // ELCM02_BleSupportFunctionModel.h
  3. // AILinkBleSDK
  4. //
  5. // Created by cliCk on 2021/9/22.
  6. // Copyright © 2021 IOT. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "ELCM02_BleHeader.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. /** CM02设备支持功能对象模型 */
  12. @interface ELCM02_BleSupportFunctionModel : NSObject
  13. /** 设备类型 */
  14. @property (nonatomic, assign) enum CM02_DeviceType deviceType;
  15. /** 是否支持自动背光 */
  16. @property (nonatomic, assign) BOOL autoLight;
  17. /** 是否支持手动背光 */
  18. @property (nonatomic, assign) BOOL manualLight;
  19. /** 支持的档位个数 */
  20. @property (nonatomic, assign) NSInteger gearNum;
  21. /** 是否支持定速巡航功能, 0:不支持,1:支持 */
  22. @property (nonatomic, assign, getter=isCruiseSupported) BOOL cruiseSupported;
  23. /** 是否支持定速巡航开关, 0:不支持,1:支持 */
  24. @property (nonatomic, assign, getter=isCruiseControlSupported) BOOL cruiseControlSupported;
  25. /** 是否支持零启动和非零启动切换 */
  26. @property (nonatomic, assign) BOOL speedStartChange;
  27. /** 控制器厂商代码编号 */
  28. @property (nonatomic, assign) BOOL controlCodeNum;
  29. /** 电池信息 */
  30. @property (nonatomic, assign) BOOL batteryInformation;
  31. /** 电池厂商代码编号 */
  32. @property (nonatomic, assign) BOOL batteryCodeNum;
  33. /** 右转灯开关 */
  34. @property (nonatomic, assign) BOOL rightLightSwitch;
  35. /** 左转灯开关 */
  36. @property (nonatomic, assign) BOOL leftLightSwitch;
  37. /** 氛围灯开关 */
  38. @property (nonatomic, assign) BOOL ambientLightSwitch;
  39. /** 日行灯开关 */
  40. @property (nonatomic, assign) BOOL daytimeRunningLightSwitch;
  41. /** 刹车灯开关 */
  42. @property (nonatomic, assign) BOOL brakeLightSwitch;
  43. /** 前车灯开关 */
  44. @property (nonatomic, assign) BOOL frontLightSwitch;
  45. + (instancetype)instanceWithBleData:(NSData *)data;
  46. @end
  47. NS_ASSUME_NONNULL_END