ldj/winform/service/PrintingService.cs

49 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace DeiNiu.wms.win.service
{
// 注意: 使用“重构”菜单上的“重命名”命令可以同时更改代码和配置文件中的类名“PrintingService”。
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
public class PrintingService : IPrintingService
{
public delegate int printOutTaskCodes(int userId, int part, int lineId, int orderType);
public printOutTaskCodes prtOutTaskCode = null;
public void printPrenIn(string orderNo)
{
}
public void printOnShelfA4(string orderNo)
{
}
public void printOnShelfCode(string orderNo)
{
}
public int printOutTaskCode(int userId, int part, int lineId, int orderType)
{
if (prtOutTaskCode != null)
{
return prtOutTaskCode(userId, part, lineId, orderType);
}
return 0;
}
}
}