分支自 SuZhouGuanHong/TaiYuanTaiZhong

dengjunjie
2024-04-24 96f8b9f0629b3e4697269f0c271b43ad165f71b0
优化机加工下料任务逻辑
已修改5个文件
已添加33个文件
296 ■■■■■ 文件已修改
代码管理/PCS/WCS_Server/WIDESEA_WCS/Common/Gantry.cs 122 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/PCS/WCS_Server/WIDESEA_WCS/JobsPart/Common/RestockHCJ.cs 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/PCS/WCS_Server/WIDESEA_WCS/JobsPart/Common/StationTask.cs 104 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/PCS/WCS_Server/WIDESEA_WCS/JobsPart/Common/Task/AddQueueTask.cs 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WMS/WMS_Server/WIDESEA_WMS/Services/Taskinfo/Partial/dt_agvtaskService.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/PCS跟AGV和桁架防呆交互协议/PCS和桁架协议.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/1! VK04电柜PLC的IP--192.168.1.126.txt 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/601--VK04--提交车轮类型返回车轮数据.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/601--VK04--提交车轮类型返回车轮数据.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/602--VK04--扫码交互.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/602--VK04--扫码交互.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/603--VK04--贴标机交互.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/603--VK04--贴标机交互.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/610---VK04--07辊道接收车轮确认.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/610---VK04--07辊道接收车轮确认.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/611---VK04--机加工完成确认.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/611---VK04--机加工完成确认.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/612--VK04--确认转盘方向,告知车轮去向.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/612--VK04--确认转盘方向,告知车轮去向.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/630--VK04--显示工位数据.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/630--VK04--显示工位数据.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/631--VK04--机加工车床状态给PCS.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/631--VK04--机加工车床状态给PCS.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/632--VK04--老桁架状态给PCS.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/632--VK04--老桁架状态给PCS.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/633--VK04--辊道状态给PCS.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK04辊道交互表/633--VK04--辊道状态给PCS.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK05辊道交互表/1! VK05电柜PLC的IP--192.168.1.127.txt 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK05辊道交互表/601--VK05--提交车轮类型返回车轮数据.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK05辊道交互表/602--VK05--扫码交互.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK05辊道交互表/603--VK05--贴标机交互.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK05辊道交互表/610---VK05--07辊道接收车轮确认.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK05辊道交互表/611---VK05--机加工完成确认.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK05辊道交互表/612--VK05--确认转盘方向,告知车轮去向.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK05辊道交互表/630--VK05--显示工位数据.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK05辊道交互表/631--VK05--机加工车床状态给PCS.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK05辊道交互表/632--VK05--老桁架状态给PCS.xps 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/通信协议/太重交互表-2024-04-23/TZ--VK05辊道交互表/633--VK05--辊道状态给PCS.xps 补丁 | 查看 | 原始文档 | blame | 历史
´úÂë¹ÜÀí/PCS/WCS_Server/WIDESEA_WCS/Common/Gantry.cs
@@ -1022,66 +1022,80 @@
        }
        #endregion
        /// <summary>
        /// AGV任务
        /// </summary>
        public void agvtask(Idt_stationinfoRepository stationinfoRepository, dt_stationinfo stationinfo, VV_Mes_Workinfo Work, string tasktype)
        {
            VOLContext Context = new VOLContext();
            Idt_agvtaskRepository agvtaskRepository = new dt_agvtaskRepository(Context);
            Idt_mes_headRepository mes_HeadRepository = new dt_mes_headRepository(Context);
            var task = agvtaskRepository.Find(x => x.agv_fromaddress == stationinfo.stationCode).FirstOrDefault();
            if (task != null) return;
            //var mes_Head = mes_HeadRepository.Find(x => x.jobID == Work.jobID).FirstOrDefault();
            //if (mes_Head == null)
            //{
            //    stationinfo.remark = "触发入库任务,但未找到工单头表!";
            //    stationinfo.location_state = LocationStateEnum.Abnormal.ToString();
            //    stationinfoRepository.Update(stationinfo, true);
            //    return;
            //}
            dt_stationinfo TargetLocation = null;
            //int CompeletedNum = Convert.ToInt32(mes_Head.quantity) - Convert.ToInt32(mes_Head.finishNum);
            //if (mes_Head.quantity <= 50) tasktype = "TaskType_OutsourceInbound";
            if (tasktype == "TaskType_OutsourceInbound" || !string.IsNullOrEmpty(Work.area))
                TargetLocation = StationTask.GetEmptyLocation(stationinfoRepository);
            else if (tasktype == "TaskType_Inbound")
                TargetLocation = GetLocation.GetEmptyLocation(stationinfoRepository, Work, stationinfo);
            //TargetLocation = GetLocation.GetEmptyLocation(stationinfoRepository, mes_Head, stationinfo);
            if (TargetLocation != null)
            {
                dt_agvtask agvtask = new dt_agvtask()
                {
                    agv_fromaddress = stationinfo.stationCode,
                    agv_id = Guid.NewGuid(),
                    agv_tasknum = IdenxManager.GetTaskNo("KH-", "WMS"),
                    agv_grade = 1,
                    agv_createtime = DateTime.Now,
                    agv_taskstate = "Create",
                    agv_materielid = stationinfo.stationType,
                    agv_qty = stationinfo.quantity,
                    agv_tasktype = tasktype,
                    agv_toaddress = TargetLocation.stationCode,
                    agv_userid = "系统",
                    bindSN = stationinfo.bindSN,
                    agv_worktype = Convert.ToInt32(Work.processCode),
                    agv_materbarcode = Work.materialCode,
                    agv_Traytype = stationinfo.tray_type,
                    jobID = stationinfo.Number,
                    agv_TrayStatus = stationinfo.tray_status
                };
                agvtaskRepository.Add(agvtask, true);
                stationinfo.location_state = LocationStateEnum.InBusy.ToString();
                stationinfoRepository.Update(stationinfo, true);
                TargetLocation.location_state = LocationStateEnum.InBusy.ToString();
                TargetLocation.stationType = agvtask.agv_materielid;
                TargetLocation.heatNumber = stationinfo.heatNumber;
                TargetLocation.Number = agvtask.jobID;
                stationinfoRepository.Update(TargetLocation, true);
            }
            if (!string.IsNullOrEmpty(Work.area))
                tasktype = "TaskType_OutsourceInbound";
            AGVTask.AddQueueTask(stationinfoRepository, agvtaskRepository, stationinfo, tasktype, Work);
        }
        #region MyRegion
        /// <summary>
        /// AGV任务
        /// </summary>
        //public void agvtask(Idt_stationinfoRepository stationinfoRepository, dt_stationinfo stationinfo, VV_Mes_Workinfo Work, string tasktype)
        //{
        //    VOLContext Context = new VOLContext();
        //    Idt_agvtaskRepository agvtaskRepository = new dt_agvtaskRepository(Context);
        //    Idt_mes_headRepository mes_HeadRepository = new dt_mes_headRepository(Context);
        //    var task = agvtaskRepository.Find(x => x.agv_fromaddress == stationinfo.stationCode).FirstOrDefault();
        //    if (task != null) return;
        //    //var mes_Head = mes_HeadRepository.Find(x => x.jobID == Work.jobID).FirstOrDefault();
        //    //if (mes_Head == null)
        //    //{
        //    //    stationinfo.remark = "触发入库任务,但未找到工单头表!";
        //    //    stationinfo.location_state = LocationStateEnum.Abnormal.ToString();
        //    //    stationinfoRepository.Update(stationinfo, true);
        //    //    return;
        //    //}
        //    dt_stationinfo TargetLocation = null;
        //    //int CompeletedNum = Convert.ToInt32(mes_Head.quantity) - Convert.ToInt32(mes_Head.finishNum);
        //    //if (mes_Head.quantity <= 50) tasktype = "TaskType_OutsourceInbound";
        //    if (tasktype == "TaskType_OutsourceInbound" || !string.IsNullOrEmpty(Work.area))
        //        TargetLocation = StationTask.GetEmptyLocation(stationinfoRepository);
        //    else if (tasktype == "TaskType_Inbound")
        //        TargetLocation = GetLocation.GetEmptyLocation(stationinfoRepository, Work, stationinfo);
        //    //TargetLocation = GetLocation.GetEmptyLocation(stationinfoRepository, mes_Head, stationinfo);
        //    if (TargetLocation != null)
        //    {
        //        dt_agvtask agvtask = new dt_agvtask()
        //        {
        //            agv_fromaddress = stationinfo.stationCode,
        //            agv_id = Guid.NewGuid(),
        //            agv_tasknum = IdenxManager.GetTaskNo("KH-", "WMS"),
        //            agv_grade = 1,
        //            agv_createtime = DateTime.Now,
        //            agv_taskstate = "Create",
        //            agv_materielid = stationinfo.stationType,
        //            agv_qty = stationinfo.quantity,
        //            agv_tasktype = tasktype,
        //            agv_toaddress = TargetLocation.stationCode,
        //            agv_userid = "系统",
        //            bindSN = stationinfo.bindSN,
        //            agv_worktype = Convert.ToInt32(Work.processCode),
        //            agv_materbarcode = Work.materialCode,
        //            agv_Traytype = stationinfo.tray_type,
        //            jobID = stationinfo.Number,
        //            agv_TrayStatus = stationinfo.tray_status
        //        };
        //        agvtaskRepository.Add(agvtask, true);
        //        stationinfo.location_state = LocationStateEnum.InBusy.ToString();
        //        stationinfoRepository.Update(stationinfo, true);
        //        TargetLocation.location_state = LocationStateEnum.InBusy.ToString();
        //        TargetLocation.stationType = agvtask.agv_materielid;
        //        TargetLocation.heatNumber = stationinfo.heatNumber;
        //        TargetLocation.Number = agvtask.jobID;
        //        stationinfoRepository.Update(TargetLocation, true);
        //    }
        //}
        #endregion
    }
}
´úÂë¹ÜÀí/PCS/WCS_Server/WIDESEA_WCS/JobsPart/Common/RestockHCJ.cs
@@ -32,14 +32,14 @@
            {
                VOLContext Context = new VOLContext();
                Idt_stationinfoRepository stationinfoRepository = new dt_stationinfoRepository(Context);
                IVV_Mes_WorkinfoRepository workinfoRepository = new VV_Mes_WorkinfoRepository(Context);
                Idt_agvtaskRepository agvtaskService = new dt_agvtaskRepository(Context);
                var tasks = agvtaskService.Find(x => x.agv_taskstate == "Queue").OrderByDescending(x => x.agv_grade).ThenBy(x => x.agv_createtime).ToList();
                foreach (var task in tasks)
                {
                    if (task.agv_tasktype == "TaskType_EmptyPallet")//空托任务
                    {
                        if (task.agv_fromaddress == "" && DateTime.Now - task.agv_createtime >= TimeSpan.FromMinutes(10))
                        if (task.agv_fromaddress == "" && DateTime.Now - task.agv_createtime >= TimeSpan.FromMinutes(2))
                        {
                            if (task.agv_tasknum.Contains("_"))
                            {
@@ -103,15 +103,16 @@
                            #endregion
                        }
                    }
                    else if (task.agv_tasktype == "TaskType_OutsourceInbound")//下料去外协口
                    else if (task.agv_tasktype == "TaskType_OutsourceInbound" || task.agv_tasktype == "TaskType_Inbound")//外协库入库/AB库入库
                    {
                        if (task.agv_toaddress == "")
                        {
                            var TargetLocation = StationTask.GetEmptyLocation(stationinfoRepository);
                            var stationinfo = stationinfoRepository.Find(x => x.stationCode == task.agv_fromaddress).FirstOrDefault();
                            var work = workinfoRepository.Find(x => x.workOrder == stationinfo.Number && x.drawingNo == stationinfo.stationType && x.heatID == stationinfo.heatNumber && x.processCode == "17").FirstOrDefault();
                            var TargetLocation = task.agv_tasktype == "TaskType_Inbound" ? GetLocation.GetEmptyLocation(stationinfoRepository, work, stationinfo) : StationTask.GetEmptyLocation(stationinfoRepository);
                            if (TargetLocation != null)
                            {
                                if (agvtaskService.Find(x => x.agv_toaddress == TargetLocation.stationCode).Any()) continue;
                                var stationinfo = stationinfoRepository.Find(x => x.stationCode == task.agv_fromaddress).FirstOrDefault();
                                task.agv_taskstate = "Create";
                                task.agv_toaddress = TargetLocation.stationCode;
                                TargetLocation.location_state = LocationStateEnum.InBusy.ToString();
@@ -142,7 +143,7 @@
                            }
                        }
                    }
                    else if (task.agv_tasktype == "TaskType_OutsourceCarry")//外协移库
                    else if (task.agv_tasktype == "TaskType_OutsourceCarry")//移库外协
                    {
                        if (task.agv_toaddress == "")
                        {
´úÂë¹ÜÀí/PCS/WCS_Server/WIDESEA_WCS/JobsPart/Common/StationTask.cs
@@ -54,7 +54,7 @@
                    //根据下料口的绑定信息查询对应工单,检测此工单是否已完成  å®Œæˆå³å¯å°†å…¶é€å…¥åº“
                    var work = workinfoRepository.Find(x => x.workOrder == item.Number && x.drawingNo == x.drawingNo && x.heatID == item.heatNumber && x.processCode == "17").FirstOrDefault();
                    var work = workinfoRepository.Find(x => x.workOrder == item.Number && x.drawingNo == item.stationType && x.heatID == item.heatNumber && x.processCode == "17").FirstOrDefault();
                    if (work == null)
                    {
                        item.remark = "触发入库任务,但未找到工单信息!";
@@ -65,58 +65,67 @@
                    dt_stationinfo TargetLocation = null;
                    string tasktype = "";
                    if (item.quantity == 5 /*|| CompeletedNum == 0*/)
                    if (item.quantity == 5)
                    {
                        if (/*(mesinfo.quantity <= 50 &&*/ !string.IsNullOrEmpty(work.area) || item.stationCode.Contains("3"))
                        {
                            //todo å¯»æ‰¾å¯æ”¾è´§å¤–协放货台
                        if (!string.IsNullOrEmpty(work.area) || item.stationCode.Contains("3"))
                            tasktype = "TaskType_OutsourceInbound";
                            TargetLocation = GetEmptyLocation(stationinfoRepository);
                        }
                        else
                        {
                            //todo:  è°ƒç”¨WMS接口创建任务
                            tasktype = "TaskType_Inbound";
                            TargetLocation = GetLocation.GetEmptyLocation(stationinfoRepository, work, item);
                        }
                        if (TargetLocation != null)
                        {
                            dt_agvtask agvtask = new dt_agvtask()
                            {
                                agv_fromaddress = item.stationCode,
                                agv_id = Guid.NewGuid(),
                                agv_tasknum = IdenxManager.GetTaskNo("KH-", "WMS"),
                                agv_grade = 1,
                                agv_createtime = DateTime.Now,
                                agv_taskstate = "Create",
                                agv_materielid = item.stationType,
                                agv_qty = item.quantity,
                                agv_tasktype = tasktype,
                                agv_toaddress = TargetLocation.stationCode,
                                agv_userid = "系统",
                                bindSN = item.bindSN,
                                agv_worktype = Convert.ToInt32(work.processCode),
                                agv_materbarcode = work.materialCode,
                                agv_Traytype = item.tray_type,
                                jobID = item.Number,
                                agv_TrayStatus = item.tray_status
                            };
                            agvtaskRepository.Add(agvtask, true);
                            item.location_state = LocationStateEnum.InBusy.ToString();
                            stationinfoRepository.Update(item, true);
                        AGVTask.AddQueueTask(stationinfoRepository, agvtaskRepository, item, tasktype, work);
                            TargetLocation.location_state = LocationStateEnum.InBusy.ToString();
                            TargetLocation.stationType = agvtask.agv_materielid;
                            TargetLocation.heatNumber = item.heatNumber;
                            TargetLocation.billetID = item.billetID;
                            TargetLocation.Number = agvtask.jobID;
                            stationinfoRepository.Update(TargetLocation, true);
                            WriteDBLog.Success("创建入库任务", $"任务编号:{agvtask.agv_tasknum}", "PCS");
                        }
                        #region MyRegion
                        //if (/*(mesinfo.quantity <= 50 &&*/ !string.IsNullOrEmpty(work.area) || item.stationCode.Contains("3"))
                        //{
                        //    //todo å¯»æ‰¾å¯æ”¾è´§å¤–协放货台
                        //    tasktype = "TaskType_OutsourceInbound";
                        //    TargetLocation = GetEmptyLocation(stationinfoRepository);
                        //}
                        //else
                        //{
                        //    //todo:  è°ƒç”¨WMS接口创建任务
                        //    tasktype = "TaskType_Inbound";
                        //    TargetLocation = GetLocation.GetEmptyLocation(stationinfoRepository, work, item);
                        //}
                        //if (TargetLocation != null)
                        //{
                        //    dt_agvtask agvtask = new dt_agvtask()
                        //    {
                        //        agv_fromaddress = item.stationCode,
                        //        agv_id = Guid.NewGuid(),
                        //        agv_tasknum = IdenxManager.GetTaskNo("KH-", "WMS"),
                        //        agv_grade = 1,
                        //        agv_createtime = DateTime.Now,
                        //        agv_taskstate = "Create",
                        //        agv_materielid = item.stationType,
                        //        agv_qty = item.quantity,
                        //        agv_tasktype = tasktype,
                        //        agv_toaddress = TargetLocation.stationCode,
                        //        agv_userid = "系统",
                        //        bindSN = item.bindSN,
                        //        agv_worktype = Convert.ToInt32(work.processCode),
                        //        agv_materbarcode = work.materialCode,
                        //        agv_Traytype = item.tray_type,
                        //        jobID = item.Number,
                        //        agv_TrayStatus = item.tray_status
                        //    };
                        //    agvtaskRepository.Add(agvtask, true);
                        //    item.location_state = LocationStateEnum.InBusy.ToString();
                        //    stationinfoRepository.Update(item, true);
                        //    TargetLocation.location_state = LocationStateEnum.InBusy.ToString();
                        //    TargetLocation.stationType = agvtask.agv_materielid;
                        //    TargetLocation.heatNumber = item.heatNumber;
                        //    TargetLocation.billetID = item.billetID;
                        //    TargetLocation.Number = agvtask.jobID;
                        //    stationinfoRepository.Update(TargetLocation, true);
                        //    WriteDBLog.Success("创建入库任务", $"任务编号:{agvtask.agv_tasknum}", "PCS");
                        //}
                        #endregion
                    }
                }
            }
@@ -124,7 +133,6 @@
            {
                WriteDBLog.Error("创建入库任务", $"错误信息: {ex.Message}", "PCS");
            }
        }
        /// <summary>
´úÂë¹ÜÀí/PCS/WCS_Server/WIDESEA_WCS/JobsPart/Common/Task/AddQueueTask.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,55 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Comm.TaskNo;
using WIDESEA_Comm;
using WIDESEA_Entity.DomainModels;
using WIDESEA_WCS.IRepositories;
using WIDESEA_WMS.IRepositories;
namespace WIDESEA_WCS.JobsPart.Common
{
    public class AGVTask
    {
        /// <summary>
        /// æ·»åŠ AGV入库队列任务
        /// </summary>
        /// <param name="stationinfoRepository"></param>
        /// <param name="agvtaskRepository"></param>
        /// <param name="stationinfo"></param>
        /// <param name="tasktype"></param>
        /// <param name="work"></param>
        public static void AddQueueTask(Idt_stationinfoRepository stationinfoRepository, Idt_agvtaskRepository agvtaskRepository, dt_stationinfo stationinfo, string tasktype, VV_Mes_Workinfo work)
        {
            #region æ·»åŠ AGV队列任务
            dt_agvtask agvtask = new dt_agvtask()
            {
                agv_fromaddress = stationinfo.stationCode,
                agv_id = Guid.NewGuid(),
                agv_tasknum = IdenxManager.GetTaskNo("KH-", "WMS"),
                agv_grade = 2,
                agv_createtime = DateTime.Now,
                agv_taskstate = "Queue",
                agv_materielid = stationinfo.stationType,
                agv_qty = stationinfo.quantity,
                agv_tasktype = tasktype,
                //agv_toaddress = TargetLocation.stationCode,
                agv_toaddress = "",
                agv_userid = "系统",
                bindSN = stationinfo.bindSN,
                agv_worktype = Convert.ToInt32(work.processCode),
                agv_materbarcode = work.materialCode,
                agv_Traytype = stationinfo.tray_type,
                jobID = stationinfo.Number,
                agv_TrayStatus = stationinfo.tray_status
            };
            agvtaskRepository.Add(agvtask, true);
            stationinfo.location_state = LocationStateEnum.InBusy.ToString();
            stationinfoRepository.Update(stationinfo, true);
            #endregion
        }
    }
}
´úÂë¹ÜÀí/WMS/WMS_Server/WIDESEA_WMS/Services/Taskinfo/Partial/dt_agvtaskService.cs
@@ -70,7 +70,7 @@
                    agv_fromaddress = station.stationCode,
                    agv_id = Guid.NewGuid(),
                    agv_tasknum = IdenxManager.GetTaskNo("KH-", "WMS"),
                    agv_grade = 1,
                    agv_grade = 2,
                    agv_createtime = DateTime.Now,
                    agv_taskstate = "Queue",
                    agv_materielid = station.stationType,
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/PCS¸úAGVºÍèì¼Ü·À´ô½»»¥Ð­Òé/PCSºÍèì¼ÜЭÒé.xlsx
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/1! VK04µç¹ñPLCµÄIP--192.168.1.126.txt
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/601--VK04--Ìá½»³µÂÖÀàÐÍ·µ»Ø³µÂÖÊý¾Ý.xlsx
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/601--VK04--Ìá½»³µÂÖÀàÐÍ·µ»Ø³µÂÖÊý¾Ý.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/602--VK04--ɨÂë½»»¥.xlsx
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/602--VK04--ɨÂë½»»¥.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/603--VK04--Ìù±ê»ú½»»¥.xlsx
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/603--VK04--Ìù±ê»ú½»»¥.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/610---VK04--07¹õµÀ½ÓÊÕ³µÂÖÈ·ÈÏ.xlsx
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/610---VK04--07¹õµÀ½ÓÊÕ³µÂÖÈ·ÈÏ.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/611---VK04--»ú¼Ó¹¤Íê³ÉÈ·ÈÏ.xlsx
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/611---VK04--»ú¼Ó¹¤Íê³ÉÈ·ÈÏ.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/612--VK04--È·ÈÏתÅÌ·½Ïò£¬¸æÖª³µÂÖÈ¥Ïò.xlsx
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/612--VK04--È·ÈÏתÅÌ·½Ïò£¬¸æÖª³µÂÖÈ¥Ïò.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/630--VK04--ÏÔʾ¹¤Î»Êý¾Ý.xlsx
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/630--VK04--ÏÔʾ¹¤Î»Êý¾Ý.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/631--VK04--»ú¼Ó¹¤³µ´²×´Ì¬¸øPCS.xlsx
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/631--VK04--»ú¼Ó¹¤³µ´²×´Ì¬¸øPCS.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/632--VK04--ÀÏèì¼Ü״̬¸øPCS.xlsx
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/632--VK04--ÀÏèì¼Ü״̬¸øPCS.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/633--VK04--¹õµÀ״̬¸øPCS.xlsx
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK04¹õµÀ½»»¥±í/633--VK04--¹õµÀ״̬¸øPCS.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK05¹õµÀ½»»¥±í/1! VK05µç¹ñPLCµÄIP--192.168.1.127.txt
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK05¹õµÀ½»»¥±í/601--VK05--Ìá½»³µÂÖÀàÐÍ·µ»Ø³µÂÖÊý¾Ý.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK05¹õµÀ½»»¥±í/602--VK05--ɨÂë½»»¥.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK05¹õµÀ½»»¥±í/603--VK05--Ìù±ê»ú½»»¥.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK05¹õµÀ½»»¥±í/610---VK05--07¹õµÀ½ÓÊÕ³µÂÖÈ·ÈÏ.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK05¹õµÀ½»»¥±í/611---VK05--»ú¼Ó¹¤Íê³ÉÈ·ÈÏ.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK05¹õµÀ½»»¥±í/612--VK05--È·ÈÏתÅÌ·½Ïò£¬¸æÖª³µÂÖÈ¥Ïò.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK05¹õµÀ½»»¥±í/630--VK05--ÏÔʾ¹¤Î»Êý¾Ý.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK05¹õµÀ½»»¥±í/631--VK05--»ú¼Ó¹¤³µ´²×´Ì¬¸øPCS.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK05¹õµÀ½»»¥±í/632--VK05--ÀÏèì¼Ü״̬¸øPCS.xps
Binary files differ
ÏîÄ¿×ÊÁÏ/ͨÐÅЭÒé/Ì«ÖØ½»»¥±í-2024-04-23/TZ--VK05¹õµÀ½»»¥±í/633--VK05--¹õµÀ״̬¸øPCS.xps
Binary files differ