调整车站引导总锁在地图绘制中不显示,增加字体的默认状态
This commit is contained in:
parent
a5543cb1b4
commit
93be0b7ff6
@ -1,4 +1,5 @@
|
|||||||
import { deepAssign } from '@/utils/index';
|
import { deepAssign } from '@/utils/index';
|
||||||
|
import deviceType from './deviceType';
|
||||||
|
|
||||||
// 所有默认状态在这里都要有 用来转换后台发送的数据状态
|
// 所有默认状态在这里都要有 用来转换后台发送的数据状态
|
||||||
class Status {
|
class Status {
|
||||||
@ -115,6 +116,9 @@ class Status {
|
|||||||
handleOutFrame(device) {
|
handleOutFrame(device) {
|
||||||
this.statusObj = { };
|
this.statusObj = { };
|
||||||
}
|
}
|
||||||
|
handleText(device) {
|
||||||
|
this.statusObj = { };
|
||||||
|
}
|
||||||
getStatus() {
|
getStatus() {
|
||||||
return this.statusObj;
|
return this.statusObj;
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,10 @@ export default class Station extends Group {
|
|||||||
});
|
});
|
||||||
this.create();
|
this.create();
|
||||||
this.createTurnBack(); // 创建按图折返
|
this.createTurnBack(); // 创建按图折返
|
||||||
|
const path = window.location.href;
|
||||||
|
if (!path.includes('/map/draw')) {
|
||||||
this.createGuideTotalLock(); // 创建引导总锁
|
this.createGuideTotalLock(); // 创建引导总锁
|
||||||
|
}
|
||||||
this.createControlMode();
|
this.createControlMode();
|
||||||
this.setState(model);
|
this.setState(model);
|
||||||
this.checkIsDrawMap();
|
this.checkIsDrawMap();
|
||||||
|
@ -147,7 +147,7 @@ export default {
|
|||||||
createControlMode:false,
|
createControlMode:false,
|
||||||
createTurnBack:false,
|
createTurnBack:false,
|
||||||
guideTotalLock: false,
|
guideTotalLock: false,
|
||||||
guideTotalLockPoint: {x: 0, y: 0},
|
guideTotalLockPoint: {x: 0, y: 0}, // 引导总锁坐标
|
||||||
turnBackPoint: {x: 0, y: 0}, // 按图折返坐标
|
turnBackPoint: {x: 0, y: 0}, // 按图折返坐标
|
||||||
controlModePoint: { x: 0, y: 0 } // 控制模式坐标
|
controlModePoint: { x: 0, y: 0 } // 控制模式坐标
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user