From 334d577b516538cd2c502dc64c631c322c5336d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=94=84=E5=A4=B4?= Date: Tue, 13 Aug 2024 07:47:43 +0800 Subject: [PATCH] sb.Action(); --- .../MainDetailControl/MainDetailControlAction.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs index 0fe2df7..98206c1 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs @@ -583,13 +583,18 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl if (bao > 2) { - bao = 0; + bao = 0; try { ThreadPool.QueueUserWorkItem((ty) => { AlarmControl(); - sb.Action(); + if (UserJudge.IsSettingNormalUser) + { + sb.Action(); + + } + }); }