using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SolarPower.Models { public class PowerStationInverter { public int PowerStationId { get; set; } public string CityName { get; set; } public string PowerStationName { get; set; } public string InverterName { get; set; } public string InverterId { get; set; } } public class PostAnalysisInverter { public byte SearchType { get; set; } public string SelectedDate { get; set; } public List InverterIdInfos { get; set; } } public class InverterIdInfo { public int PowerStationId { get; set; } public string InverterId { get; set; } } public class StationCodeWithInverterIds { public string SiteDB { get; set; } public string Code { get; set; } public List InverterIds { get; set; } } public class AnalysisInverter { public List XAxis { get; set; } //時間 public Dictionary MultipleYaxes { get; set; } //Y軸名稱 public List Series { get; set; } //數組 } public class InverterHistoryInfo { public string Name { get; set; } public string YaxesKey { get; set; } public List Values { get; set; } } public class StationIdWithInverterIds { public int PowerStationId { get; set; } public List InverterIds { get; set; } } }