CLCmdDaliyActivityInfo.from constructor

CLCmdDaliyActivityInfo.from(
  1. PERIPHERAL_DAILY_ACTIVITY_INFO_CONTEXT v
)

Implementation

factory CLCmdDaliyActivityInfo.from(
    PERIPHERAL_DAILY_ACTIVITY_INFO_CONTEXT v) {
  final p = CLCmdDaliyActivityInfo(
      sleepLightSeconds: v.sleepLightSeconds,
      sleepSoundSeconds: v.sleepSoundSeconds,
      sleepRemSeconds: v.sleepRemSeconds,
      wakeUpTimes: v.wakeUpTimes,
      heartRate: v.heartRate,
      skinTempeature: v.skinTempeature,
      steps: v.steps,
      distance: v.distance,
      caloriesActive: v.caloriesActive,
      caloriesIdle: v.caloriesIdle,
      acttype: v.acttype,
      uv: v.uv,
      bp_lp: v.bp_lp,
      bp_hp: v.bp_hp,
      atm: v.atm,
      sweatsugar: v.sweatsugar,
      lacticacid: v.lacticacid,
      spo2: v.spo2,
      hrv: v.hrv,
      stress: v.stress);
  return p;
}