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();