设备基础命令

This commit is contained in:
“hsc”
2026-06-09 15:51:00 +08:00
parent c29519080a
commit a355373423
17 changed files with 1119 additions and 8 deletions

View File

@@ -0,0 +1,16 @@
using NModbus;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeviceCommand.Base
{
public interface IBaseInterface
{
public bool IsConnected { get; }
public Task<bool> ConnectAsync(CancellationToken ct = default);
public void Close();
}
}