kazelee
22 小时以前 f8d23dcf8d6501482db1a5180325194232afe96c
device/TcpClient.cs
@@ -32,7 +32,7 @@
                    res = BitConverter.ToString(data).Replace("-", "");
                }
                catch (Exception ex) {
                    LogHelper.Error(ex.Message, ex);
                    LogHelper.InfoEx(ex);
                }
                client.Disconnect(true);
                client.Dispose();
@@ -42,7 +42,7 @@
        }
        /// <summary>
        /// 读保持寄存器,modbus rtu的封装
        /// 读保持寄存器,modbus rtu的封装
        /// </summary>
        /// <param name="address"></param>
        /// <param name="qty"></param>