From 15861bcbfbd655620ab5c7c69b6b144754cb3b15 Mon Sep 17 00:00:00 2001
From: quanzhou <quan.zhou@broconcentric.com>
Date: 星期五, 26 十二月 2025 10:08:09 +0800
Subject: [PATCH] 修改PLC数据读取的对象。
---
src/Bro.M141.Process/M141Process_Mysql.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Bro.M141.Process/M141Process_Mysql.cs b/src/Bro.M141.Process/M141Process_Mysql.cs
index e14519a..592ceda 100644
--- a/src/Bro.M141.Process/M141Process_Mysql.cs
+++ b/src/Bro.M141.Process/M141Process_Mysql.cs
@@ -120,7 +120,7 @@
if (!string.IsNullOrEmpty(index))
{
- string str2 = $"delete from forlocal where id < ({index}-1000)";
+ string str2 = $"delete from forlocal where id < ({index}-2000)";
Operatoremysql(str2, connStrLocal);
}
@@ -283,7 +283,7 @@
if (!string.IsNullOrEmpty(index))
{
- string str2 = $"delete from forall where id < ({index}-1000)";
+ string str2 = $"delete from forall where id < ({index}-2000)";
Operatoremysql(str2, connStrAll);
}
--
Gitblit v1.8.0