更改初版

This commit is contained in:
2025-12-25 11:13:13 +08:00
parent 51e4d5add4
commit 7c001e6396
15 changed files with 1450 additions and 100 deletions

View File

@@ -166,6 +166,16 @@ namespace OrpaonEMS.App.Services
set { _LinkStateMsg = value; RaisePropertyChanged(); }
}
/// <summary>
/// 关闭连接
/// </summary>
public void CloseDrive()
{
ThreadEnable=false;
if (ModbusRtuDrive!=null) ModbusRtuDrive!.Close();
}
#region