From 15ec20ac549bbb655e18bdc8592ba47fdab20890 Mon Sep 17 00:00:00 2001 From: liuwf Date: Sat, 10 Aug 2024 15:28:28 +0800 Subject: [PATCH] =?UTF-8?q?change-=E5=BF=BD=E7=95=A5=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +- src/Khd.Core.Wcs/appsettings.json | 50 ------------------------------- 2 files changed, 2 insertions(+), 51 deletions(-) delete mode 100644 src/Khd.Core.Wcs/appsettings.json diff --git a/.gitignore b/.gitignore index 7afbb02..b8fd38f 100644 --- a/.gitignore +++ b/.gitignore @@ -339,4 +339,5 @@ ASALocalRun/ # BeatPulse healthcheck temp database healthchecksdb -appsettings.demo.json \ No newline at end of file +appsettings.demo.json +/src/Khd.Core.Wcs/appsettings.json diff --git a/src/Khd.Core.Wcs/appsettings.json b/src/Khd.Core.Wcs/appsettings.json deleted file mode 100644 index fb47994..0000000 --- a/src/Khd.Core.Wcs/appsettings.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "ConnectionStrings": { - //"DefaultConnection": "server=106.12.13.113;port=3336;database=khd_jyhb;uid=khd;pwd=khd@123;charset='utf8';persistsecurityinfo=True;SslMode=none;Allow User Variables=True", - //"DefaultConnection": "server=172.16.12.100;port=3306;database=hwjy-cloud;uid=kehaida;pwd=khdrkjy2024...;charset='utf8';persistsecurityinfo=True;SslMode=None;Allow User Variables=True" - //"DefaultConnection": "server=localhost;port=3306;database=jyhb;uid=root;pwd=root;charset='utf8';persistsecurityinfo=True;SslMode=None;Allow User Variables=True" - "DefaultConnection": "server=175.27.215.92;port=3306;database=hwjy-cloud;uid=kehaida;pwd=khd2024;charset='utf8';persistsecurityinfo=True;SslMode=None;Allow User Variables=True" - }, - "DeleteLogDays": 10,//删除日志的时间间隔,单位:天 - "PlcConfigs": [ - { - "IP": "192.168.2.30", - "Port": 102, //102是默认端口 - "CpuType": 40, - "Rack": 0, - "Slot": 1, - "Code": 0 - }, //提升机,接驳位 - { - "IP": "192.168.2.31", - "Port": 102, //102是默认端口 - "CpuType": 40, - "Rack": 0, - "Slot": 1, - "Code": 1 - }, //U型线 - { - "IP": "192.168.2.220", - "Port": 102, //102是默认端口 - "CpuType": 40, - "Rack": 0, - "Slot": 1, - "Code": 2 - } //二楼三楼设备,陈工提供。 - ], - "PLCSetting": { - "Mode": "0", - "EquipCode": "H61,H62,H63", - "Interval": "2000", - "AutoStart": "0", - "WaitTime": "60000", - "SiteCode": "999" - }, - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Error", - "Microsoft.Hosting.Lifetime": "Information" - } - } -}