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