1
HuBingJie
9 天以前 28110912ca4803e5793f181517d7bf2d7a5ea2ad
´úÂë¹ÜÀí/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/SpeStackerCraneJob/SpeStackerCraneJob.cs
@@ -50,9 +50,10 @@
        private readonly IRouterService _routerService;
        private readonly IAgvStationService _agvStationService;
        IRepository<AbnormalTask> _abnormalTask;
        IRgvoperainformService _rgvoperainformService;
        public SpeStackerCraneJob(ITaskService taskService, ITaskExecuteDetailService taskExecuteDetailService, ITaskRepository taskRepository, IRouterService routerService, IAgvStationService agvStationService, IRepository<AbnormalTask> abnormalTask)
        public SpeStackerCraneJob(ITaskService taskService, ITaskExecuteDetailService taskExecuteDetailService, ITaskRepository taskRepository, IRouterService routerService, IAgvStationService agvStationService, IRepository<AbnormalTask> abnormalTask, IRgvoperainformService rgvoperainformService)
        {
            _taskService = taskService;
            _taskExecuteDetailService = taskExecuteDetailService;
@@ -60,6 +61,7 @@
            _routerService = routerService;
            _agvStationService = agvStationService;
            _abnormalTask = abnormalTask;
            _rgvoperainformService = rgvoperainformService;
        }
@@ -73,6 +75,9 @@
                if (speStackerCrane != null)
                {
                    GetStackerObject getStackerObject = new GetStackerObject(speStackerCrane);
                    _rgvoperainformService.LogAlarmToDatabase(speStackerCrane.DeviceCode);
                    if (getStackerObject.RGVInitializationValue == RGVInitialize.Initialized)
                    {
@@ -655,7 +660,7 @@
                    => Findshippingtask(RGVTaskdevice, getStackerObject.RGVCurrentlocation),    //子车取货后,进行放货(已完成)
                ((int)RGVEquipment.OutRGVForklift, RgvEquipmentStatus.NoCargo)
                    => OutboundGateVehicle(RGVTaskdevice),              //出库口RGV取货(已完成)
                    => OutboundGateVehicle(RGVTaskdevice),          //出库口RGV取货(已完成)
                ((int)RGVEquipment.OutRGVForklift, RgvEquipmentStatus.HasCargo)
                    => _taskService.GetOutkouFinhuoTask(RGVTaskdevice.ChildPosiDeviceCode,