大铁ctc调整

This commit is contained in:
fan 2022-06-16 18:15:50 +08:00
parent ada089484d
commit fa3914ba76
2 changed files with 9 additions and 9 deletions

View File

@ -727,7 +727,7 @@ export default {
this.$store.dispatch('menuOperation/setButtonOperation', this.operation);
},
routeCommit(trainCode, duration) {
const operate = {over: true, cmdType: CMD.Signal.CTC_SET_ROUTE, param:{ tripNumber: trainCode || '', duration: duration || null, force: false }};
const operate = {over: true, cmdType: CMD.CTC.CTC_SET_ROUTE, param:{ tripNumber: trainCode || '', duration: duration >= 0 ? duration : null, force: false }};
this.$store.dispatch('training/nextNew', operate).then(({ valid, response }) => {
this.clearOperate();
}).catch((e) => {

View File

@ -1761,15 +1761,15 @@ export const OperationEvent = {
},
// 点灯 (大铁)
signalLight: {
menuButton: {
operation: '3231',
menuButton: {
operation: '3231',
domId: '_Tips-Signal-signalLight-MenuButton{BOTTOM}'
}
},
// 灭灯 (大铁)
signalDestroy: {
menuButton: {
operation: '3232',
menuButton: {
operation: '3232',
domId: '_Tips-Signal-signalDestroy-MenuButton{BOTTOM}'
}
}
@ -2991,16 +2991,16 @@ export const OperationEvent = {
},
// 引导总锁Station_Master_Lock
stationMasterLock: {
menuButton: {
operation: '621',
menuButton: {
operation: '621',
domId: '_Tips-Station-stationMasterLock'
},
leftButton: {
operation: '6211',
operation: '6211',
domId: '_Tips-Station-stationMasterLock-leftButton'
},
rightButton: {
operation: '6212',
operation: '6212',
domId: '_Tips-Station-stationMasterLock-rightButton'
}
}