1. 修改電站交叉分析

2. 修改appsettings
This commit is contained in:
Kai 2021-11-11 14:11:59 +08:00
parent 478e49f4c2
commit 8d20c0ca54
3 changed files with 4 additions and 3 deletions

View File

@ -204,6 +204,8 @@ namespace SolarPower.Controllers
} }
XAxis.Sort(); XAxis.Sort();
analysisDevice.XAxis = XAxis;
#region #region
if (powerStationHistories.Count() > 0) if (powerStationHistories.Count() > 0)
{ {
@ -599,7 +601,6 @@ namespace SolarPower.Controllers
#endregion #endregion
apiResult.Code = "0000"; apiResult.Code = "0000";
apiResult.Data = analysisDevice; apiResult.Data = analysisDevice;
} }
catch (Exception exception) catch (Exception exception)

View File

@ -26,7 +26,7 @@
"BackgroundServiceCron": { "BackgroundServiceCron": {
"CalcPowerStationJob": "0 5 * * * ?", "CalcPowerStationJob": "0 5 * * * ?",
"CalcAvgPowerStationJob": "0 0 2 * * ?", "CalcAvgPowerStationJob": "0 0 2 * * ?",
"OperationScheduleJob": "0 0 2 * * ?", "OperationScheduleJob": "0 0 8 * * ?",
"CalcInverter15minJob": "0 2/15 * * * ?", "CalcInverter15minJob": "0 2/15 * * * ?",
"SendEmailJob": "0 0/5 * * * ?", "SendEmailJob": "0 0/5 * * * ?",
"ExceptionSchedule": "0 0/5 * * * ?" "ExceptionSchedule": "0 0/5 * * * ?"

View File

@ -27,7 +27,7 @@
"BackgroundServiceCron": { "BackgroundServiceCron": {
"CalcPowerStationJob": "0 5 * * * ?", "CalcPowerStationJob": "0 5 * * * ?",
"CalcAvgPowerStationJob": "0 0 2 * * ?", "CalcAvgPowerStationJob": "0 0 2 * * ?",
"OperationScheduleJob": "0 0 2 * * ?", "OperationScheduleJob": "0 0 8 * * ?",
"CalcInverter15minJob": "0 2/15 * * * ?", "CalcInverter15minJob": "0 2/15 * * * ?",
"SendEmailJob": "0 0/5 * * * ?", "SendEmailJob": "0 0/5 * * * ?",
"ExceptionSchedule": "0 0/5 * * * ?" "ExceptionSchedule": "0 0/5 * * * ?"