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.

ELMeatProbeScreenBoxBleBBQParamModel.h 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. //
  2. // ELMeatProbeScreenBoxBleBBQParamModel.h
  3. // AILinkComponentMeatProbe
  4. //
  5. // Created by Larry Zhang on 2024/2/26.
  6. //
  7. #import <Foundation/Foundation.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface ELMeatProbeScreenBoxBleBBQParamModel : NSObject
  10. //生成时间
  11. @property (nonatomic, assign) NSTimeInterval timestamp;
  12. @property (nonatomic, strong) NSData *macData;
  13. @property (nonatomic, copy, readonly) NSString *macString;
  14. @property (nonatomic, assign) UInt8 state; //State: 0x00:未开始,结束任务时,状态切为未开始,未开始状态时,不需要判定其他参数 0x01:已开始,开始任务时,状态切位已开始
  15. @property (nonatomic, assign) UInt8 foodType; //食物类型
  16. @property (nonatomic, assign) UInt16 targetTemperatureRaw_C; //食物目标温度:℃
  17. @property (nonatomic, assign, readonly) NSInteger targetTemperature_C;
  18. @property (nonatomic, assign) UInt16 targetTemperatureRaw_F; //食物目标温度:℉
  19. @property (nonatomic, assign, readonly) NSInteger targetTemperature_F;
  20. @property (nonatomic, assign) UInt16 ambientMinTemperatureRaw_C; //炉温目标下限:℃
  21. @property (nonatomic, assign, readonly) NSInteger ambientMinTemperature_C;
  22. @property (nonatomic, assign) UInt16 ambientMinTemperatureRaw_F; //炉温目标下限:℉
  23. @property (nonatomic, assign, readonly) NSInteger ambientMinTemperature_F;
  24. @property (nonatomic, assign) UInt16 ambientMaxTemperatureRaw_C; //炉温目标上限:℃
  25. @property (nonatomic, assign, readonly) NSInteger ambientMaxTemperature_C;
  26. @property (nonatomic, assign) UInt16 ambientMaxTemperatureRaw_F; //炉温目标上限:℉
  27. @property (nonatomic, assign, readonly) NSInteger ambientMaxTemperature_F;
  28. @property (nonatomic, assign) float alarmTemperaturePercent; //提醒温度对目标温度百分比 0~1.0
  29. @property (nonatomic, assign) UInt32 cookingId; //CookingID
  30. @property (nonatomic, assign) UInt32 workTime; //任务已运行时间,单位s
  31. @property (nonatomic, assign) UInt32 timerCount; //计时剩余时间(秒)
  32. @property (nonatomic, assign) UInt8 foodRawness; //食物熟度 (maturityID)
  33. @property (nonatomic, strong) NSData *remarkData;
  34. - (void)clearAll;
  35. - (void)cookDone;
  36. - (NSData *)dataValue;
  37. - (NSString *)remark;
  38. - (NSString *)setRemark:(NSString *)remark;
  39. @end
  40. NS_ASSUME_NONNULL_END