CLCmdDeviceConfig constructor

CLCmdDeviceConfig({
  1. required int PPGDayIntervalMilliSec,
  2. required int PPGNightIntervalMilliSec,
  3. required int SkinTempDayIntervalMilliSec,
  4. required int SkinTempNightIntervalMilliSec,
  5. required bool bUIScreenActivateWristFlip,
  6. required bool bUIScreenActivatePressHold1s,
  7. required bool bUIScreenActivatePressHold3s,
  8. required bool bUIScreenTapping,
  9. required bool bUINavigationTapping,
  10. required bool bUINavigationWristShaking,
  11. required bool bReminderOffWeekends,
  12. required int idleAlertTimeInMinutes,
  13. required int idleAlertTimeStart,
  14. required int idleAlertTimeEnd,
  15. required int screenOnTimeGeneral,
  16. required int screenOnTimeHeartRate,
  17. required int sleepSensitivity,
  18. required int stepSensitivity,
  19. required int vocSampleRate,
  20. required int alcoholSensitivity,
  21. required String cityname,
  22. required int hrbroadcast,
  23. required bool touchEnable,
  24. required bool autoBPEnable,
  25. required bool autoBOEnable,
})

Implementation

CLCmdDeviceConfig(
    {required this.PPGDayIntervalMilliSec,
    required this.PPGNightIntervalMilliSec,
    required this.SkinTempDayIntervalMilliSec,
    required this.SkinTempNightIntervalMilliSec,
    required this.bUIScreenActivateWristFlip,
    required this.bUIScreenActivatePressHold1s,
    required this.bUIScreenActivatePressHold3s,
    required this.bUIScreenTapping,
    required this.bUINavigationTapping,
    required this.bUINavigationWristShaking,
    required this.bReminderOffWeekends,
    required this.idleAlertTimeInMinutes,
    required this.idleAlertTimeStart,
    required this.idleAlertTimeEnd,
    required this.screenOnTimeGeneral,
    required this.screenOnTimeHeartRate,
    required this.sleepSensitivity,
    required this.stepSensitivity,
    required this.vocSampleRate,
    required this.alcoholSensitivity,
    required this.cityname,
    required this.hrbroadcast,
    required this.touchEnable,
    required this.autoBPEnable,
    required this.autoBOEnable}) {
  _cityname_len = cityname.toNativeUtf8().length;
}