58 lines
1.6 KiB
C#
58 lines
1.6 KiB
C#
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<InverterIdInfo> 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<string> InverterIds { get; set; }
|
|
}
|
|
|
|
public class AnalysisInverter
|
|
{
|
|
public List<string> XAxis { get; set; } //時間
|
|
public List<string> XAxisOnTime { get; set; } //時間(整點)
|
|
public Dictionary<string, string> MultipleYaxes { get; set; } //Y軸名稱
|
|
public List<InverterHistoryInfo> Series { get; set; } //數組
|
|
}
|
|
|
|
public class InverterHistoryInfo
|
|
{
|
|
public string Name { get; set; }
|
|
public string YaxesKey { get; set; }
|
|
public List<double> Values { get; set; }
|
|
}
|
|
|
|
public class StationIdWithInverterIds
|
|
{
|
|
public int PowerStationId { get; set; }
|
|
public List<string> InverterIds { get; set; }
|
|
}
|
|
}
|