xiaojiao
2026-01-24 c5f01e9a882b16f534166d033312c5c8ba8d94dd
ÏîÄ¿´úÂë/WCS/WIDESEA_WCSServer/WIDESEA_Services/Services/Common/FinishedRgvTask.cs
@@ -1,13 +1,11 @@
using System;
using System.Collections.Generic;
using System.Text;
using WIDESEA_Common;
using WIDESEA_Common.TaskEnum;
using WIDESEA_Core.Utilities;
using WIDESEA_Entity.DomainModels;
using WIDESEA_Services.IRepositories;
using WIDESEA_Services.Repositories;
using WIDESEA_WCS;
namespace WIDESEA_Services.Services
{
    public partial class CommonFunction
@@ -98,6 +96,16 @@
                            else if (taskWCSinfo.wcstask_type == TaskType.TaskType_Box_Pallet_Outbound.ToString())
                                //state = TaskState.TaskState_Box_Out_Line_Executing.ToString();
                                state = TaskState.TaskState_Box_Out_RGV_Finished.ToString();    //(2525-12-12修改)修改成提升机运行中
                            //PLCClient client = WCSService.Clients.Find(r => r.PLCName == "LineDevice");
                            // è¿™ä¸ªåœ°æ–¹è¦å¾€å¯¹åº”的出库站台写任务号和托盘号
                            //PLCClient client = WCSService.Clients.Find(r => r.PLCName == "LineDevice");
                            //写入托盘条码
                            //PLCClient client = WCSService.Clients.Find(r => r.PLCName == "LineDevice");
                            //bool writeTaskNumber = client.WriteValue(CLineInfoDBName.W_Line_TaskNumber.ToString(), taskWCSinfo.wcstask_startPoint, taskWCSinfo.wcstask_taskNumber);
                            //bool writeBarcode = client.WriteValue(CLineInfoDBName.W_Line_Barcode.ToString(), taskWCSinfo.wcstask_startPoint, taskWCSinfo.wcstask_barcode);
                        }
                        else
                            state = TaskState.TaskState_RGV_Finished.ToString();