49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"LoginExpireMinute": 60, //登入到期時間,單位(分)
|
|
"GoBackDay": 3, //補償機制(背景執行(每天)),回推天數
|
|
"DBConfig": {
|
|
"Server": "MVgHWzR3rGDgD57TUoFunA==",
|
|
"port": "r4AoXMUDodcQjIzofGNCcg==",
|
|
"Database": "z8TVtiXZ6MwgWbUEAOXA/fiHzd7c0iUhFqn1mHzxhKo=",
|
|
"Root": "mWlR2HshQNhRRE34jg4kdg==",
|
|
"Password": "y4uPqlH9ncTgR/I07qpwaA=="
|
|
},
|
|
"mySql": "server=210.61.91.43;user=idafenweb;Database=solar_power_test;Port=10068;password=P@ssw0rd;charset='utf8';pooling=true;sslmode=none;",
|
|
//"DBConfig": {
|
|
// "Server": "AVXfxd+IRlLtJ0MCi9HU1g==",
|
|
// "port": "CrEmevYrUsSo7Mkb7Gxn8A==",
|
|
// "Database": "CEyYZnO8B5+yTXQcFSsiBA==",
|
|
// "Root": "Aph7AzoiwAmmBHCfS1rqeQ==",
|
|
// "Password": "8WMHBEWuT0XoAB4kzduQHA=="
|
|
//},
|
|
"BackgroundServiceCron": {
|
|
"CalcPowerStationJob": "0 5 * * * ?",
|
|
"CalcAvgPowerStationJob": "0/10 * * * * ?",
|
|
"OperationScheduleJob": "0 0 2 * * ?",
|
|
"CalcInverter15minJob": "0 2/15 * * * ?",
|
|
"SendEmailJob": "0 0/5 * * * ?",
|
|
"ExceptionSchedule": "0 0/5 * * * ?"
|
|
},
|
|
"SMTPConfig": {
|
|
"Host": "smtp.gmail.com",
|
|
"Port": 25,
|
|
"UserName": "shanghohui@gmail.com",
|
|
"Password": "wswgnluvoodfexrb",
|
|
"EnableSsl": true
|
|
}
|
|
//"SMTPConfig": {
|
|
// "Host": "smtp.gmail.com",
|
|
// "Port": 25,
|
|
// "UserName": "ficgreen01@gmail.com",
|
|
// "Password": "qwe2015qwe",
|
|
// "EnableSsl": true
|
|
//}
|
|
}
|