From 3067747fee0dcb3b7837810ab2ef84f383f399e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E5=8F=AB=E9=94=84=E5=A4=B4?= Date: Fri, 15 Dec 2023 11:18:11 +0800 Subject: [PATCH] UserJudge --- .../MainDetailControl/MainDetailControlAction.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs index edc7ae7..0062502 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/MainDetailControl/MainDetailControlAction.cs @@ -29,6 +29,7 @@ using Mesnac.Action.ChemicalWeighing.Report; using Mesnac.Action.ChemicalWeighing.InterfaceDocking.DockingEntity; using Mesnac.Core.Service; using Mesnac.Basic; +using Mesnac.Action.ChemicalWeighing.Util; namespace Mesnac.Action.ChemicalWeighing.MainDetailControl { @@ -301,12 +302,13 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl { ReadFlag = 0; var readName = UserInfo.Instance.RealName; - if (!string.IsNullOrEmpty(readName) && readName!= "mesnac" && readName != "Edit") + if (UserJudge.IsNormalUser()) { ReportReadDb.ReadFeededDry(); } - + + } var reachSingle = RgvPlcUtil.GetRGVAllError();