57 lines
1.7 KiB
C#
57 lines
1.7 KiB
C#
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);
|
||
|
||
|
||
|
||
}
|
||
}
|