#region << 版 本 注 释 >> 
 | 
/*---------------------------------------------------------------- 
 | 
 * 命名空间:WIDESEAWCS_QuartzJob 
 | 
 * 创建者:胡童庆 
 | 
 * 创建时间:2024/8/2 16:13:36 
 | 
 * 版本:V1.0.0 
 | 
 * 描述:设备接口层,所有设备继承的底层接口 
 | 
 * 
 | 
 * ---------------------------------------------------------------- 
 | 
 * 修改人: 
 | 
 * 修改时间: 
 | 
 * 版本:V1.0.1 
 | 
 * 修改说明: 
 | 
 *  
 | 
 *----------------------------------------------------------------*/ 
 | 
#endregion << 版 本 注 释 >> 
 | 
  
 | 
using HslCommunication; 
 | 
using System; 
 | 
using System.Collections.Generic; 
 | 
using System.Linq; 
 | 
using System.Text; 
 | 
using System.Threading.Tasks; 
 | 
  
 | 
namespace WIDESEAWCS_QuartzJob.DeviceBase 
 | 
{ 
 | 
    /// <summary> 
 | 
    /// 设备接口层 
 | 
    /// </summary> 
 | 
    public interface IDevice : IDisposable 
 | 
    { 
 | 
        /// <summary> 
 | 
        /// 设备编号 
 | 
        /// </summary> 
 | 
        string DeviceCode { get; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 设备名称 
 | 
        /// </summary> 
 | 
        string DeviceName { get; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 设备是否有故障 
 | 
        /// </summary> 
 | 
        bool IsFault { get; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 设备是否已连接 
 | 
        /// </summary> 
 | 
        bool IsConnected { get; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 设备状态(空闲/运行中...) 
 | 
        /// </summary> 
 | 
        DeviceStatus Status { get; } 
 | 
  
 | 
    } 
 | 
} 
 |