using iWareModel; using System.Collections.Generic; using System.ServiceModel; namespace iWareSda { // 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“ISrmService”。 [ServiceContract, XmlSerializerFormat(Style = OperationFormatStyle.Rpc)] public interface ILineService { /// /// 检测是否有心跳 /// /// [OperationContract] SdaResEntity IsHaveHeatBeat(int deviceId); /// /// 检测设备是否可以发任务 /// /// [OperationContract] SdaResEntity IsAllowSendTask(int deviceId); /// /// 写入TaskFinish /// /// /// /// [OperationContract] SdaResEntity WriteTaskFinish(int deviceId, int rgvLocation); /// /// 读取线体信息 /// /// [OperationContract] LineView GetLineInfo(int deviceId); /// /// 写入 Die (是否有货) /// /// /// /// [OperationContract] SdaResEntity WriteDie(int deviceId, int rgvLocation, int dieValue); /// /// 写入 Stock (是否有库存) /// /// /// /// [OperationContract] SdaResEntity WriteStock(int deviceId, int rgvLocation, int stockValue); /// /// 写入 request_ok (WCS确认标记) /// /// /// /// [OperationContract] SdaResEntity Write_Request_ok(int deviceId, int rgvLocation, bool value); } }