增加车站扣车故障

This commit is contained in:
joylink_zhaoerwei 2024-11-22 15:51:11 +08:00
parent dd7cb75ceb
commit a6c6de76eb
4 changed files with 13 additions and 2 deletions

View File

@ -31,6 +31,7 @@ export enum showAlertTypeData {
'列车故障救援',
'ats卡滞',
'列车报点',
'车站扣车',
I = 'I类信息',
II = 'II类信息',
III = 'III类信息',
@ -69,6 +70,7 @@ export enum showAlertTypeData {
TRAIN_FAULT_HELP = '列车故障救援',
INTERLOCKED_ATS_STUCK = 'ats卡滞',
TRAIN_RECORD = '列车报点',
HOLD_PLATFORM_STAY_TRAIN_MORE = '车站扣车',
}
export enum saveAlertTypeData {
@ -106,6 +108,7 @@ export enum saveAlertTypeData {
= 'TRAIN_FAULT_HELP',
ats卡滞 = 'INTERLOCKED_ATS_STUCK',
= 'TRAIN_RECORD',
= 'HOLD_PLATFORM_STAY_TRAIN_MORE',
}
export const GuardConfigTypeData = {

View File

@ -160,7 +160,7 @@ const setAlartTextData = ref<{
},
],
});
const needShowTrainGroup = ['列车信号故障', '列车报点'];
const needShowTrainGroup = ['列车信号故障', '列车报点', '车站扣车'];
const optionsAlertType = [
'蓝显',
'道岔失表',
@ -171,6 +171,7 @@ const optionsAlertType = [
'道岔挤岔',
'列车完整性',
'列车报点',
'车站扣车',
];
const mapAlertType = new Map([
['蓝显', ['station']],
@ -182,6 +183,7 @@ const mapAlertType = new Map([
['道岔挤岔', ['Turnout']],
['列车完整性', ['LogicSection']],
['列车报点', ['Section']],
['车站扣车', ['Section', 'LogicSection']],
]);
enum DeviceType {
station = 'DEVICE_TYPE_RTU',
@ -240,6 +242,11 @@ watch(
allplatformRefSection.includes(g.id)
) {
select = true;
} else if (
g.type == Section.Type &&
setAlartTextData.value.alertType == '车站扣车'
) {
select = true;
} else if (
g.type !== Station.Type &&
g.type !== Section.Type &&

View File

@ -500,6 +500,7 @@ const optionsAlertType = [
'联锁区橙光带',
'应急触发',
'道岔挤岔',
'车站扣车',
];
//

@ -1 +1 @@
Subproject commit 7aef4b876fae6622d93a21c99fe293df7bf7d572
Subproject commit 2356a7fdcd388f28e13ba10d4cfc071aaa038646