1. 加入要比較的欄位

This commit is contained in:
Kai 2022-01-18 18:46:38 +08:00
parent dcf25a88b3
commit 09cca68d0f

View File

@ -151,6 +151,7 @@ namespace SolarPower.Controllers
analysisDevice.MultipleYaxes = new Dictionary<string, string>()
{
{ "KWH", "發電量"},
{ "IrrDay", "累計日照度"},
{ "Irradiance", "日照度"},
{ "KWHKWP", "發電小時"},
{ "PR", "PR %"},
@ -551,6 +552,10 @@ namespace SolarPower.Controllers
var YaxesKey = "";
switch (device.Type)
{
case "TPY": //日照計
suffix = analysisDevice.MultipleYaxes["IrrDay"];
YaxesKey = "IrrDay";
break;
case "PYR": //日照計
suffix = analysisDevice.MultipleYaxes["Irradiance"];
YaxesKey = "Irradiance";