UserJudge

dep
我叫锄头 12 months ago
parent ae9d9ea35f
commit 3067747fee

@ -29,6 +29,7 @@ using Mesnac.Action.ChemicalWeighing.Report;
using Mesnac.Action.ChemicalWeighing.InterfaceDocking.DockingEntity; using Mesnac.Action.ChemicalWeighing.InterfaceDocking.DockingEntity;
using Mesnac.Core.Service; using Mesnac.Core.Service;
using Mesnac.Basic; using Mesnac.Basic;
using Mesnac.Action.ChemicalWeighing.Util;
namespace Mesnac.Action.ChemicalWeighing.MainDetailControl namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
{ {
@ -301,12 +302,13 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
{ {
ReadFlag = 0; ReadFlag = 0;
var readName = UserInfo.Instance.RealName; var readName = UserInfo.Instance.RealName;
if (!string.IsNullOrEmpty(readName) && readName!= "mesnac" && readName != "Edit") if (UserJudge.IsNormalUser())
{ {
ReportReadDb.ReadFeededDry(); ReportReadDb.ReadFeededDry();
} }
} }
var reachSingle = RgvPlcUtil.GetRGVAllError(); var reachSingle = RgvPlcUtil.GetRGVAllError();

Loading…
Cancel
Save