49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
|  | 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; | |||
|  |         } | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  |     } | |||
|  | } |