65 lines
2.2 KiB
C#
65 lines
2.2 KiB
C#
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; }
|
|
}
|
|
public class RowerChartModel
|
|
{
|
|
public int Power { get; set; }
|
|
public ushort Pace { get; set; }
|
|
public uint Rate { get; set; }
|
|
public int HeartRate { get; set; }
|
|
}
|
|
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; }
|
|
}
|
|
}
|