Merge branch 'dev_robotaxi-d_260311_8.4.0' into dev_robotaxi-d_260311_8.5.0_yyk
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -18,6 +18,8 @@ public enum MessageCmdEnum {
|
||||
|
||||
TaskStartNotification("TaskStartNotification", "自驾/离站结果回执"),
|
||||
|
||||
TaskContinueByDoorClosed("TaskContinueByDoorClosed", "通过关门来出发"),
|
||||
|
||||
TaskArrivalNotification("TaskArrivalNotification", "到站通知"),
|
||||
|
||||
TaskAbortNotification("TaskAbortNotification", "任务终止"),
|
||||
|
||||
Reference in New Issue
Block a user