| | |
| | | _taskExecuteDetailRepository = taskExecuteDetailRepository; |
| | | _mapper = mapper; |
| | | } |
| | | public WebResponseContent AddTaskHty(Dt_Task task) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | Dt_Task_hty task_Hty = new Dt_Task_hty() |
| | | { |
| | | TaskNum = task.TaskNum, |
| | | PalletCode = task.PalletCode, |
| | | Roadway = task.Roadway, |
| | | TaskType = task.TaskType, |
| | | TaskState = task.TaskState, |
| | | SourceAddress = task.SourceAddress, |
| | | TargetAddress = task.TargetAddress, |
| | | CurrentAddress = task.CurrentAddress, |
| | | NextAddress = task.NextAddress, |
| | | ExceptionMessage = task.ExceptionMessage, |
| | | Grade = task.Grade, |
| | | WMSId = task.WMSId, |
| | | Creater = task.Creater, |
| | | TaskId = task.TaskId, |
| | | CreateDate = task.CreateDate, |
| | | Dispatchertime = task.Dispatchertime, |
| | | Remark = task.Remark, |
| | | Modifier = task.Modifier, |
| | | ModifyDate = DateTime.Now, |
| | | PalletCodequantity = task.PalletCodequantity, |
| | | }; |
| | | BaseDal.AddData(task_Hty); |
| | | return content; |
| | | } |
| | | |
| | | |
| | | public static List<string> MaterialCuttingOutletList = new List<string>() { "B102", "B202" , "B402" , "A203" , "A403", "A603", "A803"}; |
| | | public static List<string> EdgeBandingCuttingOutletList = new List<string>() { "F20", "F21"}; |