namespace WCS.Entity.Protocol { public interface IRobot : IProtocol { RobotMode Mode { get; set; } RobotStatus Status { get; set; } int FinishedTask { get; set; } int TaskID { get; set; } /// /// 目标位置 /// short Target { get; set; } short Trigger { get; set; } } public enum RobotMode : short { 自动 = 1, 手动 = 2, } public enum RobotStatus : short { 空闲 = 1, 运行 = 2, 报警 = 99 } public interface IRobotStation : IProtocol { short Qty { get; set; } /// /// 托盘类型 /// short PalletType { get; set; } /// /// 最大数量 /// short MaxQty { get; set; } /// /// 单号 /// int DocId { get; set; } } }