diff --git a/DosingSystem/Service/SiemensDevice.cs b/DosingSystem/Service/SiemensDevice.cs index 47c46466..3b8bbe06 100644 --- a/DosingSystem/Service/SiemensDevice.cs +++ b/DosingSystem/Service/SiemensDevice.cs @@ -22,7 +22,7 @@ namespace BPASmartClient.DosingSystem public void Connect(string ip) { - GlobalDevice.PlcData = MySiemens.ReadClass(3);//获取PLC到上位机的数据 + //GlobalDevice.PlcData = MySiemens.ReadClass(3);//获取PLC到上位机的数据 while (!MySiemens.IsConnected) { MySiemens.Connect(S7.Net.CpuType.S71200, ip);