diff --git a/Mesnac.PlcUtils/Impl/SiemensPlc.cs b/Mesnac.PlcUtils/Impl/SiemensPlc.cs index c931fa7..290a846 100644 --- a/Mesnac.PlcUtils/Impl/SiemensPlc.cs +++ b/Mesnac.PlcUtils/Impl/SiemensPlc.cs @@ -15,7 +15,7 @@ namespace Mesnac.PlcUtils.Impl private StringChange stringChange = StringChange.Instance; - private const SiemensPLCS type = SiemensPLCS.S200Smart; + private const SiemensPLCS type = SiemensPLCS.S1200; private SiemensS7Net s7 = new SiemensS7Net(type); diff --git a/Mesnac.PlcUtils/Mesnac.PlcUtils.csproj b/Mesnac.PlcUtils/Mesnac.PlcUtils.csproj index 3c5402f..f58389d 100644 --- a/Mesnac.PlcUtils/Mesnac.PlcUtils.csproj +++ b/Mesnac.PlcUtils/Mesnac.PlcUtils.csproj @@ -32,13 +32,13 @@ - Z:\Desktop\日常代码\榄菊项目\程序设计\lj_plc\PlugInPlatform\HslCommunication.dll + ..\PlugInPlatform\HslCommunication.dll - Z:\Desktop\日常代码\榄菊项目\程序设计\lj_plc\PlugInPlatform\ICSharpCode.Core.dll + ..\PlugInPlatform\ICSharpCode.Core.dll - Z:\Desktop\日常代码\榄菊项目\程序设计\lj_plc\PlugInPlatform\ICSharpCode.Data.Core.dll + ..\PlugInPlatform\ICSharpCode.Data.Core.dll