From 406defe5cd8704664e02d0e877152b7cacb80197 Mon Sep 17 00:00:00 2001 From: qsp89 Date: Thu, 8 Jan 2026 16:27:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E5=B1=8F=E8=94=BD=E5=8F=91?= =?UTF-8?q?=E9=80=81=E8=99=9A=E7=82=B9=E5=91=BD=E4=BB=A4=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E7=84=B6=E6=9D=8E=E8=80=81=E5=B8=88=E9=82=A3=E8=BE=B9=E4=BC=9A?= =?UTF-8?q?=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/ZzDataCmdService.cs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/YunDa.Server/YunDa.Server.ISMSTcp/Services/ZzDataCmdService.cs b/src/YunDa.Server/YunDa.Server.ISMSTcp/Services/ZzDataCmdService.cs index 4d1dbaa..1f380dc 100644 --- a/src/YunDa.Server/YunDa.Server.ISMSTcp/Services/ZzDataCmdService.cs +++ b/src/YunDa.Server/YunDa.Server.ISMSTcp/Services/ZzDataCmdService.cs @@ -110,16 +110,17 @@ namespace YunDa.Server.ISMSTcp.Services } }); - _ = Task.Run(async () => - { - while (true) - {//每30秒发送一次虚点命令(全体) + //暂时屏蔽发送虚点命令,不然李老师那边会卡 + //_ = Task.Run(async () => + //{ + // while (true) + // {//每30秒发送一次虚点命令(全体) - await SendVaCmd(); + // await SendVaCmd(); - await Task.Delay(TimeSpan.FromSeconds(30)); - } - }); + // await Task.Delay(TimeSpan.FromSeconds(30)); + // } + //}); } private List GetValidZzCmd(string cmdName, List ids)