取消注释

This commit is contained in:
2025-10-20 17:32:50 +08:00
parent 165963d337
commit 42f8bb7642
2 changed files with 3 additions and 3 deletions

View File

@@ -2,13 +2,13 @@
using HslCommunication.ModBus;
using System;
using System.Net.Sockets;
//
// ModbusTcp读写服务类线程安全互斥锁
namespace Check.Main.Common
{
public class ModbusTcpService
{
private readonly TcpClient _tcpClient = new();//
private readonly TcpClient _tcpClient = new();
private readonly ModbusTcpNet _plc;
private readonly object _lock = new();
public bool IsConnected => _tcpClient != null && _tcpClient.Connected;//