串口连接修复
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Common.Attributes;
|
||||
using DeviceCommand.Base;
|
||||
using Model.Models;
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
@@ -12,6 +13,9 @@ namespace DeviceCommand.Devices
|
||||
[ACPCommand]
|
||||
public class RLT1000 : ModbusTcp
|
||||
{
|
||||
public RLT1000(TcpConfig config) : base(config)
|
||||
{
|
||||
}
|
||||
private const byte SlaveId = 1;
|
||||
|
||||
#region 读取
|
||||
|
||||
Reference in New Issue
Block a user