2021-09-23 18:14:53 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Assets.Scripts.Apis.Models
|
|
|
|
|
|
{
|
|
|
|
|
|
public class RowerRecordModel
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public string ManufacturerName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public string DeviceNumber { get; set; }
|
|
|
|
|
|
public double? Kj { get; set; }
|
|
|
|
|
|
public int Ticks { get; set; }
|
|
|
|
|
|
public double Weight { get; set; }
|
|
|
|
|
|
public DateTime StartTime { get; set; }
|
|
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
|
public int MaxPower { get; set; }
|
|
|
|
|
|
public ushort MaxPace { get; set; }
|
|
|
|
|
|
public uint MaxRate { get; set; }
|
|
|
|
|
|
public double AvgPace { get; set; }
|
|
|
|
|
|
public double AvgPower { get; set; }
|
|
|
|
|
|
public double AvgRate { get; set; }
|
|
|
|
|
|
public int MaxHeartRate { get; set; }
|
|
|
|
|
|
public int AvgHeartRate { get; set; }
|
|
|
|
|
|
public ushort StrokeCount { get; set; }
|
|
|
|
|
|
public uint TotalDistance { get; set; }
|
|
|
|
|
|
public int TotalTime { get; set; }
|
2022-03-10 18:10:34 +08:00
|
|
|
|
public int? Type { get; set; }
|
|
|
|
|
|
public double? TypeValue { get; set; }
|
2021-09-23 18:14:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
public class RowerChartModel
|
|
|
|
|
|
{
|
|
|
|
|
|
public int Power { get; set; }
|
|
|
|
|
|
public ushort Pace { get; set; }
|
|
|
|
|
|
public uint Rate { get; set; }
|
|
|
|
|
|
public int HeartRate { get; set; }
|
2022-03-10 18:10:34 +08:00
|
|
|
|
public int Distance { get; set; }
|
|
|
|
|
|
public int StrokeCount { get; set; }
|
2021-09-23 18:14:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
public class RowerResultModel
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public string ManufacturerName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public string DeviceNumber { get; set; }
|
|
|
|
|
|
public double? Kj { get; set; }
|
|
|
|
|
|
public DateTime StartTime { get; set; }
|
|
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
|
public int MaxPower { get; set; }
|
|
|
|
|
|
public ushort MaxPace { get; set; }
|
|
|
|
|
|
public uint MaxRate { get; set; }
|
|
|
|
|
|
public double AvgPace { get; set; }
|
|
|
|
|
|
public double AvgPower { get; set; }
|
|
|
|
|
|
public double AvgRate { get; set; }
|
|
|
|
|
|
public int MaxHeartRate { get; set; }
|
|
|
|
|
|
public int AvgHeartRate { get; set; }
|
|
|
|
|
|
public ushort StrokeCount { get; set; }
|
|
|
|
|
|
public uint TotalDistance { get; set; }
|
|
|
|
|
|
public int TotalTime { get; set; }
|
|
|
|
|
|
public List<RowerChartModel> ChartList { get; set; }
|
|
|
|
|
|
public string Cover { get; set; }
|
|
|
|
|
|
}
|
2022-03-10 18:10:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class SegmentList
|
|
|
|
|
|
{
|
|
|
|
|
|
public int Ticks { get; set; }
|
|
|
|
|
|
public int Distance { get; set; }
|
|
|
|
|
|
public int Speed { get; set; }
|
|
|
|
|
|
public int Power { get; set; }
|
|
|
|
|
|
public int HeartRate { get; set; }
|
|
|
|
|
|
public int StrokeCount { get; set; }
|
|
|
|
|
|
public int Energy { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class RowerRank
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
public int UserId { get; set; }
|
|
|
|
|
|
public int Time { get; set; }
|
|
|
|
|
|
public int TotalDistance { get; set; }
|
|
|
|
|
|
public string NickName { get; set; }
|
|
|
|
|
|
public string WxHeadImg { get; set; }
|
|
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
|
public bool isFinished { get; set; }
|
|
|
|
|
|
public List<RowerChartModel> list { get; set; }
|
|
|
|
|
|
public string Country { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class Info
|
|
|
|
|
|
{
|
|
|
|
|
|
public string CreateTime { get; set; }
|
|
|
|
|
|
public string MyRank { get; set; }
|
|
|
|
|
|
public int? Type { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class RowerSegmentData
|
|
|
|
|
|
{
|
|
|
|
|
|
public List<SegmentList> segmentList { get; set; }
|
|
|
|
|
|
public List<RowerRank> ranks { get; set; }
|
|
|
|
|
|
public Info info { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-09-23 18:14:53 +08:00
|
|
|
|
}
|