CLCmdGoGpsUpStreamData constructor
CLCmdGoGpsUpStreamData({
- int timestamp = 0,
- int secondindex = 0,
- int mSport_type = 4,
- double speed = 0.0,
- double longitude = 0.0,
- double latitude = 0.0,
- double altitude = 0.0,
- int distance_km = 0,
- int distance_km_max = 0,
- int heartrate = 0,
- int stamina = 0,
- int stamina_aerobic = 0,
- int stamina_anerobic = 0,
- int kcal = 0,
- int kcal_max = 0,
- int cadance = 0,
- double deltadis = 0.0,
- int steps = 0,
- int swimtimeonelap = 0,
- int swimstrokeonelap = 0,
- int swimtype = 0,
- int swimavgstrokefreqonelap = 0,
- int swimmaxstrokefreqonelap = 0,
- int swimswolfonelap = 0,
- int swimavgpaceonelap = 0,
- int swimlapindex = 0,
- int accuracy = 0,
Implementation
CLCmdGoGpsUpStreamData({
this.timestamp = 0,
this.secondindex = 0,
this.mSport_type = 4, //轨迹类型
this.speed = 0.0,
this.longitude = 0.0,
this.latitude = 0.0,
this.altitude = 0.0,
this.distance_km = 0,
this.distance_km_max = 0,
this.heartrate = 0,
this.stamina = 0,
this.stamina_aerobic = 0,
this.stamina_anerobic = 0,
this.kcal = 0,
this.kcal_max = 0,
this.cadance = 0,
this.deltadis = 0.0,
this.steps = 0,
this.swimtimeonelap = 0,
this.swimstrokeonelap = 0,
this.swimtype = 0,
this.swimavgstrokefreqonelap = 0,
this.swimmaxstrokefreqonelap = 0,
this.swimswolfonelap = 0,
this.swimavgpaceonelap = 0,
this.swimlapindex = 0,
this.accuracy = 0,
});