{ "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=hwjy-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": "192.168.2.220", // "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": [ { // 小包码垛位RFID "configId": 1, "equipIp": "192.168.2.27", "equipPort": 20108, "equipKey": "secondFloorPallet", "isFlage": true }, { // 小包出口位RFID "configId": 2, "equipIp": "192.168.2.28", "equipPort": 20108, "equipKey": "secondFloorOut", "isFlage": true } ] //"redisConfig": "175.27.215.92:6379,password=redis@2023" } }