From 09cca68d0f6c438ab44ee26a164aa8976d2e7558 Mon Sep 17 00:00:00 2001 From: Kai Date: Tue, 18 Jan 2022 18:46:38 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=8A=A0=E5=85=A5=E8=A6=81=E6=AF=94?= =?UTF-8?q?=E8=BC=83=E7=9A=84=E6=AC=84=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SolarPower/Controllers/AnalysisStationInfoController.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SolarPower/Controllers/AnalysisStationInfoController.cs b/SolarPower/Controllers/AnalysisStationInfoController.cs index bf7831f..34ef549 100644 --- a/SolarPower/Controllers/AnalysisStationInfoController.cs +++ b/SolarPower/Controllers/AnalysisStationInfoController.cs @@ -151,6 +151,7 @@ namespace SolarPower.Controllers analysisDevice.MultipleYaxes = new Dictionary() { { "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";