From 4df72b089c81867796f33cf64834725070810aa5 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期五, 01 八月 2025 17:42:40 +0800
Subject: [PATCH] 11

---
 config/production_config.json |   27 ++++++++++++---------------
 1 files changed, 12 insertions(+), 15 deletions(-)

diff --git a/config/production_config.json b/config/production_config.json
index 6680587..0eae828 100644
--- a/config/production_config.json
+++ b/config/production_config.json
@@ -2,14 +2,12 @@
   "ConfigVersion": "1.0",
   "ProjectName": "鐢熶骇绾縈odbus鏁版嵁閲囬泦绯荤粺",
   "Description": "鍩轰簬闇�姹傛枃妗g殑鐢熶骇绾縋LC涓嶮ES閫氫俊閰嶇疆鏂囦欢",
-
   "Connection": {
-    "IpAddress": "192.168.3.250",
+    "IpAddress": "192.168.1.231",
     "Port": 502,
     "ConnectionTimeoutMs": 5000,
     "OperationTimeoutMs": 3000
   },
-
   "Communication": {
     "HeartbeatIntervalMs": 1000,
     "DataPollingIntervalMs": 500,
@@ -17,7 +15,6 @@
     "ReconnectDelayMs": 3000,
     "MaxRetryCount": 3
   },
-
   "OutputAddresses": {
     "Description": "MES鍙戦�佺粰PLC鐨勫湴鍧�閰嶇疆",
     "HeartbeatAddress": {
@@ -31,7 +28,6 @@
       "Description": "MES鏁版嵁璇诲彇纭鍦板潃锛屾暟鎹鍙朞K缃�1"
     }
   },
-
   "InputAddresses": {
     "Description": "浠嶱LC璇诲彇鐨勫湴鍧�閰嶇疆",
     "ControlSignals": {
@@ -54,7 +50,6 @@
         }
       }
     },
-
     "ProductData": {
       "ProductModel": {
         "Address": 6004,
@@ -97,10 +92,9 @@
         "Format": "YYYYMMDDHHMMSS",
         "Encoding": "BigEndian",
         "DisplayName": "璁板綍鏃堕棿",
-        "Description": "鏁版嵁璁板綍鏃堕棿鎴筹紝澶х妯″紡瀛樺偍锛屼竴涓瓧鑺備袱涓瓧绗︼紝鏍煎紡锛氬勾鏈堟棩鏃跺垎绉�"
+        "Description": "鏁版嵁璁板綍鏃堕棿鎴筹紝澶х妯″紡瀛樺偍锛屼竴涓瓧鑺備袱涓瓧绗︼紝鏍煎紡锛氬勾鏈堟棩鏃跺垎绉掞紙14浣嶏級"
       }
     },
-
     "MeasurementData": {
       "MinInstallSize": {
         "Address": 6033,
@@ -167,10 +161,10 @@
         "DataType": "Integer",
         "Length": 2,
         "Scale": 0.01,
-        "Unit": "bar",
+        "Unit": "N",
         "DecimalPlaces": 2,
         "DisplayName": "宸ヤ綔鍘嬪姏",
-        "Description": "绯荤粺宸ヤ綔鍘嬪姏锛岄粯璁や袱涓皬鏁扮偣"
+        "Description": "绯荤粺宸ヤ綔鍘嬪姏锛岄粯璁や袱涓皬鏁扮偣锛屽崟浣嶏細鐗涢】"
       },
       "UpHallSensor": {
         "Address": 6047,
@@ -184,7 +178,6 @@
       }
     }
   },
-
   "DataTypes": {
     "Description": "鏀寔鐨勬暟鎹被鍨嬪畾涔�",
     "Byte": "鍗曞瓧鑺傛暟鍊� (0-255)锛岀敤浜庡績璺冲寘銆佷俊鍙风姸鎬佺瓑",
@@ -194,19 +187,23 @@
     "Float": "娴偣鏁�",
     "Boolean": "甯冨皵鍊�"
   },
-
   "UI": {
     "WindowTitle": "鐢熶骇绾縈ES涓嶱LC閫氫俊绯荤粺",
     "AutoStartPolling": false,
     "LogLevel": "Info",
     "MaxLogLines": 1000
   },
-
   "Database": {
     "Enabled": true,
     "Type": "Oracle",
-    "ConnectionString": "Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.246)(PORT = 1521))(CONNECT_DATA = (SERVICE_NAME = ORCL))); Persist Security Info=True;User ID = wr_dev; Password=wrdev",
+    "ConnectionString": "Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.223)(PORT = 1521))(CONNECT_DATA = (SERVICE_NAME = ORCL))); Persist Security Info=True;User ID = rdmes_dev; Password=rdmesdev",
     "AutoCreateTables": true,
-    "DataRetentionDays": 90
+    "DataRetentionDays": 90,
+    "Tables": {
+      "ModbusDataTable": "PRODUCTION_DATA",
+      "CommunicationLogTable": "COMMUNICATION_LOG",
+      "ErrorLogTable": "ERROR_LOG",
+      "StatisticsTable": "STATISTICS"
+    }
   }
 }
\ No newline at end of file

--
Gitblit v1.9.3