串口连接修复

This commit is contained in:
“hsc”
2026-08-03 13:07:48 +08:00
parent 2e74627b31
commit 63af886f26
11 changed files with 11 additions and 433 deletions

View File

@@ -1,6 +1,7 @@
using Common;
using Common.Attributes;
using DeviceCommand.Base;
using Model.Models;
using System.Threading;
using System.Threading.Tasks;
@@ -15,9 +16,8 @@ namespace DeviceCommand.Device
/// <summary>
/// 构造函数SCPI 通信使用端口 23
/// </summary>
public PW8001()
public PW8001(TcpConfig config) : base(config)
{
Port = 23;
}
/// <summary>