From 2f75b4c0a67ccc3a443e7cc4f2f0f909defd9a92 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期五, 01 十一月 2024 09:49:23 +0800 Subject: [PATCH] 版本更新 --- WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DeviceBase/IDevice.cs | 30 +++++++++++++++++++----------- 1 files changed, 19 insertions(+), 11 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DeviceBase/IDevice.cs b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DeviceBase/IDevice.cs index 18c0de4..d9cd23e 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DeviceBase/IDevice.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/DeviceBase/IDevice.cs @@ -21,6 +21,8 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using WIDESEAWCS_Communicator; +using WIDESEAWCS_QuartzJob.DTO; namespace WIDESEAWCS_QuartzJob.DeviceBase { @@ -29,6 +31,23 @@ /// </summary> public interface IDevice : IDisposable { + + /// <summary> + /// 閫氳瀵硅薄 + /// </summary> + BaseCommunicator Communicator { get; } + + /// <summary> + /// 閫氳鍗忚淇℃伅 + /// </summary> + List<DeviceProDTO> DeviceProDTOs { get; } + + /// <summary> + /// 閫氳鍗忚鏄庣粏淇℃伅 + /// </summary> + List<DeviceProtocolDetailDTO> DeviceProtocolDetailDTOs { get; } + + /// <summary> /// 璁惧缂栧彿 /// </summary> @@ -40,19 +59,8 @@ string DeviceName { get; } /// <summary> - /// 璁惧鏄惁鏈夋晠闅� - /// </summary> - bool IsFault { get; } - - /// <summary> /// 璁惧鏄惁宸茶繛鎺� /// </summary> bool IsConnected { get; } - - /// <summary> - /// 璁惧鐘舵��(绌洪棽/杩愯涓�...) - /// </summary> - DeviceStatus Status { get; } - } } -- Gitblit v1.9.3