| 
									
										
										
										
											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.Data; | 
					
						
							|  |  |  |  | using DeiNiu.Utils; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | namespace DeiNiu.Wcf | 
					
						
							|  |  |  |  | { | 
					
						
							|  |  |  |  |     // 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“IWmsOutPickRequest”。 | 
					
						
							|  |  |  |  |     [ServiceContract] | 
					
						
							|  |  |  |  |     public interface IWmsOutPickRequest | 
					
						
							|  |  |  |  |     { | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataSet Query(string querystr, int rownumStart, int rownumEnd); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         void newPickWave(); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         void newSeedsWave(); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         List<int> newPartPickWave(); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         void finishCurrentWave(string waveNo,bool isForce); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         void finishPartWave(int partion, bool isForce); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPartsPickList(int[] parts, int status); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         List<int> getPartsFinishIds(); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |          void newPartionPick(string pickOrderNo, int partion);  | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getSeedDesksPickList(int part, int status); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getOrderPickList(string orderNo, bool isPickOrder,int partion); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         void createPDAPickTasks(enumOutStoreType createPDATasks); | 
					
						
							|  |  |  |  |         //  [OperationContract] | 
					
						
							|  |  |  |  |       //  bool completeBulkValidation(string pickOrderNo,int bulkBox,int bulkBag, DataTable validationDetails); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         bool completeBulkValidation(string pickOrderNo, int bulkBox, int bulkBag); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         bool completeSeedsPack(string pickOrderNo,int bulkBox=0,int bulkBag=0); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         bool startBatchPick(string pickOrder); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         bool completeBatchOut(string pickOrderNo); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getBulkDetailInCurrentWave(); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPartionBulkDetailInCurrentWave(); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPickDetailByWaveOrder(string waveOrder); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getBulkValidationException(int status); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataSet getBatchOutPickOrders4Pick(); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getBatchOutPickOrderDetails(string pickOrderNo); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getBatchOutPickOrderPickDetails(string pickOrderNo); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPickDetails(string orderNo, bool isPickOrder); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getOrderLogs(string orderNo, bool isSaleOrder); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataSet getPickRequest4BulkValidate(int desk); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPickDetailByPickOrderNo(string pickOrder); | 
					
						
							|  |  |  |  |          [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getBulkValidationExceptionSolutions(int desk); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |          DataTable getOutRequestDetail(string pickOrder); | 
					
						
							|  |  |  |  |          [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPickedData(int status); | 
					
						
							|  |  |  |  |          [OperationContract] | 
					
						
							|  |  |  |  |          DataTable getPartPickedData(int status); | 
					
						
							|  |  |  |  |          [OperationContract] | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  |          DataTable getCurrentPickList(int status ); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getDpsPickList(string dpsOrder, int status); | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |          DataSet getPickOrderDetails(string orderNo); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |        [OperationContract] | 
					
						
							|  |  |  |  |        DataTable getRequests( int orderStatus); | 
					
						
							|  |  |  |  |        [OperationContract] | 
					
						
							|  |  |  |  |        int getRequests4WaveCnt(  int orderStatus); | 
					
						
							|  |  |  |  |           | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |        bool updatePickingStatus(int color, int labId, int address, decimal count); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         bool updateValidBulkPickStatus(int id, int status, string remark, int reason, decimal count,int checkedBy1); | 
					
						
							|  |  |  |  |             [OperationContract] | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         bool updateValidBulkPickExceptionStatus(int id, int status, string solution, int reason); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |          [OperationContract] | 
					
						
							|  |  |  |  |          bool updatePriority(string[] orders, int priority);  | 
					
						
							|  |  |  |  |          | 
					
						
							|  |  |  |  |          [OperationContract] | 
					
						
							|  |  |  |  |          void lightLables(); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         /** | 
					
						
							|  |  |  |  |          * seeds | 
					
						
							|  |  |  |  |          */ | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getSeedsGoods(string seedsNo); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |          [OperationContract] | 
					
						
							|  |  |  |  |          DataSet getSeedsLightData(string seedsPickNo, string goodsId, string batch); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPackingDataByPickOrderNo(string pickOrderNo); | 
					
						
							|  |  |  |  |          [OperationContract] | 
					
						
							|  |  |  |  |          int updateSeedingStatus(string seedsPickNo, string goodsId, string batch, int labId, int address, decimal count, int checkedBy2); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |          [OperationContract] | 
					
						
							|  |  |  |  |          DataTable getSeedsPackingData(int desk); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |          [OperationContract] | 
					
						
							|  |  |  |  |          DataTable getPickOrderTmsInfo(string pickOrderNo); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |          [OperationContract] | 
					
						
							|  |  |  |  |          bool regBox(string boxid,string waveno,int color); | 
					
						
							|  |  |  |  |         | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |          DataSet getBoxRegWaves(); | 
					
						
							|  |  |  |  |         [OperationContract]  | 
					
						
							|  |  |  |  |         DataTable getBoxsByWave(string waveOrder, int color=-1); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getBoxsByPickOrder(string pickOrderNo); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         string getWaveNoByBoxId(string boxId); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getWaveDeskByBoxId(string boxId); | 
					
						
							|  |  |  |  |           | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         void switchLights(bool isOn); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPartionPickDetailByBoxId(String boxId); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataSet getWaves(string  query, int rowStart, int rowEnd); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataSet getWaveDetailPages(string waveNo, int rowStart, int rowEnd); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getWaveDetails(string waveNo); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataSet getTasks(string query, int rowStart, int rowEnd); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         bool createPickWaves(); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPickVolInfo(string waveNo, int volType); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPickInfo(string waveNo); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPickSummary(string waveNo, int volType); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         int regSeedsPlate(string plateId, int partion); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPlatePickList(string plateId, int partion); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         bool updateSeedsPickingStatus(int color, int labId, int address, decimal count, int partion = -1); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getDeskList(int deskType); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         int setDeskFree(int deskId); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         int setPlateFree(string plateId); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getTaskAssigned(int operId, int partion, int lineId, bool batchOnly, int orderType); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getDeskByColor(int color); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         int setDeskAvailable(int color, bool isAvailable); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPickDetailBySeedsPickOrderNo(string pickOrder, int skuId); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getRepTasks(int takeBy, int taskPartion); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataSet getPickRequest4SeedsOperation(int desk, int seedsStatus, string seedsNo = ""); | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getPickLightTasks(int takeBy, int partion, int orderType); | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							| 
									
										
										
										
											2024-02-06 19:36:47 +08:00
										 |  |  |  |         DataTable lightByJob(int userId,string jobNo,bool isValid); | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-24 19:11:48 +08:00
										 |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable lightSeeds(int deskId ,string flowno, string barcode, int userId,  bool isValid); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  |         [OperationContract] | 
					
						
							| 
									
										
										
										
											2024-02-06 19:36:47 +08:00
										 |  |  |  |         bool updatePortPickingStatus(int userId,int color, int labId, int address, decimal count); | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  |         [OperationContract] int clearJobLightTask(string jobNo); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getRequestDtByTransNo(string plateId); | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-12-03 22:13:49 +08:00
										 |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         string assignTasks(int[] ids, int empId); | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-06 19:36:47 +08:00
										 |  |  |  |         [OperationContract] | 
					
						
							|  |  |  |  |         DataTable getLightTasks(string query,int wareHouse, int partion, int lineId, int state, string date, bool isLight); | 
					
						
							| 
									
										
										
										
											2024-05-24 19:11:48 +08:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-21 19:18:23 +08:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-25 16:38:24 +08:00
										 |  |  |  |         [OperationContract] | 
					
						
							| 
									
										
										
										
											2024-10-26 23:55:50 +08:00
										 |  |  |  |         enumRepResult seedsPickOut2(string flowNo, int skuId, string productDate, string batch, int outDetailId, decimal seedCnt, string toFlowNo, int inDetailId, bool isForceClose, int userId); | 
					
						
							| 
									
										
										
										
											2024-05-25 16:38:24 +08:00
										 |  |  |  |      | 
					
						
							|  |  |  |  |      | 
					
						
							|  |  |  |  |      | 
					
						
							|  |  |  |  |     } | 
					
						
							| 
									
										
										
										
											2023-05-23 16:13:17 +08:00
										 |  |  |  | } |