using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using WMS.Model.RK; namespace WMS.IData.IRK { public interface IAutoRkData { DataTable GetExceData2(); /// /// 根据仓库查询入库站台 /// /// /// DataTable GetStandStorage(string STORAGE_ID); /// /// 查询站台 /// /// /// /// DataSet GetdecStationData(string goodsId, string STORAGE_ID); /// /// 查询可以入库的站台和堆垛机 /// /// DataTable GetDecData(string STORAGE_ID); /// /// 查询入库上架数据 /// /// DataTable GetRkData(string taskType); /// /// 更新库位、物料、数量 /// /// /// /// /// void UpadateTaskData(string ctl, string locId, string barcode, string pskw, decimal sheNum, decimal psNum); /// /// 更新订单Status /// /// /// void DeleteGoodInfo(string ctl, string goodsId); /// /// 更新订单状态 /// /// void UpdateOrderSts(string ctl, string status); /// /// 删除入库单据 /// /// void DeleteTaskData(string ctl); DataTable GetPlcIdOpLoc(string plcId); void UpdateOpSts(string plcID); void UpdateDecDataSts(string decId, string sts,string STORAGE_ID); bool UpdateConveSts(List lis, string conveID); DataTable GetConveyorModeData(string decid); DataTable GetFdData(string decId, string station); DataTable GetTasks(string decId); DataTable GetTasks2(string decId); void UpdateEcxeOutData(string plcid,string status); void UpdateEcxeData(string LOT_ID, string status); DataTable GetexceData(); void DeleteEcxeOutData(string plcid); void DeleteEcxeData(string plcid); /// /// tow scansts /// /// void UpdateScan2Sts(string code); /// /// two scan /// /// /// DataTable GetScan2Data(string code); /// /// void UpdatePlcIdData(string locID); #region 接口 void UpdatePlcData(); DataTable GetCodeWmsData(string palletID); DataTable GetPlcDataHigh(string hgID); /// /// 返回wms需要下发的批次 /// /// /// DataTable GetWmsData(string ctl); void DelteWaitIn( string PalletID); DataTable GetCtlDataOn(string ctl,string STORAGE_ID); #endregion DataSet GetTaksAllData(); /// /// /// /// /// /// void SerLocWaitInSts( string Sheet_no); /// /// 根据托盘条码获取数据 /// /// /// DataTable GetCodeData(string palletID); /// /// 获取库位编号 /// /// /// DataTable GetLocDataRow(string decId, string Hgh); /// /// 写到备份表 /// /// /// void InserLocWaitIn(string PalletID); /// /// 取消任务 更改改批次的任务为下发 /// /// void UpdateProductSts(string lot_id); /// /// 查询空库位 /// /// DataTable GetNullLocal(string sts); /// /// 查询小车库位 /// /// /// /// DataTable GetCarLocalData(string devId); /// /// 查询批次信息 /// /// DataTable GetProduceDataList(); /// /// 查询空库位 /// /// DataTable GetNullLocalData(); /// /// 入库完成后改更为完成 生产表 /// /// /// void UpdateProductInSts(string lotId, string goodsId, string ProDucLotId); /// /// 插入明细商品 /// /// void InsertGoodsInfoShelf(AutoRkGoodsInfo goodsInfo); /// /// 更新主表Status /// /// void UpdateInSts(string lotId); /// /// 更新库位表为占用 /// /// void UpdateLocSts(string locId); /// /// 查询需要入库的任务 /// /// DataTable GetTaskInData(string sts); /// /// 写入历史数据库 /// /// /// void InsertUpGoodsBak(string ctl, string goodsId); /// /// 删除数据库 /// /// /// void DelTaskGoodInfo(string lotId, string goodsId, string ProDucLotId); /// /// 获取上架单信息 /// /// DataTable GetUpShelfGoodsData(string station); /// /// PLC返回查询入库的信息 /// /// /// DataTable GetTaskLocInTask(string locId); /// /// 获取上架单明细信息 /// /// /// DataTable GetOnShelfGoodsData(); /// /// 更改数据状态 /// /// /// void UpdateLocCtlSts(string locId, string STATUS,string STORAGE_ID); void UpdateLocislockSts(string locId, string STATUS, string STORAGE_ID); /// /// 查询库位的个数和库位 /// /// /// DataTable GetMisLocProduct(string product); /// /// 查容积能够满足的库位 /// /// DataTable GetInMzLocalData(string volume); /// /// 查询该批次有多少需要入口的条码 /// /// /// DataTable GetLocMisVolume(string ProdcutId); /// /// 入库完成删除生产明细 /// /// /// void DeleProductInfoInSts(string goodsId); /// /// 入库完成删除生产表 /// /// /// void DeleProductInSts(string ProDucLotId); // /// 入库完成删除生产明细 写入历史数据库 /// /// /// void InsertProductInfoBak(string goodsId,string lotid); // /// 入库完成删除生产表 写入历史数据库 /// /// /// void InsertProductBak(string ProDucLotId); /// /// 查询改条码是否已经入库 /// /// /// DataTable GetMisLocId(string goodsId); /// /// 查询该库位是否已经存放满 /// /// /// DataTable GetLocIdVolume(string locid_id); /// ///查询空库位 /// /// /// DataTable GetNotNullGoodIdLocal(decimal hgt); /// /// 查询空库位 /// /// DataTable GetNotNullLocal(); string GetPlcId(); /// /// 删除单据 /// /// /// void DeleteTaskData(string Sheet_no, string Pdc_no); } }