You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.7 KiB
JSON
61 lines
1.7 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"AppConfig": {
|
|
"logPath": "E:/桌面/杜肯密炼MES项目/程序设计/Durk.SlnMesnac/SlnMesnac/bin/Debug/net6.0",
|
|
"mcsOpenAddr": "D100",
|
|
"mcsBinStatusAddr": "M10811,M10813,M10815,M10817,M10819,M10821,M10823,M10825",
|
|
"cwssOpenAddr": "D3852",
|
|
"cwssBinStatusAddr": "D3851",
|
|
"SqlConfig": [
|
|
{
|
|
"configId": "mcs",
|
|
"dbType": 1, //MySql-0;SqlServer-1;Sqlite-2;Oracle-3
|
|
"connStr": "server=58.63.214.27,23313;uid=dkmes;pwd=Duken123;database=mesnac_MCS_ShareDB"
|
|
},
|
|
{
|
|
"configId": "wms",
|
|
"dbType": 1,
|
|
"connStr": "server=58.63.214.27,23314;uid=dk_mes;pwd=dk_mes;database=gzdk_interaction_mes"
|
|
},
|
|
{
|
|
"configId": "cwss",
|
|
"dbType": 1,
|
|
"connStr": "server=58.63.214.27,23315;uid=dkmes;pwd=Duken123;database=ShareDB_MES"
|
|
},
|
|
{
|
|
"configId": "mesApi",
|
|
"dbType": 2,
|
|
"connStr": "DataSource=E:\\桌面\\杜肯密炼MES项目\\程序设计\\Durk.SlnMesnac\\SlnMesnac\\bin\\Debug\\net6.0\\data\\data.db"
|
|
},
|
|
{
|
|
"configId": "mes",
|
|
"dbType": 1,
|
|
"connStr": "server=123.60.55.13,39711;uid=sa;pwd=MeS@2024?;database=Mes"
|
|
}
|
|
],
|
|
"PlcConfig": [
|
|
{
|
|
"configId": 1,
|
|
"plcType": "MelsecBinaryPlc",
|
|
"plcIp": "127.0.0.1", //192.168.1.71
|
|
"plcPort": 6000,
|
|
"plcKey": "mcs"
|
|
},
|
|
{
|
|
"configId": 2,
|
|
"plcType": "MelsecBinaryPlc",
|
|
"plcIp": "127.0.0.1",
|
|
"plcPort": 6001,
|
|
"plcKey": "cwss"
|
|
}
|
|
]
|
|
}
|
|
}
|