CLCmdGogpsDownData.from constructor

CLCmdGogpsDownData.from(
  1. PERIPHERAL_GOGPS_DOWNDATA v
)

Implementation

factory CLCmdGogpsDownData.from(PERIPHERAL_GOGPS_DOWNDATA v) =>
    CLCmdGogpsDownData(
        hrrest: v.hrrest,
        hrmax: v.hrmax,
        hrzone0_min: v.hrzone0_min,
        hrzone0_max: v.hrzone0_max,
        hrzone1_min: v.hrzone1_min,
        hrzone1_max: v.hrzone1_max,
        hrzone2_min: v.hrzone2_min,
        hrzone2_max: v.hrzone2_max,
        hrzone3_min: v.hrzone3_min,
        hrzone3_max: v.hrzone3_max,
        hrzone4_min: v.hrzone4_min,
        hrzone4_max: v.hrzone4_max,
        recoverysec: v.recoverysec,
        staminalevel: v.staminalevel,
        checksumsize: v.checksumsize,
        checksum: v.checksum.hlList(GOGPSDOWNDATA_CHECKSUM_MAXSIZE));