范围配置增加故障类型

This commit is contained in:
joylink_zhaoerwei 2023-09-25 14:41:21 +08:00
parent 95b6f380b9
commit 4dd2d5a046
3 changed files with 20 additions and 1 deletions

View File

@ -21,6 +21,8 @@ export enum showAlertTypeData {
'全线蓝显', '全线蓝显',
'联锁区红光带', '联锁区红光带',
'联锁区橙光带', '联锁区橙光带',
'一级联锁' = 26,
'二级联锁' = 27,
I = 'I类信息', I = 'I类信息',
II = 'II类信息', II = 'II类信息',
III = 'III类信息', III = 'III类信息',
@ -49,6 +51,8 @@ export enum showAlertTypeData {
ALL_LINE_BLUE_DISPLAY = '全线蓝显', ALL_LINE_BLUE_DISPLAY = '全线蓝显',
AXLE_LED_RED_INTERLOCK_AREA = '联锁区红光带', AXLE_LED_RED_INTERLOCK_AREA = '联锁区红光带',
AXLE_LED_ORANGE_INTERLOCK_AREA = '联锁区橙光带', AXLE_LED_ORANGE_INTERLOCK_AREA = '联锁区橙光带',
INTERLOCK_LEVEL_ONE = '一级联锁',
INTERLOCK_LEVEL_TWO = '二级联锁',
} }
export enum saveAlertTypeData { export enum saveAlertTypeData {
@ -76,6 +80,8 @@ export enum saveAlertTypeData {
线 = 'ALL_LINE_BLUE_DISPLAY', 线 = 'ALL_LINE_BLUE_DISPLAY',
= 'AXLE_LED_RED_INTERLOCK_AREA', = 'AXLE_LED_RED_INTERLOCK_AREA',
= 'AXLE_LED_ORANGE_INTERLOCK_AREA', = 'AXLE_LED_ORANGE_INTERLOCK_AREA',
= 'INTERLOCK_LEVEL_ONE',
= 'INTERLOCK_LEVEL_TWO',
} }
export const GuardConfigTypeData = { export const GuardConfigTypeData = {

View File

@ -132,6 +132,8 @@ const optionsAlertType = [
'列车信号故障', '列车信号故障',
'联锁区红光带', '联锁区红光带',
'联锁区橙光带', '联锁区橙光带',
'一级联锁',
'二级联锁',
]; ];
enum DeviceType { enum DeviceType {

View File

@ -31,6 +31,17 @@ export namespace alert {
AXLE_LED_ORANGE_MOST = 16, AXLE_LED_ORANGE_MOST = 16,
SWITCH_LOST_MOST = 17, SWITCH_LOST_MOST = 17,
TRAIN_EB_ATP = 18, TRAIN_EB_ATP = 18,
ALL_LINE_BLUE_DISPLAY = 19 ALL_LINE_BLUE_DISPLAY = 19,
AXLE_LED_RED_INTERLOCK_AREA = 20,
AXLE_LED_ORANGE_INTERLOCK_AREA = 21,
INTERLOCK_LEVEL_ONE = 26,
INTERLOCK_LEVEL_TWO = 27
}
export enum TipTimeConfig {
HOLIDAYS_MORN_PEAK = 0,
HOLIDAYS_EVENING_PEAK = 1,
MORN_PEAK = 2,
EVENING_PEARK = 3,
NORMAL_UNPEARK = 4
} }
} }