From a8cc46897af0ec2f9d5ae0cb7a27798ba300e9bb Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期六, 26 七月 2025 16:10:11 +0800
Subject: [PATCH] 根据实际PLC数据修复数据解析逻辑
---
config/production_config.json | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/config/production_config.json b/config/production_config.json
index 6680587..5bae258 100644
--- a/config/production_config.json
+++ b/config/production_config.json
@@ -205,8 +205,14 @@
"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.92)(PORT = 1521))(CONNECT_DATA = (SERVICE_NAME = ORCL))); Persist Security Info=True;User ID = lts_dev; Password=ltsdev",
"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