哈尔滨一号线 现地 自排开关 信号重开 信号关灯操作处理
This commit is contained in:
parent
f0fc3712f9
commit
43c7f2c094
@ -197,8 +197,10 @@ export default {
|
|||||||
// 信号关灯
|
// 信号关灯
|
||||||
signalClose() {
|
signalClose() {
|
||||||
const operate = {
|
const operate = {
|
||||||
|
over:true,
|
||||||
operation: OperationEvent.Signal.signalClose.menu.operation,
|
operation: OperationEvent.Signal.signalClose.menu.operation,
|
||||||
messages: [this.$t('menu.menuSignal.signalOff') + this.$t('global.colon') + this.signalName]
|
cmdType: CMD.Signal.CMD_SIGNAL_CLOSE_SIGNAL
|
||||||
|
// messages: [this.$t('menu.menuSignal.signalOff') + this.$t('global.colon') + this.signalName]
|
||||||
};
|
};
|
||||||
|
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
@ -217,8 +219,10 @@ export default {
|
|||||||
// 信号重开
|
// 信号重开
|
||||||
reopenSignal() {
|
reopenSignal() {
|
||||||
const operate = {
|
const operate = {
|
||||||
|
over:true,
|
||||||
operation: OperationEvent.Signal.reopenSignal.menu.operation,
|
operation: OperationEvent.Signal.reopenSignal.menu.operation,
|
||||||
messages: [this.$t('menu.menuSignal.signalReopen') + this.$t('global.colon') + this.signalName]
|
cmdType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL
|
||||||
|
// messages: [this.$t('menu.menuSignal.signalReopen') + this.$t('global.colon') + this.signalName]
|
||||||
};
|
};
|
||||||
|
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
@ -101,8 +101,8 @@ export default {
|
|||||||
signalParamList: [
|
signalParamList: [
|
||||||
{ name: '追踪单开', cmdType: CMD.Signal.CMD_SIGNAL_SET_CI_AUTO, operate: OperationEvent.Signal.setAutoInterlock.menu, show: false },
|
{ name: '追踪单开', cmdType: CMD.Signal.CMD_SIGNAL_SET_CI_AUTO, operate: OperationEvent.Signal.setAutoInterlock.menu, show: false },
|
||||||
{ name: '追踪单关', cmdType: CMD.Signal.CMD_SIGNAL_CANCEL_CI_AUTO, operate: OperationEvent.Signal.cancelAutoInterlock.menu, show: false },
|
{ name: '追踪单关', cmdType: CMD.Signal.CMD_SIGNAL_CANCEL_CI_AUTO, operate: OperationEvent.Signal.cancelAutoInterlock.menu, show: false },
|
||||||
{ name: '自排单开', cmdType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING, operate: OperationEvent.Signal.atsAutoControl.menu, show: false },
|
{ name: '自排全开', cmdType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING, operate: OperationEvent.Signal.atsAutoControl.menu, show: false },
|
||||||
{ name: '自排单关', cmdType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING, operate: OperationEvent.Signal.humanControl.menu, show: false },
|
{ name: '自排全关', cmdType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING, operate: OperationEvent.Signal.humanControl.menu, show: false },
|
||||||
{ name: '重复开放', cmdType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL, operate: OperationEvent.Signal.reopenSignal.menu, show: false },
|
{ name: '重复开放', cmdType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL, operate: OperationEvent.Signal.reopenSignal.menu, show: false },
|
||||||
{ name: '封锁信号', cmdType: CMD.Signal.CMD_SIGNAL_BLOCK, operate: OperationEvent.Signal.lock.menu, show: false },
|
{ name: '封锁信号', cmdType: CMD.Signal.CMD_SIGNAL_BLOCK, operate: OperationEvent.Signal.lock.menu, show: false },
|
||||||
{ name: '解封信号', cmdType: CMD.Signal.CMD_SIGNAL_UNBLOCK, operate: OperationEvent.Signal.unlock.menu, show: false },
|
{ name: '解封信号', cmdType: CMD.Signal.CMD_SIGNAL_UNBLOCK, operate: OperationEvent.Signal.unlock.menu, show: false },
|
||||||
@ -332,6 +332,15 @@ export default {
|
|||||||
signalCode: this.route.startSignalCode
|
signalCode: this.route.startSignalCode
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
if (this.operate == OperationEvent.Signal.humanControl.menu.operation || this.operate == OperationEvent.Signal.atsAutoControl.menu.operation) {
|
||||||
|
const routeCodeList = [];
|
||||||
|
this.routeList.forEach(item => {
|
||||||
|
if (item.startSignalCode == this.param.signalCode) {
|
||||||
|
routeCodeList.push(item.code);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
this.param.routeCodeList = routeCodeList;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
command() {
|
command() {
|
||||||
this.handleParam();
|
this.handleParam();
|
||||||
|
@ -536,13 +536,13 @@ export default {
|
|||||||
minDuration: 8,
|
minDuration: 8,
|
||||||
operateType: 'Signal_Open_Auto_Setting',
|
operateType: 'Signal_Open_Auto_Setting',
|
||||||
skinCode: '07',
|
skinCode: '07',
|
||||||
trainingName: '自排单开({5})',
|
trainingName: '自排全开({5})',
|
||||||
trainingRemark: '自排单开',
|
trainingRemark: '自排全开',
|
||||||
trainingType: 'Signal',
|
trainingType: 'Signal',
|
||||||
productTypes: ['01'],
|
productTypes: ['01'],
|
||||||
stepVOList: [
|
stepVOList: [
|
||||||
{ deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' },
|
{ deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' },
|
||||||
{ deviceType: '04', orderNum: 2, operateCode: '315', tip: '鼠标左键点击【自排单开】按钮' },
|
{ deviceType: '04', orderNum: 2, operateCode: '315', tip: '鼠标左键点击【自排全开】按钮' },
|
||||||
{ deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }
|
{ deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -566,13 +566,13 @@ export default {
|
|||||||
minDuration: 8,
|
minDuration: 8,
|
||||||
operateType: 'Signal_Close_Auto_Setting',
|
operateType: 'Signal_Close_Auto_Setting',
|
||||||
skinCode: '07',
|
skinCode: '07',
|
||||||
trainingName: '自排单关({5})',
|
trainingName: '自排全关({5})',
|
||||||
trainingRemark: '自排单关',
|
trainingRemark: '自排全关',
|
||||||
trainingType: 'Signal',
|
trainingType: 'Signal',
|
||||||
productTypes: ['01'],
|
productTypes: ['01'],
|
||||||
stepVOList: [
|
stepVOList: [
|
||||||
{ deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' },
|
{ deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该信号机' },
|
||||||
{ deviceType: '04', orderNum: 2, operateCode: '314', tip: '鼠标左键点击【自排单关】按钮' },
|
{ deviceType: '04', orderNum: 2, operateCode: '314', tip: '鼠标左键点击【自排全关】按钮' },
|
||||||
{ deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }
|
{ deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user