CLCmdGoGpsUpStreamData constructor

CLCmdGoGpsUpStreamData({
  1. int timestamp = 0,
  2. int secondindex = 0,
  3. int mSport_type = 4,
  4. double speed = 0.0,
  5. double longitude = 0.0,
  6. double latitude = 0.0,
  7. double altitude = 0.0,
  8. int distance_km = 0,
  9. int distance_km_max = 0,
  10. int heartrate = 0,
  11. int stamina = 0,
  12. int stamina_aerobic = 0,
  13. int stamina_anerobic = 0,
  14. int kcal = 0,
  15. int kcal_max = 0,
  16. int cadance = 0,
  17. double deltadis = 0.0,
  18. int steps = 0,
  19. int swimtimeonelap = 0,
  20. int swimstrokeonelap = 0,
  21. int swimtype = 0,
  22. int swimavgstrokefreqonelap = 0,
  23. int swimmaxstrokefreqonelap = 0,
  24. int swimswolfonelap = 0,
  25. int swimavgpaceonelap = 0,
  26. int swimlapindex = 0,
  27. 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,
});