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.
67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"AppConfig": {
|
|
"logPath": "E:\\c#\\京源环保\\程序设计\\生产控制\\SlnMesnac\\SlnMesnac.WPF\\bin\\Debug\\net6.0-windows",
|
|
"stationId": 11,
|
|
"SqlConfig": [
|
|
{
|
|
"configId": "mes",
|
|
"dbType": 0,
|
|
// "connStr": "Data Source=175.27.215.92;Port=3306;Initial Catalog=hwry-cloud;uid=root;pwd=haiwei@123;Charset=utf8mb4;SslMode=none"
|
|
"connStr": "Data Source=172.16.12.100;Port=3306;Initial Catalog=hwjy-cloud;uid=root;pwd=JyhbRk@123456;Charset=utf8mb4;SslMode=none"
|
|
},
|
|
{
|
|
"configId": "local",
|
|
"dbType": 2,
|
|
"connStr": "DataSource=E:\\c#\\京源环保\\程序设计\\生产控制\\SlnMesnac\\SlnMesnac.WPF\\bin\\Debug\\net6.0-windows\\data\\data.db"
|
|
}
|
|
//{
|
|
// "configId": "mesTD",
|
|
// "dbType": 17,
|
|
// "connStr": "Host=175.27.215.92;Port=6030;Username=root;Password=taosdata;Database=db_hwmes"
|
|
//},
|
|
|
|
//{
|
|
// "configId": "scada",
|
|
// "dbType": 0,
|
|
// "connStr": "Data Source=175.27.215.92;Port=3306;Initial Catalog=jy-scada;uid=root;pwd=haiwei@123;Charset=utf8mb4;SslMode=none"
|
|
//}
|
|
],
|
|
"PlcConfig": [
|
|
{
|
|
"configId": 1,
|
|
"plcType": "SiemensPlc",
|
|
"plcIp": "127.0.0.1",
|
|
"plcPort": 102,
|
|
"plcKey": "plc",
|
|
"isFlage": true
|
|
},
|
|
{
|
|
"configId": 2, //MES信号处理
|
|
"plcType": "SiemensPlc",
|
|
"plcIp": "127.0.0.1",
|
|
"plcPort": 103,
|
|
"plcKey": "mesSingal",
|
|
"isFlage": false
|
|
}
|
|
],
|
|
"RfidConfig": [
|
|
{
|
|
"configId": 1,
|
|
"equipIp": "127.0.0.1",
|
|
"equipPort": 6000,
|
|
"equipKey": "test",
|
|
"isFlage": false
|
|
}
|
|
]
|
|
//"redisConfig": "175.27.215.92:6379,password=redis@2023"
|
|
}
|
|
}
|