From 0def9429cc111cd63b2b9f129776f3db7d64a318 Mon Sep 17 00:00:00 2001 From: Kai Date: Wed, 14 Jul 2021 15:00:09 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=8A=A0=E5=85=A5=20=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E5=9F=B7=E8=A1=8C=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SolarPower/Views/StationOverview/StationOverviewInfo.cshtml | 4 +++- SolarPower/appsettings.json | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml b/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml index c9467d3..53a58a5 100644 --- a/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml +++ b/SolarPower/Views/StationOverview/StationOverviewInfo.cshtml @@ -263,6 +263,7 @@ yAxisID: 'A', backgroundColor: color.primary._300, borderColor: color.primary._500, + order: 2, data: chartToday.powerDatas }, { type: 'line', @@ -276,7 +277,8 @@ pointRadius: 4, pointHoverRadius: 5, fill: false, - data: chartToday.irradianceDatas, + order: 1, + data: chartToday.irradianceDatas, }] }, options: { diff --git a/SolarPower/appsettings.json b/SolarPower/appsettings.json index 9f5d728..30126f1 100644 --- a/SolarPower/appsettings.json +++ b/SolarPower/appsettings.json @@ -22,6 +22,10 @@ "Root": "Aph7AzoiwAmmBHCfS1rqeQ==", "Password": "8WMHBEWuT0XoAB4kzduQHA==" }, + "BackgroundServiceCron": { + "CalcPowerStationJob": "0 5 * * * ?", + "CalcAvgPowerStationJob": "0 0 2 * * ?" + }, "SMTPConfig": { "Host": "smtp.gmail.com", "Port": 25,