增加道岔挤岔
This commit is contained in:
parent
ae81b3f4f8
commit
f8e36732d8
@ -24,6 +24,7 @@ export enum showAlertTypeData {
|
||||
'联锁区失表',
|
||||
'一级联锁',
|
||||
'应急触发',
|
||||
'道岔挤岔',
|
||||
I = 'I类信息',
|
||||
II = 'II类信息',
|
||||
III = 'III类信息',
|
||||
@ -55,6 +56,7 @@ export enum showAlertTypeData {
|
||||
SWITCH_LOST_INTERLOCK_AREA = '联锁区失表',
|
||||
INTERLOCK_LEVEL_ONE = '一级联锁',
|
||||
PLATFORM_EMERG_STOP = '应急触发',
|
||||
SWITCH_JAMMED = '道岔挤岔',
|
||||
}
|
||||
|
||||
export enum saveAlertTypeData {
|
||||
@ -85,6 +87,7 @@ export enum saveAlertTypeData {
|
||||
联锁区失表 = 'SWITCH_LOST_INTERLOCK_AREA',
|
||||
一级联锁 = 'INTERLOCK_LEVEL_ONE',
|
||||
应急触发 = 'PLATFORM_EMERG_STOP',
|
||||
道岔挤岔 = 'SWITCH_JAMMED',
|
||||
}
|
||||
|
||||
export const GuardConfigTypeData = {
|
||||
|
@ -104,6 +104,7 @@ const optionsAlertType = [
|
||||
'计轴大面积橙光带',
|
||||
'列车信号故障',
|
||||
'应急触发',
|
||||
'道岔挤岔',
|
||||
];
|
||||
const mapAlertType = new Map([
|
||||
['蓝显', ['station']],
|
||||
@ -117,6 +118,7 @@ const mapAlertType = new Map([
|
||||
['计轴大面积橙光带', ['Section']],
|
||||
['列车信号故障', ['LogicSection', 'Turnout']],
|
||||
['应急触发', ['Platform']],
|
||||
['道岔挤岔', ['Turnout']],
|
||||
]);
|
||||
let selectGraphic: JlGraphic[] = [];
|
||||
|
||||
|
@ -159,6 +159,7 @@ const optionsAlertType = [
|
||||
'计轴橙光带',
|
||||
'列车信号故障',
|
||||
'应急触发',
|
||||
'道岔挤岔',
|
||||
];
|
||||
const mapAlertType = new Map([
|
||||
['蓝显', ['station']],
|
||||
@ -167,6 +168,7 @@ const mapAlertType = new Map([
|
||||
['计轴橙光带', ['LogicSection', 'Turnout']],
|
||||
['列车信号故障', ['LogicSection', 'Turnout']],
|
||||
['应急触发', ['Platform']],
|
||||
['道岔挤岔', ['Turnout']],
|
||||
]);
|
||||
enum DeviceType {
|
||||
station = 'DEVICE_TYPE_RTU',
|
||||
|
@ -131,6 +131,7 @@ const optionsAlertType = [
|
||||
'列车信号故障',
|
||||
'一级联锁',
|
||||
'应急触发',
|
||||
'道岔挤岔',
|
||||
];
|
||||
|
||||
enum DeviceType {
|
||||
|
@ -496,6 +496,7 @@ const optionsAlertType = [
|
||||
'联锁区红光带',
|
||||
'联锁区橙光带',
|
||||
'应急触发',
|
||||
'道岔挤岔',
|
||||
];
|
||||
|
||||
//时间校验
|
||||
|
@ -412,6 +412,7 @@ const optionsAlertType = [
|
||||
'联锁区橙光带',
|
||||
'联锁区失表',
|
||||
'应急触发',
|
||||
'道岔挤岔',
|
||||
];
|
||||
const searchOptionsAlertType = ['全部', ...optionsAlertType];
|
||||
let optionsLocationType = ref<string[]>([]);
|
||||
@ -419,7 +420,10 @@ let optionsLocationList: AreaConfigItem[] = [];
|
||||
async function searchLocationType() {
|
||||
try {
|
||||
const alertType = (saveAlertTypeData as never)[creatForm.alertType];
|
||||
optionsLocationList = await getDeviceAreaByAlarmType(+creatForm.lineId, alertType);
|
||||
optionsLocationList = await getDeviceAreaByAlarmType(
|
||||
+creatForm.lineId,
|
||||
alertType
|
||||
);
|
||||
optionsLocationType.value = optionsLocationList.map(
|
||||
(item) => item.areaName
|
||||
);
|
||||
|
@ -36,7 +36,8 @@ export namespace alert {
|
||||
AXLE_LED_ORANGE_INTERLOCK_AREA = 21,
|
||||
SWITCH_LOST_INTERLOCK_AREA = 22,
|
||||
INTERLOCK_LEVEL_ONE = 23,
|
||||
PLATFORM_EMERG_STOP = 24
|
||||
PLATFORM_EMERG_STOP = 24,
|
||||
SWITCH_JAMMED = 25
|
||||
}
|
||||
export enum TipTimeConfig {
|
||||
HOLIDAYS_MORN_PEAK = 0,
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit c8ca17875615e4fd3483a7b15c11a1bc2f2f9cd5
|
||||
Subproject commit a7b726826b89520f047c268415702df8116d225f
|
Loading…
Reference in New Issue
Block a user