更改初版
This commit is contained in:
@@ -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 消防数据
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user