update:
bug修改
This commit is contained in:
		@@ -1350,6 +1350,7 @@ public class AsynRunTaskService extends BaseService {
 | 
			
		||||
                Boolean conflictBoolean = taskDistanceUtils.conflictForVehicle(vehicleId, startPosition, targetPosition, rgv2CurrPosition);
 | 
			
		||||
                if (conflictBoolean){
 | 
			
		||||
                    Integer status = moveRgv(2, currTaskId,  2,0);
 | 
			
		||||
                    logger.info(status.toString());
 | 
			
		||||
                    if (status!=1){
 | 
			
		||||
                        logger.info("===执行任务:"+currTask.getTaskCode()+" 时车辆位置冲突,执行车辆位移任务,车辆"+anotherVehicleId+"移动到点位2,执行失败===");
 | 
			
		||||
                        webSocketServer.sendtoAll(LocalDateTime.now()+"执行任务:"+currTask.getTaskCode()+" 时车辆位置冲突,执行车辆位移任务,车辆"+anotherVehicleId+"移动到点位2,执行失败");
 | 
			
		||||
@@ -1373,6 +1374,7 @@ public class AsynRunTaskService extends BaseService {
 | 
			
		||||
                Boolean conflictBoolean = taskDistanceUtils.conflictForVehicle(vehicleId, currTask.getStartPosition(), currTask.getTargetPosition(), rgv1CurrPosition);
 | 
			
		||||
                if (conflictBoolean){
 | 
			
		||||
                    Integer status = moveRgv(1, currTaskId,  39,0);
 | 
			
		||||
                    logger.info(status.toString());
 | 
			
		||||
                    if (status!=1){
 | 
			
		||||
                        logger.info("===执行任务:"+currTaskId+" 时车辆位置冲突,执行车辆位移任务,车辆"+anotherVehicleId+"移动到点位12,执行失败===");
 | 
			
		||||
                        webSocketServer.sendtoAll(LocalDateTime.now()+"执行任务:"+currTask.getTaskCode()+" 时车辆位置冲突,执行车辆位移任务,车辆"+anotherVehicleId+"移动到点位12,执行失败");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user