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..6df1f36 100644 --- a/Check.Main/Common/PLC_Control_Base.cs +++ b/Check.Main/Common/PLC_Control_Base.cs @@ -2,7 +2,7 @@ using HslCommunication.ModBus; using System; using System.Net.Sockets; - +// // ModbusTcp读写服务类,线程安全,互斥锁 namespace Check.Main.Common { @@ -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) diff --git a/Check.Main/Process_Img.cs b/Check.Main/Process_Img.cs index 7271ad8..9c4cf90 100644 --- a/Check.Main/Process_Img.cs +++ b/Check.Main/Process_Img.cs @@ -9,7 +9,7 @@ using System.Collections.Concurrent; using System.Threading.Tasks; using System.Diagnostics; using System.Threading; - +//cyf public class ProcessImg { // 对单个图像进行模板匹配