31 lines
864 B
C#
31 lines
864 B
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 AnalysisInverter
|
|
{
|
|
public List<string> XAxis { get; set; } //時間
|
|
public List<string> MultipleYaxes { get; set; } //Y軸名稱
|
|
public Dictionary<string, List<InverterHistoryInfo>> Series { get; set; } //數組
|
|
}
|
|
|
|
public class InverterHistoryInfo
|
|
{
|
|
public string Time { get; set; }
|
|
public string Yaxes { get; set; }
|
|
public double Value { get; set; }
|
|
}
|
|
}
|