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]
|
|
|
|
|
DataTable lightByJob(string jobNo,bool isValid);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
bool updatePortPickingStatus(int color, int labId, int address, decimal count);
|
|
|
|
|
[OperationContract] int clearJobLightTask(string jobNo);
|
|
|
|
|
|
|
|
|
|
[OperationContract]
|
|
|
|
|
DataTable getRequestDtByTransNo(string plateId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
}
|
2023-11-21 19:18:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
}
|