1. bug fix

This commit is contained in:
Kai 2021-08-25 17:00:05 +08:00
parent c7a3fc3302
commit 0567483eba
2 changed files with 3 additions and 3 deletions

View File

@ -276,8 +276,8 @@ namespace SolarPower.Controllers
analysisDevice.Series.Add(PR); analysisDevice.Series.Add(PR);
DeviceHistoryInfo modelTemperature = new DeviceHistoryInfo(); DeviceHistoryInfo modelTemperature = new DeviceHistoryInfo();
modelTemperature.Name = string.Format("{0}:{1}", powerStation.Name, analysisDevice.MultipleYaxes["ModelTemperature"]); modelTemperature.Name = string.Format("{0}:{1}", powerStation.Name, analysisDevice.MultipleYaxes["Temperature"]);
modelTemperature.YaxesKey = "ModelTemperature"; modelTemperature.YaxesKey = "Temperature";
modelTemperature.Values = new List<double>(); modelTemperature.Values = new List<double>();
foreach (var history in temp_item) foreach (var history in temp_item)
{ {

View File

@ -126,7 +126,7 @@
{ key: "Irradiance", title: "日照度", default: true }, { key: "Irradiance", title: "日照度", default: true },
{ key: "KWHKWP", title: "發電小時", default: false }, { key: "KWHKWP", title: "發電小時", default: false },
{ key: "PR", title: "PR %", default: false }, { key: "PR", title: "PR %", default: false },
{ key: "ModelTemperature", title: "模組溫度", default: false }, { key: "Temperature", title: "模組溫度", default: false },
{ key: "SolarHour", title: "日照小時", default: false } { key: "SolarHour", title: "日照小時", default: false }
] ]
var PWR_compare_col = [ var PWR_compare_col = [