南京二 岔心操作调整

This commit is contained in:
fan 2021-11-25 17:53:13 +08:00
parent 07025e79e5
commit 27914f3334
2 changed files with 12 additions and 12 deletions

View File

@ -1338,13 +1338,13 @@ export default {
{ name: '' }
];
this.sectionParamList = this.selected && this.selected.type == '05' ? [
{ name: '岔心设限', cmdType: CMD.Section.CMD_SECTION_SET_LIMIT_SPEED, operate: OperationEvent.Section.setSpeed.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code) },
{ name: '岔心消限', commandTip: '取消对岔心的限速', cmdType: CMD.Section.CMD_SECTION_CANCEL_LIMIT_SPEED, operate: OperationEvent.Section.cancelSpeed.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code) },
{ name: '强行消限', commandTip: '强行取消对岔心的限速', cmdType: CMD.Section.CMD_SECTION_CANCEL_LIMIT_SPEED, operate: OperationEvent.Section.forceCancelSpeed.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code) },
{ name: '预复位', commandTip: '预重置岔心', cmdType: CMD.Section.CMD_SECTION_AXIS_PRE_RESET, operate: OperationEvent.Section.axlePreReset.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code) },
{ name: '岔心设限', cmdType: CMD.Section.CMD_SECTION_SET_LIMIT_SPEED, operate: OperationEvent.Section.setSpeed.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code), isShow: () => this.$store.state.training.prdType == '01' },
{ name: '岔心消限', commandTip: '取消对岔心的限速', cmdType: CMD.Section.CMD_SECTION_CANCEL_LIMIT_SPEED, operate: OperationEvent.Section.cancelSpeed.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code), isShow: () => this.$store.state.training.prdType == '01' },
{ name: '强行消限', commandTip: '强行取消对岔心的限速', cmdType: CMD.Section.CMD_SECTION_CANCEL_LIMIT_SPEED, operate: OperationEvent.Section.forceCancelSpeed.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code), isShow: () => this.$store.state.training.prdType == '01' },
{ name: '预复位', commandTip: '预重置岔心', cmdType: CMD.Section.CMD_SECTION_AXIS_PRE_RESET, operate: OperationEvent.Section.axlePreReset.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code), isShow: () => this.$store.state.training.prdType == '01' },
{ name: '封锁岔心', commandTip: '封锁岔心', cmdType: CMD.Section.CMD_SECTION_BLOCK, operate: OperationEvent.Section.lock.menuButton, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code) },
{ name: '解封岔心', commandTip: '解封岔心', cmdType: CMD.Section.CMD_SECTION_UNBLOCK, operate: OperationEvent.Section.unlock.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code) },
{ name: '强解岔心', commandTip: '强解岔心', cmdType: CMD.Section.CMD_SECTION_FAULT_UNLOCK, operate: OperationEvent.Section.fault.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code) }
{ name: '解封岔心', commandTip: '解封岔心', cmdType: CMD.Section.CMD_SECTION_UNBLOCK, operate: OperationEvent.Section.unlock.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code), isShow: () => this.$store.state.training.prdType == '01' },
{ name: '强解岔心', commandTip: '强解岔心', cmdType: CMD.Section.CMD_SECTION_FAULT_UNLOCK, operate: OperationEvent.Section.fault.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code), isShow: () => this.$store.state.training.prdType == '01' }
] : [
{ name: '轨区设限', cmdType: CMD.Section.CMD_SECTION_SET_LIMIT_SPEED, operate: OperationEvent.Section.setSpeed.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code), isShow: () => this.$store.state.training.prdType == '01' },
{ name: '轨区消限', commandTip: '取消对轨道区段的限速', cmdType: CMD.Section.CMD_SECTION_CANCEL_LIMIT_SPEED, operate: OperationEvent.Section.cancelSpeed.menuButton, securityCommand: true, disabledCb: (stationControl, device) => !this.modeMatch || this.getStationControlForbidden(stationControl.code), isShow: () => this.$store.state.training.prdType == '01' },

View File

@ -58,7 +58,7 @@ export default {
trainingName: '解封岔心({8})',
trainingRemark: '解封岔心功能',
trainingType: 'Section',
productTypes: ['01', '02'],
productTypes: ['01'],
stepVOList: [
{ deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该区段' },
{ deviceType: '03', orderNum: 2, operateCode: '4047', tip: '鼠标左键点击【解封岔心】按钮' },
@ -78,7 +78,7 @@ export default {
trainingName: '岔心设限({8})',
trainingRemark: '岔心设限设置限速功能限速值25',
trainingType: 'Section',
productTypes: ['01', '02'],
productTypes: ['01'],
stepVOList: [
{ deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该区段' },
{ deviceType: '03', orderNum: 2, operateCode: '4077', tip: '鼠标左键点击【岔心设限】按钮' },
@ -99,7 +99,7 @@ export default {
trainingName: '岔心消限({8})',
trainingRemark: '岔心消限取消限速功能',
trainingType: 'Section',
productTypes: ['01', '02'],
productTypes: ['01'],
stepVOList: [
{ deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该区段' },
{ deviceType: '03', orderNum: 2, operateCode: '4086', tip: '鼠标左键点击【岔心消限】按钮' },
@ -119,7 +119,7 @@ export default {
trainingName: '强行消限({8})',
trainingRemark: '岔心强行取消限速功能',
trainingType: 'Section',
productTypes: ['01', '02'],
productTypes: ['01'],
stepVOList: [
{ deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该区段' },
{ deviceType: '03', orderNum: 2, operateCode: '4261', tip: '鼠标左键点击【强行消限】按钮' },
@ -139,7 +139,7 @@ export default {
trainingName: '预复位({8})',
trainingRemark: '岔心预复位功能',
trainingType: 'Section',
productTypes: ['01', '02'],
productTypes: ['01'],
stepVOList: [
{ deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该区段' },
{ deviceType: '03', orderNum: 2, operateCode: '4096', tip: '鼠标左键点击【预复位】按钮' },
@ -159,7 +159,7 @@ export default {
trainingName: '强解岔心({8})',
trainingRemark: '强解岔心功能',
trainingType: 'Section',
productTypes: ['01', '02'],
productTypes: ['01'],
stepVOList: [
{ deviceType: '03', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该区段' },
{ deviceType: '03', orderNum: 2, operateCode: '4029', tip: '鼠标左键点击【强解岔心】按钮' },