54 lines
1.6 KiB
JSON
54 lines
1.6 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"LoginExpireMinute": 60, //登入到期時間,單位(分)
|
|
"GoBackDay": 1, //補償機制(背景執行(每天)),回推天數
|
|
"mySql": "server=60.251.164.103;user=webuser;Database=solar_master;Port=11306;password=FICadmin99;charset='utf8';pooling=true;sslmode=none;",
|
|
|
|
//"DBConfig": {
|
|
// "Server": "MVgHWzR3rGDgD57TUoFunA==",
|
|
// "port": "r4AoXMUDodcQjIzofGNCcg==",
|
|
// "Database": "Lxlx7Hae506yu/zopo2npw==",
|
|
// "Root": "mWlR2HshQNhRRE34jg4kdg==",
|
|
// "Password": "y4uPqlH9ncTgR/I07qpwaA=="
|
|
//},
|
|
// FIC 預發佈環境
|
|
//"DBConfig": {
|
|
// "Server": "MWAxcj1mgmbZ8tB6NgApnQ==",
|
|
// "port": "CY1x+1WYXRCBab3wKnBCOQ==",
|
|
// "Database": "CEyYZnO8B5+yTXQcFSsiBA==",
|
|
// "Root": "pBX64+ALGFnLiHGRFXNh7w==",
|
|
// "Password": "bOlWkSFsV3qNLkZTJ3UPog=="
|
|
//},
|
|
// 正式
|
|
"DBConfig": {
|
|
"Server": "AVXfxd+IRlLtJ0MCi9HU1g==",
|
|
"port": "CrEmevYrUsSo7Mkb7Gxn8A==",
|
|
"Database": "CEyYZnO8B5+yTXQcFSsiBA==",
|
|
"Root": "Aph7AzoiwAmmBHCfS1rqeQ==",
|
|
"Password": "8WMHBEWuT0XoAB4kzduQHA=="
|
|
},
|
|
"BackgroundServiceCron": {
|
|
"CalcPowerStationJob": "0 05 * * * ?",
|
|
"CalcAvgPowerStationJob": "0 12 0 * * ?",
|
|
"OperationScheduleJob": "0 0 8 * * ?",
|
|
"CalcInverter15minJob": "0 2/15 * * * ?",
|
|
"SendEmailJob": "0 0/5 * * * ?",
|
|
"ExceptionSchedule": "0 0/5 * * * ?"
|
|
},
|
|
"SMTPConfig": {
|
|
"Host": "smtp.gmail.com",
|
|
"Port": 25,
|
|
"UserName": "ficgreen01@gmail.com",
|
|
"Password": "qwe2015qwe",
|
|
"EnableSsl": true
|
|
},
|
|
"ExceptionTimes": 240 //異常通知時間,單位(分鐘)
|
|
}
|