| | |
| | | /// </summary> |
| | | /// <param name="materielGroupDTO"></param> |
| | | /// <returns></returns> |
| | | public WebResponseContent PdaAddEmptyStockInfo(string barcode) |
| | | public WebResponseContent PdaAddEmptyStockInfo(string barcode, string station) |
| | | { |
| | | try |
| | | { |
| | |
| | | { |
| | | task = new Dt_Task() |
| | | { |
| | | CurrentAddress = "1001", |
| | | NextAddress = "SC01", |
| | | SourceAddress = "1001", |
| | | CurrentAddress = station, |
| | | NextAddress = "1001", |
| | | SourceAddress = station, |
| | | TargetAddress = "SC01", |
| | | Creater = "System", |
| | | PalletCode = barcode, |
| | | Roadway = "SC01", |
| | | OrderNo = DateTime.Now.ToString("yyMMdd"), |
| | | TaskNum = _taskRepository.GetTaskNum(nameof(SequenceEnum.SeqTaskNum)), |
| | | TaskState = InTaskStatusEnum.AGV_InFinish.ObjToInt(), |
| | | TaskState = InTaskStatusEnum.InNew.ObjToInt(), |
| | | TaskType = TaskTypeEnum.PalletInbound.ObjToInt(), |
| | | CreateDate = DateTime.Now, |
| | | Dispatchertime = DateTime.Now, |