using Dongke.IBOSS.PRD.WCF.DataModels; using System.Data; using System.ServiceModel; using System.ServiceModel.Web; /// /// ISmartDevice的Web版集成到PDAModuleService /// xuwei add 2021-12-10 /// namespace Dongke.IBOSS.PRD.WCF.Contracts { /// /// 智能设备对接服务 /// public partial interface IPDAModule { /// /// 连接测试 /// /// /// [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] string SmartDeviceService_Test(string message); /// /// 自动扫描计件 /// /// [OperationContract(IsOneWay = true)] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] void SmartDeviceService_AddWorkPiece(string accountCode, string userCode, string userPassword, int procedureID, string barcode); /// /// 自动扫描计件 /// /// /// /// /// /// /// /// [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] string SmartDeviceService_AddWorkPieceByStatus(string accountCode, string userCode, string userPassword, int procedureID, string barcode, string remarks); /// /// 自动扫描计件(3车间) /// /// /// /// /// /// /// /// [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] string SmartDeviceService_AddWorkPieceByStatus3(string accountCode, string userCode, string userPassword, int procedureID, string barcode, string remarks); /// /// 自动扫描计件(3车间)_集中采集(包装) /// /// /// /// /// /// /// /// [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] string SmartDeviceService_AddWorkPieceByStatus3_packing(string accountCode, string userCode, string userPassword, int procedureID, string[] barcodes, string remarks); /// /// 注浆接口 xuwei add 2019-11-19 /// /// /// /// /// [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] string SmartDeviceService_SetGroutingLineDetail(string accountCode, string userCode, string lineCode, string groutingData, string remarks); /// /// 高压注浆接口 /// /// /// /// /// /// /// [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] ServiceResultEntity SmartDeviceService_SetHGrouting(string accountCode, string userCode, string lineCode, string groutingData, string remarks); /// /// 登窑、入窑、出窑 接口 xuwei add 2019-11-19 /// /// /// /// /// /// /// [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] string SmartDeviceService_AddWorkPieceKiln(string accountCode, string userCode, int procedureID, string kilnCarCode, string barCodeAndPosition, string remarks); /// /// 条码、外箱码、服务码打印 /// /// /// /// /// /// /// [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] string SmartDeviceService_PrintBarcode(string accountCode, string userCode, string barcode, int? printerID, int copies, string remarks); /// /// 条码、外箱码、服务码打印 /// /// /// /// /// 工位ID /// [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] string SmartDeviceService_PrintBarcode_3BL(string accountCode, string userCode, string barcode, int ws_id); /// /// 条码、外箱码、服务码打印 /// /// /// /// /// /// /// [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] string SmartDeviceService_PrintBarcodeTest(string accountCode, string userCode, string barcode, int? printerID, int copies, string remarks, int printWay); #region 防伪码 /// /// 读取防伪码设置 /// /// /// /// /// /// OK=1 绑定 OK=2 验证 OK=0 不处理 [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] string SmartDeviceService_GetStatusByBarcode(string accountCode, string userCode, string barCode, string procedureID); /// /// 防伪码绑定和防伪码更改 /// /// 条码 /// 防伪码 /// 工序 /// [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] string SmartDeviceService_UpdateSecurityCodeByBarcode(string accountCode, string userCode, string barCode, string securityCode, string procedureID); /// /// 防伪码校验 /// /// 条码 /// 防伪码 /// [OperationContract] [WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest , ResponseFormat = WebMessageFormat.Json , RequestFormat = WebMessageFormat.Json)] string SmartDeviceService_CheckSecurityCodeByBarcode(string accountCode, string userCode, string barCode, string securityCode); #endregion } }