diff --git a/src/jmapNew/theme/components/menus/dialog/setFault.vue b/src/jmapNew/theme/components/menus/dialog/setFault.vue index b3d9a0be9..3beb40d47 100644 --- a/src/jmapNew/theme/components/menus/dialog/setFault.vue +++ b/src/jmapNew/theme/components/menus/dialog/setFault.vue @@ -242,6 +242,9 @@ export default { faultType: this.form.faultType } }; + if (this.selected._type === 'Switch' && this.form.faultType === 'ARB') { + setp.param.code = this.selected.sectionParentCode; + } this.sendCommand(setp); }, sendInstructions() { // 发送指令 @@ -253,6 +256,9 @@ export default { faultType: this.form.faultType } }; + if (this.selected._type === 'Switch' && this.form.faultType === 'ARB') { + setp.param.code = this.selected.sectionParentCode; + } this.sendCommand(setp); }, handleCollocation() { // 设置托管 diff --git a/src/scripts/cmdPlugin/Config.js b/src/scripts/cmdPlugin/Config.js index 74809bb84..c5c815e81 100644 --- a/src/scripts/cmdPlugin/Config.js +++ b/src/scripts/cmdPlugin/Config.js @@ -31,7 +31,7 @@ export const deviceFaultType = { Section: [ {label: '计轴故障', value: 'FAULT'}, {label: '通信车占用', value: 'CBTC_OCCUPIED_FAULT'}, - {label: 'ARB', value: 'ARB'} + {label: '橙光带故障', value: 'ARB'} // {label: '计轴干扰', value: 'DISTURBANCE'} ], Signal: [ @@ -43,7 +43,8 @@ export const deviceFaultType = { {label: '反位失表', value: 'REVERSE_SPLIT'}, {label: '挤岔', value: 'SQUEEZE'}, {label: '通信车占用', value: 'CBTC_OCCUPIED_FAULT'}, - {label: '计轴故障', value: 'AXLE_FAULT'} + {label: '计轴故障', value: 'AXLE_FAULT'}, + {label: '橙光带故障', value: 'ARB'} // {label: '道岔区段计轴故障', value: 'AXLE_FAULT'} ], StationStand: [ @@ -70,7 +71,7 @@ export const deviceFaultMap = { Section: { FAULT: '计轴故障', CBTC_OCCUPIED_FAULT: '通信车占用', - ARB: 'ARB' + ARB: '橙光带故障' }, Signal: { MAIN_FILAMENT_BROKEN: '熔断' @@ -81,7 +82,8 @@ export const deviceFaultMap = { REVERSE_SPLIT: '反位失表', SQUEEZE: '挤岔', CBTC_OCCUPIED_FAULT: '通信车占用', - AXLE_FAULT: '计轴故障' + AXLE_FAULT: '计轴故障', + ARB: '橙光带故障' }, StationStand: { PSD_CANNOT_BE_CLOSED: '屏蔽门无法关闭',