站台故障增加'无关闭锁紧信号', 互锁解除后屏蔽门显示红色

This commit is contained in:
yuan 2021-07-16 17:35:46 +08:00
parent 91a0d2a574
commit c248d1070b
2 changed files with 10 additions and 7 deletions

View File

@ -44,8 +44,8 @@ class ESafeDoor extends Group {
},
style: {
lineWidth: 0,
stroke:style.backgroundColor,
fill:style.backgroundColor
stroke: style.backgroundColor,
fill: style.backgroundColor
// stroke: style.Psd.safetyDoorNormal.defaultColor,
// fill: style.Psd.safetyDoorNormal.defaultColor
}
@ -72,11 +72,12 @@ class ESafeDoor extends Group {
} else if (model.fault == 'PSD_CANNOT_BE_CLOSED') {
this.safeC.show();
}
} else {
model.screenDoorOpenStatus == 0 ? this.safeC.show() : this.safeC.hide();
}
if (model.interlockRelease) {
const style = this.model.style;
this.setColor(style.Psd.safetyDoorNormal.splitDoorColor);
} else {
// model.screenDoorOpenStatus == 0 ? this.safeC.hide() : this.safeC.show();
model.screenDoorOpenStatus == 0 ? this.safeC.show() : this.safeC.hide();
}
}

View File

@ -49,7 +49,8 @@ export const deviceFaultType = {
],
StationStand: [
{label: '屏蔽门无法关闭', value: 'PSD_CANNOT_BE_CLOSED'},
{label: '屏蔽门无法开启', value: 'PSD_CANNOT_BE_OPENED'}
{label: '屏蔽门无法开启', value: 'PSD_CANNOT_BE_OPENED'},
{label: '无关闭锁紧信号', value: 'NO_CLOSE_AND_LOCK'}
],
ZcControl:[
{label: 'zc故障', value: 'FAULT'}
@ -87,7 +88,8 @@ export const deviceFaultMap = {
},
StationStand: {
PSD_CANNOT_BE_CLOSED: '屏蔽门无法关闭',
PSD_CANNOT_BE_OPENED: '屏蔽门无法开启'
PSD_CANNOT_BE_OPENED: '屏蔽门无法开启',
NO_CLOSE_AND_LOCK: '无关闭锁紧信号'
},
ZcControl: {
FAULT: 'zc故障'