任务监控界面 完善 点击任务池 显示轨迹 路径功能,清空规划功能
This commit is contained in:
@@ -159,10 +159,12 @@ export default class DeviceController {
|
||||
if (msg.status == "FINISH") {
|
||||
console.log('task finish');
|
||||
this.onIsFinished?.(msg);
|
||||
}
|
||||
if (msg.status == "EXECUTING" || msg.status == "PAUSE" || msg.status == "CANCELLED" || msg.status == "FAILED") {
|
||||
} else {
|
||||
this.onIsExecuting?.(true);
|
||||
|
||||
}
|
||||
//if (msg.status == "EXECUTING" || msg.status == "PAUSE" || msg.status == "CANCELLED" || msg.status == "FAILED") {
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
@@ -517,10 +519,10 @@ export default class DeviceController {
|
||||
|
||||
if (msg.status == "FINISH") {
|
||||
console.log('task finish');
|
||||
this.onIsFinished?.(true);
|
||||
}
|
||||
if (msg.status == "EXECUTING" || msg.status == "PAUSE") {
|
||||
this.onIsFinished?.(msg);
|
||||
} else {
|
||||
this.onIsExecuting?.(true);
|
||||
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user