Merge branch 'dev_robotaxi-d_260311_8.4.0' into dev_robotaxi-d_260311_8.5.0_yyk

This commit is contained in:
yangyakun
2026-04-17 16:21:47 +08:00
4 changed files with 34 additions and 10 deletions

View File

@@ -126,11 +126,10 @@ public class TaskStartNotification {
}
public boolean isCloseDoorStartAuto(){
if(Objects.equals(lastTaskCmdType, MessageCmdEnum.TaskStartNotification.getCode()) ||
Objects.equals(lastTaskCmdType, MessageCmdEnum.TaskContinueNotification.getCode()) ){
return false;
if(Objects.equals(lastTaskCmdType, MessageCmdEnum.TaskContinueByDoorClosed.getCode())){
return true;
}
return true;
return false;
}

View File

@@ -18,6 +18,8 @@ public enum MessageCmdEnum {
TaskStartNotification("TaskStartNotification", "自驾/离站结果回执"),
TaskContinueByDoorClosed("TaskContinueByDoorClosed", "通过关门来出发"),
TaskArrivalNotification("TaskArrivalNotification", "到站通知"),
TaskAbortNotification("TaskAbortNotification", "任务终止"),