调整道岔操作
This commit is contained in:
parent
a1978bd266
commit
aa8ebeee22
@ -166,7 +166,7 @@ export default {
|
|||||||
// 车站扣车
|
// 车站扣车
|
||||||
this.treeData[1].children[1].value = selected.stationHoldTrain ? '已设置' : '未设置';
|
this.treeData[1].children[1].value = selected.stationHoldTrain ? '已设置' : '未设置';
|
||||||
// 停站时间
|
// 停站时间
|
||||||
this.treeData[0].children[2].value = selected.parkingTime == 0 ? '自动' : `${selected.parkingTime} 秒`;
|
this.treeData[0].children[2].value = selected.parkingTime <= 0 ? '自动' : `${selected.parkingTime} 秒`;
|
||||||
// 跳停
|
// 跳停
|
||||||
this.treeData[0].children[3].value = selected.allSkip || selected.assignSkip ? '已设置' : '未设置';
|
this.treeData[0].children[3].value = selected.allSkip || selected.assignSkip ? '已设置' : '未设置';
|
||||||
// if (selected.direction == '01') {
|
// if (selected.direction == '01') {
|
||||||
|
@ -68,7 +68,7 @@ export default {
|
|||||||
cmdType:CMD.Switch.CMD_SWITCH_TURN
|
cmdType:CMD.Switch.CMD_SWITCH_TURN
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '故障解锁',
|
label: '道岔故障解锁',
|
||||||
handler: this.fault,
|
handler: this.fault,
|
||||||
cmdType:CMD.Switch.CMD_SWITCH_FAULT_UNLOCK
|
cmdType:CMD.Switch.CMD_SWITCH_FAULT_UNLOCK
|
||||||
},
|
},
|
||||||
@ -88,12 +88,12 @@ export default {
|
|||||||
cmdType:CMD.Switch.CMD_SWITCH_ACTIVE
|
cmdType:CMD.Switch.CMD_SWITCH_ACTIVE
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '设置限速',
|
label: '道岔设置限速',
|
||||||
handler: this.setSpeed,
|
handler: this.setSpeed,
|
||||||
cmdType:CMD.Switch.CMD_SWITCH_SET_LIMIT_SPEED
|
cmdType:CMD.Switch.CMD_SWITCH_SET_LIMIT_SPEED
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '取消限速',
|
label: '道岔取消限速',
|
||||||
handler: this.cancelSpeed,
|
handler: this.cancelSpeed,
|
||||||
cmdType:CMD.Switch.CMD_SWITCH_CANCEL_LIMIT_SPEED
|
cmdType:CMD.Switch.CMD_SWITCH_CANCEL_LIMIT_SPEED
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user