| | |
| | | #region << 版 本 注 释 >> |
| | | |
| | | /*---------------------------------------------------------------- |
| | | * 命名空间:WIDESEAWCS_QuartzJob |
| | | * 创建者:胡童庆 |
| | |
| | | * 修改时间: |
| | | * 版本:V1.0.1 |
| | | * 修改说明: |
| | | * |
| | | * |
| | | *----------------------------------------------------------------*/ |
| | | |
| | | #endregion << 版 本 注 释 >> |
| | | |
| | | using HslCommunication; |
| | |
| | | using WIDESEAWCS_QuartzJob.DeviceBase; |
| | | using WIDESEAWCS_QuartzJob.DTO; |
| | | using WIDESEAWCS_QuartzJob.StackerCrane; |
| | | using WIDESEAWCS_QuartzJob.StackerCrane.Common; |
| | | |
| | | namespace WIDESEAWCS_QuartzJob |
| | | { |
| | | /// <summary> |
| | | /// 堆垛机接口层 |
| | | /// </summary> |
| | | public interface IStackerCrane : IDevice |
| | | public interface IStackerCrane : IStackerCraneBase, IDevice |
| | | { |
| | | /// <summary> |
| | | /// 设备是否已连接 |
| | |
| | | void Heartbeat(); |
| | | |
| | | /// <summary> |
| | | /// 堆垛机完成事件是否已订阅 |
| | | /// </summary> |
| | | bool IsEventSubscribed { get; } |
| | | |
| | | /// <summary> |
| | | /// 堆垛机任务完成事件 |
| | | /// </summary> |
| | | event EventHandler<StackerCraneTaskCompletedEventArgs> StackerCraneTaskCompletedEventHandler; |
| | | |
| | | /// <summary> |
| | | /// 监测堆垛机任务是否完成(防止任务完成事件监测超时,定义手动触发功能) |
| | | /// </summary> |
| | | public void CheckStackerCraneTaskCompleted(); |
| | | |
| | | /// <summary> |
| | | /// 发送任务命令 |
| | | /// </summary> |
| | | /// <param name="command">任务命令</param> |
| | |
| | | /// <returns>返回写入成功或失败</returns> |
| | | /// <exception cref="Exception"></exception> |
| | | bool SetValue<TEnum, TValue>(TEnum @enum, TValue value) where TEnum : Enum where TValue : notnull; |
| | | |
| | | } |
| | | } |
| | | } |