+ @ViewData["Title"] +
+總結
+| 時間 | +發電量(kWh) | +發電小時 | +日射量(kWh/m2) | +PR(%) | +溫度修正PR(%) | +
|---|---|---|---|---|---|
| 2021-05 | +126,121.7 | +119.04 | +140.39 | +84.8 | +91.9 | +
放圖表
+diff --git a/SolarPower/Controllers/StationOverviewController.cs b/SolarPower/Controllers/StationOverviewController.cs index 11f682d..f95e50b 100644 --- a/SolarPower/Controllers/StationOverviewController.cs +++ b/SolarPower/Controllers/StationOverviewController.cs @@ -182,6 +182,7 @@ namespace SolarPower.Controllers stationOverview.TodayWeatherTemp = powerStation.TodayWeatherTemp; stationOverview.RateOfRain = powerStation.RateOfRain; stationOverview.StationName = powerStation.Name; + stationOverview.HealthStatus = powerStation.HealthStatus; apiResult.Code = "0000"; apiResult.Data = stationOverview; diff --git a/SolarPower/Models/Overview.cs b/SolarPower/Models/Overview.cs index 7777442..29616cb 100644 --- a/SolarPower/Models/Overview.cs +++ b/SolarPower/Models/Overview.cs @@ -61,6 +61,7 @@ namespace SolarPower.Models public double TodayWeatherTemp { get; set; } public string StationName { get; set; } public string CityName { get; set; } + public byte HealthStatus { get; set; } } public class ChartUptoDate diff --git a/SolarPower/Views/AnalysisInverter/Index.cshtml b/SolarPower/Views/AnalysisInverter/Index.cshtml index 6b1a4a0..9b42293 100644 --- a/SolarPower/Views/AnalysisInverter/Index.cshtml +++ b/SolarPower/Views/AnalysisInverter/Index.cshtml @@ -3,5 +3,456 @@ ViewData["SubNum"] = "3"; ViewData["Title"] = "逆變器交叉分析"; } -@using SolarPower.Models.Role -@model RoleLayerEnum \ No newline at end of file + +
| 時間 | +發電量(kWh) | +發電小時 | +日射量(kWh/m2) | +PR(%) | +溫度修正PR(%) | +
|---|---|---|---|---|---|
| 2021-05 | +126,121.7 | +119.04 | +140.39 | +84.8 | +91.9 | +
放圖表
+