diff --git a/Check.Main/Check.Main.csproj b/Check.Main/Check.Main.csproj index e8aa4b0..e03b440 100644 --- a/Check.Main/Check.Main.csproj +++ b/Check.Main/Check.Main.csproj @@ -39,7 +39,7 @@ ..\..\..\HslCommunication-master\HslCommunication.dll - C:\Program Files (x86)\MVS\Development\DotNet\win64\MvCameraControl.Net.dll + ..\..\XKRS2025\CheckDevice\Check.Main\bin\Debug\MvCameraControl.Net.dll diff --git a/Check.Main/Common/PLC_Control_Base.cs b/Check.Main/Common/PLC_Control_Base.cs index 4fb5a57..acb2024 100644 --- a/Check.Main/Common/PLC_Control_Base.cs +++ b/Check.Main/Common/PLC_Control_Base.cs @@ -12,7 +12,7 @@ namespace Check.Main.Common private readonly ModbusTcpNet _plc; private readonly object _lock = new(); public bool IsConnected => _tcpClient != null && _tcpClient.Connected;// - + // public ModbusTcpService(string ip, int port = 502, byte station = 1) { _plc = new ModbusTcpNet(ip, port, station)