diff --git a/src/jmapNew/constant/deviceState.js b/src/jmapNew/constant/deviceState.js index c944821b8..e89488b0b 100644 --- a/src/jmapNew/constant/deviceState.js +++ b/src/jmapNew/constant/deviceState.js @@ -21,7 +21,7 @@ deviceState[deviceType.Switch] = { blockade:0, // 是否封锁 routeLock:0, // 是否进路锁闭 overlapLock:0, // 是否进路延续保护锁闭 - normalPosition:1, // 是否定位 + normalPosition:0, // 是否定位 reversePosition:0, // 是否反位 /** 定位状态*/ // locateType: { diff --git a/src/jmapNew/shape/Switch/index.js b/src/jmapNew/shape/Switch/index.js index c6fe80432..8b95b043f 100644 --- a/src/jmapNew/shape/Switch/index.js +++ b/src/jmapNew/shape/Switch/index.js @@ -264,6 +264,10 @@ export default class Switch extends Group { } this.locShelter.hide(); // 定位 this.rhomboid.show(); + /** 初始化颜色 */ + this.rhomboid.setStyle({ + fill: this.style.Section.line.spareColor + }); /** 道岔保护区段锁闭 */ if (model.overlapLock) { this.rhomboid.setStyle({ diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/speedLimitControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/speedLimitControl.vue index 5e664f732..18bf1c290 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/speedLimitControl.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/speedLimitControl.vue @@ -468,11 +468,9 @@ export default { }, confirm2() { let operate = { - send: true, over:true, type: this.type, val: this.speed, - cmdType: CMD.Switch.CMD_SWITCH_SET_LIMIT_SPEED, param: { speedLimitValue: `${this.speed}` } @@ -481,12 +479,14 @@ export default { if (this.operation == OperationEvent.Section.setSpeed.menu.operation) { /** 区段设置限速*/ operate.operation = OperationEvent.Section.setSpeed.confirm2.operation; + operate.cmdType = CMD.Section.CMD_SECTION_SET_LIMIT_SPEED; } else if (this.operation == OperationEvent.Section.cancelSpeed.menu.operation) { /** 区段取消限速*/ operate.operation = OperationEvent.Section.cancelSpeed.confirm2.operation; } else if (this.operation == OperationEvent.Switch.setSpeed.menu.operation) { /** 道岔设置限速*/ operate.operation = OperationEvent.Switch.setSpeed.confirm2.operation; + operate.cmdType = CMD.Switch.CMD_SWITCH_SET_LIMIT_SPEED; } else if (this.operation == OperationEvent.Switch.cancelSpeed.menu.operation) { /** 道岔取消限速*/ operate.operation = OperationEvent.Switch.cancelSpeed.confirm2.operation; diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/trainAddPlan.vue b/src/jmapNew/theme/beijing_01/menus/dialog/trainAddPlan.vue index 23521b4e1..fbaf340b7 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/trainAddPlan.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/trainAddPlan.vue @@ -4,13 +4,29 @@
- - - - + + + + - + + + + + + +
@@ -26,138 +42,158 @@ diff --git a/src/jmapNew/theme/chengdu_01/menus/menuTrain.vue b/src/jmapNew/theme/chengdu_01/menus/menuTrain.vue index ddeb93eeb..b29cd645f 100644 --- a/src/jmapNew/theme/chengdu_01/menus/menuTrain.vue +++ b/src/jmapNew/theme/chengdu_01/menus/menuTrain.vue @@ -1,24 +1,29 @@