using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SolarPower.Models { public class AnalysisStationInfo { } public class PowerStationDevice { public int PowerStationId { get; set; } public string CityName { get; set; } public string PowerStationName { get; set; } public string DeviceName { get; set; } public string DeviceType { get; set; } public string DeviceId { get; set; } } public class PostAnalysisStation { public byte SearchType { get; set; } public string SelectedDate { get; set; } public List DeviceIdInfos { get; set; } } public class DeviceIdInfo { public int PowerStationId { get; set; } public string DeviceType { get; set; } public string DeviceId { get; set; } } public class AnalysisDevice { public List XAxis { get; set; } //時間 public Dictionary MultipleYaxes { get; set; } //Y軸名稱 public List Series { get; set; } //數組 } public class DeviceHistoryInfo { public string Name { get; set; } public string YaxesKey { get; set; } public List Values { get; set; } } }