增加车站扣车故障
This commit is contained in:
parent
dd7cb75ceb
commit
a6c6de76eb
@ -31,6 +31,7 @@ export enum showAlertTypeData {
|
|||||||
'列车故障救援',
|
'列车故障救援',
|
||||||
'ats卡滞',
|
'ats卡滞',
|
||||||
'列车报点',
|
'列车报点',
|
||||||
|
'车站扣车',
|
||||||
I = 'I类信息',
|
I = 'I类信息',
|
||||||
II = 'II类信息',
|
II = 'II类信息',
|
||||||
III = 'III类信息',
|
III = 'III类信息',
|
||||||
@ -69,6 +70,7 @@ export enum showAlertTypeData {
|
|||||||
TRAIN_FAULT_HELP = '列车故障救援',
|
TRAIN_FAULT_HELP = '列车故障救援',
|
||||||
INTERLOCKED_ATS_STUCK = 'ats卡滞',
|
INTERLOCKED_ATS_STUCK = 'ats卡滞',
|
||||||
TRAIN_RECORD = '列车报点',
|
TRAIN_RECORD = '列车报点',
|
||||||
|
HOLD_PLATFORM_STAY_TRAIN_MORE = '车站扣车',
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum saveAlertTypeData {
|
export enum saveAlertTypeData {
|
||||||
@ -106,6 +108,7 @@ export enum saveAlertTypeData {
|
|||||||
列车故障救援 = 'TRAIN_FAULT_HELP',
|
列车故障救援 = 'TRAIN_FAULT_HELP',
|
||||||
ats卡滞 = 'INTERLOCKED_ATS_STUCK',
|
ats卡滞 = 'INTERLOCKED_ATS_STUCK',
|
||||||
列车报点 = 'TRAIN_RECORD',
|
列车报点 = 'TRAIN_RECORD',
|
||||||
|
车站扣车 = 'HOLD_PLATFORM_STAY_TRAIN_MORE',
|
||||||
}
|
}
|
||||||
|
|
||||||
export const GuardConfigTypeData = {
|
export const GuardConfigTypeData = {
|
||||||
|
@ -160,7 +160,7 @@ const setAlartTextData = ref<{
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
const needShowTrainGroup = ['列车信号故障', '列车报点'];
|
const needShowTrainGroup = ['列车信号故障', '列车报点', '车站扣车'];
|
||||||
const optionsAlertType = [
|
const optionsAlertType = [
|
||||||
'蓝显',
|
'蓝显',
|
||||||
'道岔失表',
|
'道岔失表',
|
||||||
@ -171,6 +171,7 @@ const optionsAlertType = [
|
|||||||
'道岔挤岔',
|
'道岔挤岔',
|
||||||
'列车完整性',
|
'列车完整性',
|
||||||
'列车报点',
|
'列车报点',
|
||||||
|
'车站扣车',
|
||||||
];
|
];
|
||||||
const mapAlertType = new Map([
|
const mapAlertType = new Map([
|
||||||
['蓝显', ['station']],
|
['蓝显', ['station']],
|
||||||
@ -182,6 +183,7 @@ const mapAlertType = new Map([
|
|||||||
['道岔挤岔', ['Turnout']],
|
['道岔挤岔', ['Turnout']],
|
||||||
['列车完整性', ['LogicSection']],
|
['列车完整性', ['LogicSection']],
|
||||||
['列车报点', ['Section']],
|
['列车报点', ['Section']],
|
||||||
|
['车站扣车', ['Section', 'LogicSection']],
|
||||||
]);
|
]);
|
||||||
enum DeviceType {
|
enum DeviceType {
|
||||||
station = 'DEVICE_TYPE_RTU',
|
station = 'DEVICE_TYPE_RTU',
|
||||||
@ -240,6 +242,11 @@ watch(
|
|||||||
allplatformRefSection.includes(g.id)
|
allplatformRefSection.includes(g.id)
|
||||||
) {
|
) {
|
||||||
select = true;
|
select = true;
|
||||||
|
} else if (
|
||||||
|
g.type == Section.Type &&
|
||||||
|
setAlartTextData.value.alertType == '车站扣车'
|
||||||
|
) {
|
||||||
|
select = true;
|
||||||
} else if (
|
} else if (
|
||||||
g.type !== Station.Type &&
|
g.type !== Station.Type &&
|
||||||
g.type !== Section.Type &&
|
g.type !== Section.Type &&
|
||||||
|
@ -500,6 +500,7 @@ const optionsAlertType = [
|
|||||||
'联锁区橙光带',
|
'联锁区橙光带',
|
||||||
'应急触发',
|
'应急触发',
|
||||||
'道岔挤岔',
|
'道岔挤岔',
|
||||||
|
'车站扣车',
|
||||||
];
|
];
|
||||||
|
|
||||||
//时间校验
|
//时间校验
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 7aef4b876fae6622d93a21c99fe293df7bf7d572
|
Subproject commit 2356a7fdcd388f28e13ba10d4cfc071aaa038646
|
Loading…
Reference in New Issue
Block a user