IEx_HGS3_QR.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. 
  2. using System.ServiceModel;
  3. using System.ServiceModel.Web;
  4. namespace Dongke.IBOSS.PRD.WCF.ExHGS3QRS
  5. {
  6. /// <summary>
  7. /// 智能设备对接服务(恒洁三水三车间对接乾润扫码)
  8. /// </summary>
  9. [ServiceContract(ConfigurationName = "ExHGS3QR.IExHGS3QR",
  10. Name = "IExHGS3QR",
  11. Namespace = "Dongke.IBOSS.PRD.WCF.ExHGS3QRS")]
  12. public interface IExHGS3QR
  13. {
  14. #region 恒洁三水三车间对接乾润扫码
  15. [OperationContract]
  16. //[WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest
  17. // , ResponseFormat = WebMessageFormat.Json
  18. // , RequestFormat = WebMessageFormat.Json)]
  19. [WebGet(
  20. RequestFormat = WebMessageFormat.Json ,
  21. ResponseFormat = WebMessageFormat.Json )]
  22. string AddWorkInfoHGS3_QR_TEST(string barcode, string procedure_no, int road_no, double weight);
  23. /// <summary>
  24. /// 恒洁三水三车间对接乾润扫码
  25. /// </summary>
  26. /// <param name="barcode"></param>
  27. /// <param name="procedure_no">工序号</param>
  28. /// <param name="road_no">道口号</param>
  29. /// <param name="weight">重量</param>
  30. /// <returns></returns>
  31. [OperationContract]
  32. //[WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest
  33. // , ResponseFormat = WebMessageFormat.Json
  34. // , RequestFormat = WebMessageFormat.Json)]
  35. [WebGet(
  36. RequestFormat = WebMessageFormat.Json,
  37. ResponseFormat = WebMessageFormat.Json)]
  38. string AddWorkInfoHGS3_QR(string barcode,
  39. string procedure_no,
  40. string road_no,
  41. string rack,
  42. string position,
  43. int procedure_in = 1);
  44. #endregion
  45. }
  46. }