生成联锁添加配置项:信号机接近区段不跨过前方同向信号机

This commit is contained in:
joylink_cuiweidong 2021-01-29 11:23:01 +08:00
parent 67d7008ec0
commit 2e3d576614
2 changed files with 97 additions and 94 deletions

View File

@ -1,49 +1,49 @@
export const OperationEvent = { export const OperationEvent = {
// 直接指令 // 直接指令
Command: { Command: {
// 对话框 // 对话框
common: { common: {
choose: { choose: {
operation: 'com01', operation: 'com01',
domId: '_Tips-Cmd-Common-Choose' domId: '_Tips-Cmd-Common-Choose'
}, },
select: { select: {
operation: 'com02', operation: 'com02',
domId: '_Tips-Cmd-Common-Select' domId: '_Tips-Cmd-Common-Select'
}, },
confirm: { confirm: {
operation: 'com03', operation: 'com03',
domId: '_Tips-Cmd-Common-Confirm' domId: '_Tips-Cmd-Common-Confirm'
}, },
apply: { apply: {
operation: 'com04', operation: 'com04',
domId: '_Tips-Cmd-Common-Apply' domId: '_Tips-Cmd-Common-Apply'
}, },
close: { close: {
operation: 'com05', operation: 'com05',
domId: '_Tips-Cmd-Common-Close' domId: '_Tips-Cmd-Common-Close'
}, },
choose1: { choose1: {
operation: 'com06', operation: 'com06',
domId: '_Tips-Cmd-Common-Choose1' domId: '_Tips-Cmd-Common-Choose1'
}, },
select: { select: {
operation: 'com07', operation: 'com07',
domId: '_Tips-Cmd-Common-Select' domId: '_Tips-Cmd-Common-Select'
}, },
confirm1: { confirm1: {
operation: 'com08', operation: 'com08',
domId: '_Tips-Cmd-Common-Confirm1' domId: '_Tips-Cmd-Common-Confirm1'
}, },
apply1: { apply1: {
operation: 'com09', operation: 'com09',
domId: '_Tips-Cmd-Common-Apply1' domId: '_Tips-Cmd-Common-Apply1'
}, },
close1: { close1: {
operation: 'com10', operation: 'com10',
domId: '_Tips-Cmd-Common-Close1' domId: '_Tips-Cmd-Common-Close1'
}, }
}, },
// 取消操作 // 取消操作
cancel: { cancel: {
@ -625,26 +625,26 @@ export const OperationEvent = {
menu: { menu: {
operation: '107', operation: '107',
domId: '_Tips-Switch-Turnout-Menu' domId: '_Tips-Switch-Turnout-Menu'
}, },
menuButton: { menuButton: {
operation: '1071', operation: '1071',
domId: '_Tips-Switch-Turnout-MenuButton{BOTTOM}' domId: '_Tips-Switch-Turnout-MenuButton{BOTTOM}'
} }
}, },
// 强制扳动 // 强制扳动
turnoutForce: { turnoutForce: {
menu: { menu: {
operation: '108', operation: '108',
domId: '_Tips-Switch-TurnoutForce-Menu' domId: '_Tips-Switch-TurnoutForce-Menu'
}, },
button: { button: {
operation: '1080', operation: '1080',
domId: '_Tips-Switch-TurnoutForce-Mbm{TOP}' domId: '_Tips-Switch-TurnoutForce-Mbm{TOP}'
}, },
menuButton: { menuButton: {
operation: '1081', operation: '1081',
domId: '_Tips-Switch-TurnoutForce-MenuButton{BOTTOM}' domId: '_Tips-Switch-TurnoutForce-MenuButton{BOTTOM}'
} }
}, },
// 道岔故障解锁 // 道岔故障解锁
fault: { fault: {
@ -671,11 +671,11 @@ export const OperationEvent = {
stop: { stop: {
operation: '1095', operation: '1095',
domId: '_Tips-Switch-Fault-Stop' domId: '_Tips-Switch-Fault-Stop'
}, },
menuButton: { menuButton: {
operation: '1096', operation: '1096',
domId: '_Tips-Switch-Fault-MenuButton{BOTTOM}' domId: '_Tips-Switch-Fault-MenuButton{BOTTOM}'
} }
}, },
// 计轴预复位 // 计轴预复位
axlePreReset: { axlePreReset: {
@ -854,18 +854,18 @@ export const OperationEvent = {
operation: '1190', operation: '1190',
domId: '_Tips-Switch-GuideLock-Button{TOP}' domId: '_Tips-Switch-GuideLock-Button{TOP}'
} }
}, },
// 挤岔恢复 // 挤岔恢复
squeezeRecovery: { squeezeRecovery: {
button: { button: {
operation: '11a0', operation: '11a0',
domId: '_Tips-Switch-Squeeze-Recovery-Button{TOP}' domId: '_Tips-Switch-Squeeze-Recovery-Button{TOP}'
}, },
menuButton: { menuButton: {
operation: '11a1', operation: '11a1',
domId: '_Tips-Switch-Squeeze-Recovery-MenuButton{TOP}' domId: '_Tips-Switch-Squeeze-Recovery-MenuButton{TOP}'
} }
} }
}, },
// 控制模式操作 // 控制模式操作
@ -949,11 +949,11 @@ export const OperationEvent = {
passwordConfirm: { passwordConfirm: {
operation: '2035', operation: '2035',
domId: '_Tips-Control-Forced-PasswordConfirm' domId: '_Tips-Control-Forced-PasswordConfirm'
}, },
menuButton: { menuButton: {
operation: '2036', operation: '2036',
domId: '_Tips-Control-Forced-Menu{BOTTOM}' domId: '_Tips-Control-Forced-Menu{BOTTOM}'
} }
}, },
// 请求中控 // 请求中控
requestCentralControl: { requestCentralControl: {
@ -1637,11 +1637,11 @@ export const OperationEvent = {
stop: { stop: {
operation: '4095', operation: '4095',
domId: '_Tips-Section-AxlePreReset-Stop' domId: '_Tips-Section-AxlePreReset-Stop'
}, },
menuButton: { menuButton: {
operation: '4096', operation: '4096',
domId: '_Tips-Section-AxlePreReset-Menu{BOTTOM}' domId: '_Tips-Section-AxlePreReset-Menu{BOTTOM}'
} }
}, },
// 设备状态 // 设备状态
detail: { detail: {
@ -2105,14 +2105,14 @@ export const OperationEvent = {
operation: '519', operation: '519',
domId: '_Tips-Stand-openPsdByHand-Menu' domId: '_Tips-Stand-openPsdByHand-Menu'
} }
}, },
// 取消设置 // 取消设置
cancelTrain:{ cancelTrain:{
menuButton: { menuButton: {
operation: '520', operation: '520',
domId: '_Tips-Stand-CancelTrain-MenuButton{BOTTOM}' domId: '_Tips-Stand-CancelTrain-MenuButton{BOTTOM}'
} }
} }
}, },
Station: { Station: {

View File

@ -70,32 +70,34 @@ export default {
falseValue: false, falseValue: false,
id: '', id: '',
height: 800, height: 800,
initData: { // initData: {
upRight: false, // upRight: false,
signalApproachOnlyOne: false, // signalApproachOnlyOne: false,
signalApproachOnlyNpSwitch: false, // signalApproachOnlyNpSwitch: false,
routeNameUseEndOppositeSignalName: false, // routeNameUseEndOppositeSignalName: false,
generateTbRoute: false, // generateTbRoute: false,
tbRouteNameUseEndOppositeSignalName: false, // tbRouteNameUseEndOppositeSignalName: false,
routeSignalAlwaysGreen: false, // routeSignalAlwaysGreen: false,
routeApartByOverlap: false, // routeApartByOverlap: false,
overlapOnlySwitch: false, // overlapOnlySwitch: false,
overlapSwitchNpOnly: false, // overlapSwitchNpOnly: false,
overlapSignalOppositeSwitchNpOnly: false, // overlapSignalOppositeSwitchNpOnly: false,
overlapOnlyOneSwitch: false, // overlapOnlyOneSwitch: false,
generateCycle: false, // generateCycle: false,
routeButton: false, // routeButton: false,
likeHa1: false, // likeHa1: false,
getNearlySignal: false, // getNearlySignal: false,
overlapSettingByTrigger: false, // overlapSettingByTrigger: false,
overlapReleaseTime: 45, // generateFls:false,
routeReleaseTime: 60 // signalApproachNotPassPreSignal:false,
}, // overlapReleaseTime: 45,
// routeReleaseTime: 60
// },
roadData: [], roadData: [],
focus: false, focus: false,
booleanList: ['upRight', 'lockFirst', 'switchSingleHandle', 'signalApproachOnlyOne', 'signalApproachOnlyNpSwitch', booleanList: ['upRight', 'lockFirst', 'switchSingleHandle', 'signalApproachOnlyOne', 'signalApproachOnlyNpSwitch',
'routeNameUseEndOppositeSignalName', 'generateTbRoute', 'tbRouteNameUseEndOppositeSignalName', 'routeSignalAlwaysGreen', 'routeNameUseEndOppositeSignalName', 'generateTbRoute', 'tbRouteNameUseEndOppositeSignalName', 'routeSignalAlwaysGreen',
'routeApartByOverlap', 'overlapOnlySwitch', 'overlapSwitchNpOnly', 'overlapSignalOppositeSwitchNpOnly', 'overlapOnlyOneSwitch', 'generateCycle', 'routeButton', 'likeHa1', 'getNearlySignal', 'overlapSettingByTrigger', 'generateFls'], 'routeApartByOverlap', 'overlapOnlySwitch', 'overlapSwitchNpOnly', 'overlapSignalOppositeSwitchNpOnly', 'overlapOnlyOneSwitch', 'generateCycle', 'routeButton', 'likeHa1', 'getNearlySignal', 'overlapSettingByTrigger', 'generateFls', 'signalApproachNotPassPreSignal'],
selectList: [], selectList: [],
numberList: ['overlapReleaseTime', 'routeReleaseTime'], numberList: ['overlapReleaseTime', 'routeReleaseTime'],
optionsMap: { optionsMap: {
@ -123,7 +125,8 @@ export default {
likeHa1: '是否类似哈尔滨一号线联锁分为ATP信号、地面信号、引导信号', likeHa1: '是否类似哈尔滨一号线联锁分为ATP信号、地面信号、引导信号',
getNearlySignal: '生成进路信号按钮,进路信号按钮是否取最近的一个信号机', getNearlySignal: '生成进路信号按钮,进路信号按钮是否取最近的一个信号机',
overlapSettingByTrigger: '延续保护的建立方式:是-通过触发建立,否-随进路建立', overlapSettingByTrigger: '延续保护的建立方式:是-通过触发建立,否-随进路建立',
generateFls: '是否生成侧防:是-生成侧防,不要联动道岔,否-不生成侧防,用联动道岔' generateFls: '是否生成侧防:是-生成侧防,不要联动道岔,否-不生成侧防,用联动道岔',
signalApproachNotPassPreSignal:'信号机接近区段不跨过前方同向信号机'
} }
}; };
}, },