From 038587a4ff652278fe22c2d03c1ebb602b95c5f0 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期二, 22 七月 2025 12:54:49 +0800
Subject: [PATCH] 增强数据库功能和用户界面
---
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