debug - 实时刷新手动控制读取数据

dep_nodyang
wangsr 1 year ago
parent b1158a6a17
commit ebbe6ffcc0

@ -141,9 +141,7 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl
MesnacServiceManager.Instance.LoggingService.Info("配置已加载");
ManualLogControl("配置已加载 ");
DB2107 = new DB2107Helper();
DB2103 = new DB2103Helper();
timer = new Timer();
timer.Interval = 1000;
@ -210,7 +208,10 @@ namespace Mesnac.Action.ChemicalWeighing.ManualControl
private void ReadFromPlc(object sender, EventArgs e)
{
DB2107 = new DB2107Helper();
DB2103 = new DB2103Helper();
flag += 1;
if (flag > 10)

Loading…
Cancel
Save