ldj/winform/service/IPrintingService.cs

57 lines
1.7 KiB
C#
Raw Normal View History

2023-05-23 16:13:17 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.ServiceModel.Web;
namespace DeiNiu.wms.win.service
{
// 注意: 使用“重构”菜单上的“重命名”命令可以同时更改代码和配置文件中的接口名“IPrintingService”。
[ServiceContract]
public interface IPrintingService
{
[OperationContract]
[WebInvoke(
Method = "GET",
RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json,
UriTemplate = "printPreIn?orderNo={orderNo}"
)]
void printPrenIn(string orderNo );
[OperationContract]
[WebInvoke(
Method = "GET",
RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json,
UriTemplate = "printOnShelfA4?orderNo={orderNo}"
)]
void printOnShelfA4(string orderNo);
[OperationContract]
[WebInvoke(
Method = "GET",
RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json,
UriTemplate = "printOnShelfCode?orderNo={orderNo}"
)]
void printOnShelfCode(string orderNo);
[OperationContract]
[WebInvoke(
Method = "GET",
RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json,
UriTemplate = "printOutTaskCode?userId={userId}&partion={partion}&lineId={lineId}&orderType={orderType}"
)]
int printOutTaskCode(int userId, int partion,int lineId,int orderType);
2023-11-21 19:18:23 +08:00
2023-05-23 16:13:17 +08:00
}
}