| | |
| | | using WIDESEA_Common.LoctionEnum; |
| | | using WIDESEA_Common.Tools; |
| | | using WIDESEA_Core.EFDbContext; |
| | | using WIDESEA_Core.Extensions; |
| | | using WIDESEA_Core.Utilities; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_Services.IRepositories; |
| | |
| | | if (begin==1&&end==1) |
| | | { |
| | | agvRepository.Add(agvtask, true);//任务生成 |
| | | WriteDBLog.Info($"辊分到极库任务生成").Write($"生成任务:{agvtask.agv_tasknum}", $"辊分到极库任务生成"); |
| | | WriteDBLog.Info($"辊分到极库任务生成").Write($"起点货位【{ware_Locatio.upper_code}】状态:托盘光电检测:{ware_Locatio.tpgd},-1光电:{ware_Locatio.gd2},-2光电:{ware_Locatio.gd1},-3光电:{ware_Locatio.gd4},-4光电:{ware_Locatio.gd3},状态:{ware_Locatio.location_state},更新时间:{ware_Locatio.wireless_time}", $"辊分到极库任务生成"); |
| | | WriteDBLog.Info($"辊分到极库任务生成").Write($"终点货位【{lotion.upper_code}】状态:托盘光电检测:{lotion.tpgd},状态:{lotion.location_state},更新时间:{lotion.wireless_time}", $"辊分到极库任务生成"); |
| | | WriteDBLog.Info($"辊分到极库任务生成").Write($"----------------任务生成成功 {DateTime.Now} -------------- {Environment.NewLine}", $"辊分到极库任务生成"); |
| | | return; |
| | | } |
| | | } |