using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WCS.Application { public interface IPlcHub { /// /// 下发PLC连接状态 /// /// /// Task PublicPlcConn(WcsPlc context); /// /// 下发工位状态 /// /// /// //Task PublicStationStatus(List context); /// /// 下发报警信息 /// /// /// Task PublicAlarm(List context); /// /// 修改服务状态 /// /// Task UpdateService(PLCServiceModel context); /// /// 下发控制台位置信息 /// /// /// Task PublicPosition(PlcPositionInfo context); } public class PlcPositionInfo { /// /// 工位号 /// public string StationNum { get; set; } /// /// 是否有物品 /// public bool BoHaveItem { get; set; } /// /// Plc类型 /// public PLCTypeEnum Type { get; set; } /// /// 跺机位置 /// public int BoxHeight { get; set; } public string EndLocat { get; set; } } }