1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- using System;
- namespace WCS.Entity.Protocol
- {
- /// <summary>
- /// 站台协议22 2001-2350
- /// </summary>
- public interface IStation520 : IProtocol
- {
- /// <summary>
- /// 任务号
- /// </summary>
- Int32 TASKNUM { get; set; }
- /// <summary>
- /// 货物编码
- /// </summary>
- Int32 GOODSCODE { get; set; }
- /// <summary>
- /// 货物类型
- /// </summary>
- Int16 GOODSTYPE { get; set; }
- /// <summary>
- /// 货物尺寸
- /// </summary>
- Int16 GOODSSIZE { get; set; }
- /// <summary>
- /// 起始位置
- /// </summary>
- Int16 GOODSSTART { get; set; }
- /// <summary>
- /// 目标位置
- /// </summary>
- Int16 GOODSEND { get; set; }
- /// <summary>
- /// 任务清零信号/顶升下降信号
- /// </summary>
- bool RES { get; set; }
- /// <summary>
- /// WCS确认信号,由PLC清除
- /// </summary>
- bool CONFIRM { get; set; }
- byte RES2 { get; set; }
- Int32 HEIGHT { get; set; }
- }
- [Flags]
- public enum StationFlags : Int16
- {
- Request = 1 << 0,
- Confirm = 1 << 1,
- TaskDelete = 1 << 2,
- Notask = 1 << 3,
- PH_Status = 1 << 4,
- Goods_Err = 1 << 5,
- F_Outside = 1 << 6,
- B_Outside = 1 << 7,
- L_Outside = 1 << 8,
- R_Outside = 1 << 9,
- H_Outside = 1 << 10,
- BCR_Noread = 1 << 11,
- Overload = 1 << 12,
- }
- }
|