WIDESEAWCS_Server/WIDESEAWCS_Communicator/BaseCommunicator.cs
@@ -21,6 +21,9 @@ namespace WIDESEAWCS_Communicator { /// <summary> /// 基础通讯抽象类,封装连接、断开连接、读取、写入等方法 /// </summary> public abstract class BaseCommunicator : IDisposable { /// <summary> @@ -40,6 +43,11 @@ /// </summary> public abstract string Name { get; } /// <summary> /// 是否在写入数据后读取数据确认。 /// </summary> public abstract bool IsReadAfterWrite { get; set; } /// <summary> /// 获取当前通讯器是否已连接到PLC。 /// </summary>