From 5a9e2e97e78a05209a57a75a75678d67c32c58d5 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期六, 21 十月 2023 11:25:20 +0800
Subject: [PATCH] debug over
---
conf/apsClient.json | 64 +++++++++-----------------------
1 files changed, 18 insertions(+), 46 deletions(-)
diff --git a/conf/apsClient.json b/conf/apsClient.json
index 2ed7d69..975c370 100644
--- a/conf/apsClient.json
+++ b/conf/apsClient.json
@@ -2,25 +2,14 @@
"system": {
"env": "develop",
"port": 8003,
- "UseMultipoint": false,
- "UseRedis": false,
- "LimitCountIP": 15000,
- "LimitTimeIP": 3600,
- "RouterPrefix": "api",
- "SudoPassword": "basic2021",
- "deviceId": "MA-JWW-1"
+ "deviceId": "qwwt",
+ "netSetShellPath": "/data/network/",
+ "netUpShellName": "up.sh",
+ "netDownShellName": "down.sh"
},
"log": {
"path": "./logs/apsClient.log",
"encoder": "console"
- },
- "mysql": {
- "dsn": "root:c++java123@tcp(192.168.20.119:3306)/aps_client?charset=utf8&parseTime=True&loc=Local",
- "logMode": true,
- "maxIdleCon": 50,
- "maxOpenCon": 200,
- "connMaxLifeTimeSecond": 120,
- "connMaxIdleTimeSecond": 3600
},
"sqlite": {
"dsn": "aps.db",
@@ -30,44 +19,27 @@
"connMaxLifeTimeSecond": 120,
"connMaxIdleTimeSecond": 3600
},
- "redis": {
- "host": "127.0.0.1",
- "port": 6379,
- "password": "123456",
- "db": 0
- },
- "etcd": {
- "endpoints": [
- "172.20.11.127:2379"
- ],
- "dialTimeout": 5,
- "keyPrefix": "/aps/apsServer/node/",
- "tls": {
- "certFile": "/etc/kubernetes/ssl/kube-etcd-172-20-11-127.pem",
- "keyFile": "/etc/kubernetes/ssl/kube-etcd-172-20-11-127-key.pem",
- "caFile": "/etc/kubernetes/ssl/kube-ca.pem"
- }
- },
- "rancher": {
- "url": "https://121.31.232.83:8443",
- "token": "token-vvmqt:fbq7v8gwmn4bxm4j6p96jk5twmjcdzwzvnp6j787g76sq484b2b77k"
- },
- "k8s": {
- "image": "harbor.smartai.com/apsserver/apsserver:v0.4",
- "dbHost": "172.20.11.128",
- "alHost": "172.20.11.128",
- "host": "172.20.11.127",
- "ip": "172.20.11.127"
- },
"Services":{
- "apsServer": "http://127.0.0.1:9081"
+ "apsServer": "http://192.168.20.119:9081",
+ "serial": "http://192.168.20.126:9987"
},
"nsqConf": {
"NodeId": "wangpengfei",
"nsqdAddr": "121.31.232.83:4150",
"nsqlookupdAddr":""
+ },
+ "plc": {
+ "finishNumberTimeInterval": 100,
+ "totalNumberTimeInterval": 1000,
+ "modbusIntType": "DINT",
+ "slaveId": 0,
+ "package": "goborrow",
+ "standbyTime": 300
+ },
+ "prompt": {
+ "safeProduce": "璇风‘璁ゅ畨鍏ㄧ敓浜э紒",
+ "plcNotConnected": "鏃犳硶鍔犺浇鐢熶骇鏁版嵁锛岃纭缁堢璁惧鏄惁姝e父杩愯锛�"
}
-
}
--
Gitblit v1.8.0