' +
- '
' + inverter.powerStationName + '
' +
- '
' +
+ '
' +
+ '
' +
'' +
'
' +
+ '
' + inverter.powerStationName + '
' +
'
' +
'';
}
diff --git a/SolarPower/Views/StationOverview/Index.cshtml b/SolarPower/Views/StationOverview/Index.cshtml
index 60619cc..671e2ba 100644
--- a/SolarPower/Views/StationOverview/Index.cshtml
+++ b/SolarPower/Views/StationOverview/Index.cshtml
@@ -381,9 +381,9 @@
$('#templateCard').find('.col-xl-3').clone().attr('id', 'card_' + val.id).appendTo($('#areaCard'));
var statusicon;
switch (val.healthStatus) {
- case 1: statusicon = "
"; break;
- case 2: statusicon = "
"; break;
- case 3: statusicon = "
"; break;
+ case 1: statusicon = "
"; break;
+ case 2: statusicon = "
"; break;
+ case 3: statusicon = "
"; break;
default:
statusicon = 'NULL'; break;
}
diff --git a/SolarPower/Views/StationReport/Index.cshtml b/SolarPower/Views/StationReport/Index.cshtml
index 698e8df..33b94ed 100644
--- a/SolarPower/Views/StationReport/Index.cshtml
+++ b/SolarPower/Views/StationReport/Index.cshtml
@@ -610,21 +610,21 @@
});
if (on == true) {
str += '
' +
- '' +
- '
' + inverter.powerStationName + '
' +
- '
' +
+ '
' +
+ '
' +
'' +
'
' +
+ '
' + inverter.powerStationName + '
' +
'
' +
'';
}
else {
str += '
' +
- '' +
- '
' + inverter.powerStationName + '
' +
- '
' +
+ '
' +
+ '
' +
'' +
'
' +
+ '
' + inverter.powerStationName + '
' +
'
' +
'';
}
diff --git a/SolarPower/appsettings.Development.json b/SolarPower/appsettings.Development.json
index 2c8090f..2b2bfc9 100644
--- a/SolarPower/appsettings.Development.json
+++ b/SolarPower/appsettings.Development.json
@@ -23,10 +23,10 @@
//},
"BackgroundServiceCron": {
"CalcPowerStationJob": "0 5 * * * ?",
- "CalcAvgPowerStationJob": "0/10 * * * * ?",
+ "CalcAvgPowerStationJob": "0 0 2 * * ?",
"OperationScheduleJob": "0 0 2 * * ?",
"CalcInverter15minJob": "0 2/15 * * * ?",
- "SendEmailJob": "0/10 * * * * ?",
+ "SendEmailJob": "0 0/5 * * * ?",
"ExceptionSchedule": "0 0/5 * * * ?"
},
"SMTPConfig": {
diff --git a/SolarPower/wwwroot/js/site.js b/SolarPower/wwwroot/js/site.js
index 6812e01..da943a0 100644
--- a/SolarPower/wwwroot/js/site.js
+++ b/SolarPower/wwwroot/js/site.js
@@ -77,7 +77,7 @@ function SavePersonalInfo() {
//#region 變更密碼表單驗證
$(function () {
jQuery.validator.addMethod("pwcheck", function (value, element) {
- var xxx = /^[A-Za-z0-9\d=!@#$%^&+=]*$/.test(value);
+ var xxx = /^[A-Za-z0-9\d!@#$%^&*()_=|]*$/.test(value);
return xxx;// consists of only these
//&& /[a-z]/.test(value) // has a lowercase letter
//&& /\d/.test(value) // has a digit
@@ -103,10 +103,10 @@ $(function () {
},
messages: {
new_password_modal: {
- pwcheck: "密碼格式錯誤,格式需為大小寫英文或數字或特殊符號【!@#$%^&+=】"
+ pwcheck: "密碼格式錯誤,格式需為大小寫英文或數字或特殊符號"
},
again_password_modal: {
- pwcheck: "密碼格式錯誤,格式需為大小寫英文或數字或特殊符號【!@#$%^&+=】",
+ pwcheck: "密碼格式錯誤,格式需為大小寫英文或數字或特殊符號",
equalTo: "兩次密碼輸入不同"
}
}