From 3521fa23334b194fb6a3eb46f755a30907009039 Mon Sep 17 00:00:00 2001 From: nodyang Date: Mon, 7 Aug 2023 20:32:34 +0800 Subject: [PATCH] SiemensPLCS.S200Smart=> s1200 --- Mesnac.PlcUtils/Impl/SiemensPlc.cs | 2 +- Mesnac.PlcUtils/Mesnac.PlcUtils.csproj | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Mesnac.PlcUtils/Impl/SiemensPlc.cs b/Mesnac.PlcUtils/Impl/SiemensPlc.cs index e14df5a..4120e52 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