累计作业面积 时长实现 急停全局数据接入 局部内联样式 换为 外联 优化控制模式和系统模式的切换 功能控制面板加入急停 任务界面 加入急停
This commit is contained in:
@@ -135,6 +135,7 @@ export default class DeviceController {
|
||||
const key = String(it?.id ?? '');
|
||||
if (!key) return;
|
||||
next[key] = {
|
||||
...it,
|
||||
id: key,
|
||||
lng: String(it?.lng ?? it?.lon ?? it?.longitude),
|
||||
lat: String(it?.lat ?? it?.latitude),
|
||||
@@ -150,6 +151,8 @@ export default class DeviceController {
|
||||
controlMode: it?.cm ?? it?.controlMode,
|
||||
progress: it?.p ?? it?.progress,
|
||||
workName: it?.wk ?? null,
|
||||
sm: it?.sm ?? null,
|
||||
emergencyStop: it?.e
|
||||
|
||||
};
|
||||
});
|
||||
@@ -161,6 +164,7 @@ export default class DeviceController {
|
||||
console.log('task finish');
|
||||
this.onIsFinished?.(msg);
|
||||
} else {
|
||||
console.log("device_task_change", msg.status)
|
||||
this.onIsExecuting?.(true);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user