| | |
| | | using iWareModel; |
| | | using iWareSda.Model; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | [OperationContract] |
| | | StationView GetStationInfo(int deviceId); |
| | | |
| | | /// <summary> |
| | | /// 获取当前正在报警的报警列表 |
| | | /// </summary> |
| | | /// <param name="deviceId"></param> |
| | | /// <returns></returns> |
| | | [OperationContract] |
| | | List<DeviceWarningInfo> GetWaringInfoList(int deviceId, List<WmsConfigDeviceWarning> configDeviceWarningList); |
| | | |
| | | [OperationContract] |
| | | SdaResEntity IsTaskFinish(int deviceId, int taskId); |
| | | |
| | |
| | | SdaResEntity IsHaveHeatBeat(int deviceId); |
| | | |
| | | /// <summary> |
| | | /// 写PLC bool |
| | | /// </summary> |
| | | /// <param name="deviceId"></param> |
| | | /// <param name="dbAddress"></param> |
| | | /// <param name="value"></param> |
| | | /// <returns></returns> |
| | | [OperationContract] |
| | | SdaResEntity WriteBoolPlcData(int deviceId, string dbAddress, bool value); |
| | | |
| | | /// <summary> |
| | | /// 写入齐套信息 |
| | | /// </summary> |
| | | /// <param name="deviceId"></param> |
| | |
| | | /// <param name="value"></param> |
| | | /// <returns></returns> |
| | | [OperationContract] |
| | | SdaResEntity OutboundFinishConfirm(int deviceId, bool value, string stationCode); |
| | | SdaResEntity OutboundFinishConfirm(int deviceId, bool value, string stationCode, bool isClearData); |
| | | |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="outbound_TaskID"></param> |
| | | /// <returns></returns> |
| | | [OperationContract] |
| | | SdaResEntity WriteOutStoreTaskInfo(int deviceId, string stationCode, string sourcePlaceNo, int outbound_TaskID); |
| | | SdaResEntity WriteOutStoreTaskInfo(bool isResetData, int deviceId, string stationCode, string sourcePlaceNo, int outbound_TaskID); |
| | | |
| | | /// <summary> |
| | | /// 写入码板任务信息 |
| | | /// </summary> |
| | | /// <param name="deviceId"></param> |
| | | /// <param name="value"></param> |
| | | /// <returns></returns> |
| | | [OperationContract] |
| | | SdaResEntity WritePalletizingTaskInfo(int deviceId, string stationCode, int taskID, short length, short width, short height, short rotate, short toplace, short placeX, short placeY, short placeZ, short lastnum); |
| | | |
| | | /// <summary> |
| | | /// 码垛完成已确认 |
| | | /// </summary> |
| | | /// <param name="deviceId"></param> |
| | | /// <param name="value"></param> |
| | | /// <returns></returns |
| | | [OperationContract] |
| | | SdaResEntity SetPalletizingTaskFinishAck(int deviceId, bool value, string stationCode); |
| | | |
| | | [OperationContract] |
| | | SdaResEntity WriteSurroundTaskInfo(int deviceId, string stationCode, short taskID, short length, short width, short cartonhigh, short cartonwidth, short placex, short placey); |
| | | |
| | | [OperationContract] |
| | | SdaResEntity SetSurroundTaskFinishAck(int deviceId, bool value, string stationCode); |
| | | |
| | | /// <summary> |
| | | /// Station的任务完成ACK赋值 |
| | |
| | | /// <returns></returns> |
| | | [OperationContract] |
| | | SdaResEntity WriteStation_FinishACK(int deviceId, bool value, int plcTaskId); |
| | | /// <summary> |
| | | /// 复位解析完成 |
| | | /// </summary> |
| | | /// <param name="deviceId"></param> |
| | | /// <param name="value"></param> |
| | | /// <param name="stationCode"></param> |
| | | /// <returns></returns> |
| | | [OperationContract] |
| | | SdaResEntity WriteStation_ACK(int deviceId, bool value, string stationCode); |
| | | |
| | | /// <summary> |
| | | /// 四个入库口扫描验证ACK赋值 |
| | |
| | | string value_Out_SerialNumber, |
| | | int plcTaskId); |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 写入 补板工位允许进板 |
| | | /// </summary> |
| | | /// <param name="deviceId"></param> |
| | | /// <param name="value"></param> |
| | | /// <param name="stationCode"></param> |
| | | /// <returns></returns> |
| | | [OperationContract] |
| | | SdaResEntity WriteStation_AllowIn(int deviceId, bool value, string stationCode); |
| | | |
| | | |
| | | /// <summary> |
| | | /// 写入 人工放行 |
| | | /// </summary> |
| | | /// <param name="deviceId"></param> |
| | | /// <param name="value"></param> |
| | | /// <param name="stationCode"></param> |
| | | /// <returns></returns> |
| | | [OperationContract] |
| | | SdaResEntity WriteStation_PersonAllow(int deviceId, bool value, string stationCode); |
| | | } |
| | | } |