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