@ -246,7 +246,7 @@
< div class = "station_buttonGroupL" >
< div v-if ="allowDetain" :id="setDetainTrainId" class="stationButton" @click="stationDetainTrain" > 此站扣车 < / div >
< div v -else class = "stationButton disabled" > 此站扣车 < / div >
< div v-if ="allowJump" :id="set JumpStop Id" class="stationButton station_jumpTrain" @click="stationAllJumpTrain"> 连续扣车 < / div >
< div v-if ="allowJump" :id="set BulkBuckleTrain Id" class="stationButton station_jumpTrain" @click="stationAllJumpTrain"> 连续扣车 < / div >
< div v -else class = "stationButton station_jumpTrain disabled" > 连续扣车 < / div >
< / div >
< div class = "station_buttonGroupR" >
@ -276,6 +276,7 @@
< / template >
< / e l - r o w >
< / div >
< notice -info ref = "noticeInfo" pop -class = " nanjing -02__systerm " / >
< / div >
< / template >
< script >
@ -289,8 +290,12 @@ import CMD from '@/scripts/cmdPlugin/CommandEnum';
import BanIcon from '@/assets/ban-heb.png' ;
import { queryRunPlanList } from '@/api/runplan' ;
import { simulationLoadRunPlan } from '@/api/simulation' ;
import NoticeInfo from '@/jmapNew/theme/components/menus/childDialog/noticeInfo' ;
export default {
components : {
NoticeInfo
} ,
props : {
selected : {
type : Object ,
@ -411,6 +416,9 @@ export default {
setJumpStopId ( ) {
return OperationEvent . StationStand . setJumpStop . menuButton . domId ;
} ,
setBulkBuckleTrainId ( ) {
return OperationEvent . StationStand . setBulkBuckleTrain . menuButton . domId ;
} ,
cr1ConfrimId ( ) {
return OperationEvent . Command . commandHaerbin . confrimCr1 . domId ;
} ,
@ -573,7 +581,7 @@ export default {
} ) ;
lists . forEach ( ( el , index ) => {
if ( el . disabledCb && stationContorl ) {
el . disabled = el . disabledCb ( stationContorl );
el . disabled = el . disabledCb ( stationContorl , this . selectedObj );
}
this . menuCmdList [ index ] = el ;
} ) ;
@ -915,7 +923,7 @@ export default {
name : ` ${ el } km/h ` ,
commandTip : ` ${ tip } ${ el } KM ` ,
cmdType : this . cmdType ,
operate : OperationEvent . Command. common . choose ,
operate : OperationEvent . Switch. setSpeed [ 'choose' + el ] ,
next : true ,
param : { speedLimitValue : el } ,
value : el
@ -979,7 +987,7 @@ export default {
this . $store . dispatch ( 'menuOperation/handleBreakFlag' , { break : true } ) ;
}
} ) . catch ( ( error ) => {
if ( error && error . code == '10017' ) {
if ( error && error . code == '10017' ) {
EventBus . $emit ( 'sendMsg' , { message : error . message } ) ;
} else {
EventBus . $emit ( 'sendMsg' , { message : '命令执行失败!' } ) ;
@ -1016,8 +1024,10 @@ export default {
this . handleClose ( ) ;
if ( error && error . code == '10017' ) {
EventBus . $emit ( 'sendMsg' , { message : error . message } ) ;
this . $store . state . training . prdType === '02' && this . $refs . noticeInfo . doShow ( error . message ) ;
} else {
EventBus . $emit ( 'sendMsg' , { message : ` ${ this . commandInfo . name } 失败 ` } ) ;
this . $store . state . training . prdType === '02' && this . $refs . noticeInfo . doShow ( ` ${ this . commandInfo . name } 失败 ` ) ;
}
} ) ;
} ,
@ -1038,8 +1048,10 @@ export default {
} ) . catch ( ( error ) => {
if ( error && error . code == '10017' ) {
EventBus . $emit ( 'sendMsg' , { message : error . message } ) ;
this . $store . state . training . prdType === '02' && this . $refs . noticeInfo . doShow ( error . message ) ;
} else {
EventBus . $emit ( 'sendMsg' , { message : '命令执行失败!' } ) ;
this . $store . state . training . prdType === '02' && this . $refs . noticeInfo . doShow ( '命令执行失败!' ) ;
}
this . doClose ( ) ;
} ) ;
@ -1065,8 +1077,10 @@ export default {
this . handleClose ( ) ;
if ( error && error . code == '10017' ) {
EventBus . $emit ( 'sendMsg' , { message : error . message } ) ;
this . $store . state . training . prdType === '02' && this . $refs . noticeInfo . doShow ( error . message ) ;
} else {
EventBus . $emit ( 'sendMsg' , { message : ` ${ this . commandInfo . name } 失败 ` } ) ;
this . $store . state . training . prdType === '02' && this . $refs . noticeInfo . doShow ( ` ${ this . commandInfo . name } 失败 ` ) ;
}
} ) ;
} ,
@ -1189,8 +1203,10 @@ export default {
} ) . catch ( ( error ) => {
if ( error && error . code == '10017' ) {
EventBus . $emit ( 'sendMsg' , { message : error . message } ) ;
this . $store . state . training . prdType === '02' && this . $refs . noticeInfo . doShow ( error . message ) ;
} else {
EventBus . $emit ( 'sendMsg' , { message : '命令执行失败!' } ) ;
this . $store . state . training . prdType === '02' && this . $refs . noticeInfo . doShow ( '命令执行失败!' ) ;
}
} ) ;
} ,
@ -1209,8 +1225,10 @@ export default {
this . handleStationClose ( ) ;
if ( error && error . code == '10017' ) {
EventBus . $emit ( 'sendMsg' , { message : error . message } ) ;
this . $store . state . training . prdType === '02' && this . $refs . noticeInfo . doShow ( error . message ) ;
} else {
EventBus . $emit ( 'sendMsg' , { message : '命令执行失败!' } ) ;
this . $store . state . training . prdType === '02' && this . $refs . noticeInfo . doShow ( '命令执行失败!' ) ;
}
} ) ;
} ,
@ -1230,8 +1248,10 @@ export default {
} ) . catch ( ( error ) => {
if ( error && error . code == '10017' ) {
EventBus . $emit ( 'sendMsg' , { message : error . message } ) ;
this . $store . state . training . prdType === '02' && this . $refs . noticeInfo . doShow ( error . message ) ;
} else {
EventBus . $emit ( 'sendMsg' , { message : '命令执行失败!' } ) ;
this . $store . state . training . prdType === '02' && this . $refs . noticeInfo . doShow ( '命令执行失败!' ) ;
}
} ) ;
} ,
@ -1265,25 +1285,29 @@ export default {
row . cmdType = CMD . Stand . CMD _STAND _SET _HOLD _TRAIN _ALL ;
row . param = { 'standCodes' : lists . map ( el => el . code ) } ;
this . stationCommand ( row ) ;
/ / t h i s . s t a t i o n C o m m a n d ( r o w ) ; 2 6 4
/ / t h i s . s t a t i o n C o m m a n d ( r o w ) ;
} ,
getStationControlForbidden ( code ) {
const device = this . $store . getters [ 'map/getDeviceByCode' ] ( code ) ;
return device && device . interlockMachineStarting ;
} ,
initMenus ( ) {
this . basicParamList = this . $store . state . training . prdType === '01' ? [
{ name : '自排全开' , commandTip : '自排全开' , cmdType : CMD . Station . CMD _STATION _OPEN _AUTO _SETTING , operate : OperationEvent . Station . atsAutoControlALL . menu , fillStationCode : true , disabledCb : ( stationControl ) => [ 'Center' , 'None' ] . includes ( stationControl . controlMode ) } ,
{ name : '自排全关' , commandTip : '自排全关' , cmdType : CMD . Station . CMD _STATION _CLOSE _AUTO _SETTING , operate : OperationEvent . Station . humanControlALL . menu , fillStationCode : true , disabledCb : ( stationControl ) => [ 'Center' , 'None' ] . includes ( stationControl . controlM ode) } ,
{ name : '释放指令' , commandTip : '释放指令' , cmdType : CMD . Station . CMD _STATION _RELEASE , operate : OperationEvent . Station . stationRelease . menuButton , securityCommand : true , fillStationCode : true , disabledCb : ( stationControl ) => [ 'Center' , 'None' ] . includes ( stationControl . controlMode ) } ,
{ name : '重启令解' , commandTip : '重启令解' , cmdType : CMD . Station . CMD _STATION _RESTART , operate : OperationEvent . Station . stationRestart . menuButton , securityCommand : true , fillStationCode : true , disabledCb : ( stationControl ) => [ 'Center' , 'None' ] . includes ( stationControl . controlMode ) } ,
{ name : '追踪全开' , commandTip : '追踪全开' , cmdType : CMD . Station . CMD _STATION _SET _CI _AUTO _TRIGGER , operate : OperationEvent . Station . setAutoTrigger . menu , fillStationCode : true , disabledCb : ( stationControl ) => [ 'Center' , 'None' ] . includes ( stationControl . controlM ode) } ,
{ name : '追踪全关' , commandTip : '追踪全关' , cmdType : CMD . Station . CMD _STATION _CANCEL _CI _AUTO _TRIGGER , operate : OperationEvent . Station . cancelAutoTrigger . menu , fillStationCode : true , disabledCb : ( stationControl ) => [ 'Center' , 'None' ] . includes ( stationControl . controlM ode) } ,
{ name : '关区信号' , commandTip : '关区信号' , cmdType : CMD . Station . CMD _STATION _CIAREA _CLOSE _ALLSIGNAL , operate : OperationEvent . Station . ciAreaCloseAllSignal . menu , fillStationCode : true , disabledCb : ( stationControl ) => [ 'Center' , 'None' ] . includes ( stationControl . controlM ode) } ,
{ name : '强行站控' , commandTip : '车站强行取得控制权' , cmdType : CMD . ControlConvertMenu . CMD _CM _FORCE _STATION _CONTROL , operate : OperationEvent . StationControl . forcedStationControl . menuButton , securityCommand : true , fillStationCode : true , disabledCb : ( stationControl ) => [ 'Local' ] . includes ( stationControl . controlMode ) } ,
{ name : '接收控制' , commandTip : '接收控制权' , cmdType : CMD . ControlConvertMenu . CMD _CM _RECEIVE _CONTROL , operate : OperationEvent . StationControl . requestStationControl . menuButton , fillStationCode : true , disabledCb : ( stationControl ) => [ 'Local' ] . includes ( stationControl . controlMode ) } ,
{ name : '交出控制' , commandTip : '交出控制权' , cmdType : CMD . ControlConvertMenu . CMD _CM _SURRENDER _CONTROL , operate : OperationEvent . StationControl . requestCentralControl . menuButton , fillStationCode : true , disabledCb : ( stationControl ) => [ 'Center' , 'None' ] . includes ( stationControl . controlM ode) } ,
{ name : '自排全开' , commandTip : '自排全开' , cmdType : CMD . Station . CMD _STATION _OPEN _AUTO _SETTING , operate : OperationEvent . Station . atsAutoControlALL . menu Button , fillStationCode : true , disabledCb : ( stationControl , device ) => [ 'Center' , 'None' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) } ,
{ name : '自排全关' , commandTip : '自排全关' , cmdType : CMD . Station . CMD _STATION _CLOSE _AUTO _SETTING , operate : OperationEvent . Station . humanControlALL . menu Button , fillStationCode : true , disabledCb : ( stationControl , device ) => [ 'Center' , 'None' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) } ,
{ name : '释放指令' , commandTip : '释放指令' , cmdType : CMD . Station . CMD _STATION _RELEASE , operate : OperationEvent . Station . stationRelease . menuButton , securityCommand : true , fillStationCode : true , disabledCb : ( stationControl , device ) => [ 'Center' , 'None' ] . includes ( stationControl . controlMode ) } ,
{ name : '重启令解' , commandTip : '重启令解' , cmdType : CMD . Station . CMD _STATION _RESTART , operate : OperationEvent . Station . stationRestart . menuButton , securityCommand : true , fillStationCode : true , disabledCb : ( stationControl , device ) => [ 'Center' , 'None' ] . includes ( stationControl . controlMode ) } ,
{ name : '追踪全开' , commandTip : '追踪全开' , cmdType : CMD . Station . CMD _STATION _SET _CI _AUTO _TRIGGER , operate : OperationEvent . Station . setAutoTrigger . menu Button , fillStationCode : true , disabledCb : ( stationControl , device ) => [ 'Center' , 'None' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) } ,
{ name : '追踪全关' , commandTip : '追踪全关' , cmdType : CMD . Station . CMD _STATION _CANCEL _CI _AUTO _TRIGGER , operate : OperationEvent . Station . cancelAutoTrigger . menu Button , fillStationCode : true , disabledCb : ( stationControl , device ) => [ 'Center' , 'None' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) } ,
{ name : '关区信号' , commandTip : '关区信号' , cmdType : CMD . Station . CMD _STATION _CIAREA _CLOSE _ALLSIGNAL , operate : OperationEvent . Station . ciAreaCloseAllSignal . menu Button , fillStationCode : true , disabledCb : ( stationControl , device ) => [ 'Center' , 'None' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) } ,
{ name : '强行站控' , commandTip : '车站强行取得控制权' , cmdType : CMD . ControlConvertMenu . CMD _CM _FORCE _STATION _CONTROL , operate : OperationEvent . StationControl . forcedStationControl . menuButton , securityCommand : true , fillStationCode : true , disabledCb : ( stationControl , device ) => [ 'Local' ] . includes ( stationControl . controlMode ) } ,
{ name : '接收控制' , commandTip : '接收控制权' , cmdType : CMD . ControlConvertMenu . CMD _CM _RECEIVE _CONTROL , operate : OperationEvent . StationControl . requestStationControl . menuButton , fillStationCode : true , disabledCb : ( stationControl , device ) => [ 'Local' ] . includes ( stationControl . controlMode ) } ,
{ name : '交出控制' , commandTip : '交出控制权' , cmdType : CMD . ControlConvertMenu . CMD _CM _SURRENDER _CONTROL , operate : OperationEvent . StationControl . requestCentralControl . menuButton , fillStationCode : true , disabledCb : ( stationControl , device ) => [ 'Center' , 'None' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) } ,
{ name : '' } ,
{ name : '' } ,
{ name : '' } ,
{ name : '' } ,
{ name : '关闭索引' , cmdType : '' , operate : OperationEvent . StationControl . requestCentralControl . menuButton , fillStationCode : true , disabledCb : ( stationControl ) => [ 'None' ] . includes ( stationControl . controlMode ) }
{ name : '关闭索引' , cmdType : '' , operate : OperationEvent . StationControl . requestCentralControl . menuButton , fillStationCode : true , disabledCb : ( stationControl ) => [ 'None' ] . includes ( stationControl . controlMode ) || this . getStationControlForbidden ( stationControl . code ) }
] : [
{ name : '' } ,
{ name : '' } ,
@ -1302,110 +1326,110 @@ export default {
{ name : '' }
] ;
this . sectionParamList = this . selected && this . selected . type == '05' ? [
{ name : '岔芯设限' , cmdType : CMD . Section . CMD _SECTION _SET _LIMIT _SPEED , operate : OperationEvent . Section . setSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '岔芯消限' , commandTip : '取消对岔芯的限速' , cmdType : CMD . Section . CMD _SECTION _CANCEL _LIMIT _SPEED , operate : OperationEvent . Section . cancelSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '强行消限' , commandTip : '强行取消对岔芯的限速' , cmdType : CMD . Section . CMD _SECTION _CANCEL _LIMIT _SPEED , operate : OperationEvent . Section . cancelSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '预复位' , commandTip : '预重置岔芯' , cmdType : CMD . Section . CMD _SECTION _AXIS _PRE _RESET , operate : OperationEvent . Section . axlePreReset . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '封锁岔芯' , commandTip : '封锁岔芯' , cmdType : CMD . Section . CMD _SECTION _BLOCK , operate : OperationEvent . Section . lock . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '解封岔芯' , commandTip : '解封岔芯' , cmdType : CMD . Section . CMD _SECTION _UNBLOCK , operate : OperationEvent . Section . unlock . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '强解岔芯' , commandTip : '强解岔芯' , cmdType : CMD . Section . CMD _SECTION _FAULT _UNLOCK , operate : OperationEvent . Section . fault . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch }
{ name : '岔芯设限' , cmdType : CMD . Section . CMD _SECTION _SET _LIMIT _SPEED , operate : OperationEvent . Section . setSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '岔芯消限' , commandTip : '取消对岔芯的限速' , cmdType : CMD . Section . CMD _SECTION _CANCEL _LIMIT _SPEED , operate : OperationEvent . Section . cancelSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '强行消限' , commandTip : '强行取消对岔芯的限速' , cmdType : CMD . Section . CMD _SECTION _CANCEL _LIMIT _SPEED , operate : OperationEvent . Section . cancelSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '预复位' , commandTip : '预重置岔芯' , cmdType : CMD . Section . CMD _SECTION _AXIS _PRE _RESET , operate : OperationEvent . Section . axlePreReset . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '封锁岔芯' , commandTip : '封锁岔芯' , cmdType : CMD . Section . CMD _SECTION _BLOCK , operate : OperationEvent . Section . lock . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '解封岔芯' , commandTip : '解封岔芯' , cmdType : CMD . Section . CMD _SECTION _UNBLOCK , operate : OperationEvent . Section . unlock . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '强解岔芯' , commandTip : '强解岔芯' , cmdType : CMD . Section . CMD _SECTION _FAULT _UNLOCK , operate : OperationEvent . Section . fault . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) }
] : [
{ name : '轨区设限' , cmdType : CMD . Section . CMD _SECTION _SET _LIMIT _SPEED , operate : OperationEvent . Section . setSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( ) => this . $store . state . training . prdType == '01' } ,
{ name : '轨区消限' , commandTip : '取消对轨道区段的限速' , cmdType : CMD . Section . CMD _SECTION _CANCEL _LIMIT _SPEED , operate : OperationEvent . Section . cancelSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( ) => this . $store . state . training . prdType == '01' } ,
{ name : '强行消限' , commandTip : '强行取消对轨道区段的限速' , cmdType : CMD . Section . CMD _SECTION _CANCEL _LIMIT _SPEED , operate : OperationEvent . Section . cancelSpeed. menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( ) => this . $store . state . training . prdType == '01' } ,
{ name : '强解区段' , commandTip : '解锁进路中的轨道区段' , cmdType : CMD . Section . CMD _SECTION _FAULT _UNLOCK , operate : OperationEvent . Section . fault . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( ) => this . $store . state . training . prdType == '01' } ,
{ name : '预复位' , commandTip : '预重置计轴区段' , cmdType : CMD . Section . CMD _SECTION _AXIS _PRE _RESET , operate : OperationEvent . Section . axlePreReset . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( ) => this . $store . state . training . prdType == '01' } ,
{ name : '封锁区段' , commandTip : '禁止通过该轨道区段排列进路' , cmdType : CMD . Section . CMD _SECTION _BLOCK , operate : OperationEvent . Section . lock . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '解封区段' , commandTip : '允许通过该轨道区段排列进路' , cmdType : CMD . Section . CMD _SECTION _UNBLOCK , operate : OperationEvent . Section . unlock . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( ) => this . $store . state . training . prdType == '01' } ,
{ name : '轨区设限' , cmdType : CMD . Section . CMD _SECTION _SET _LIMIT _SPEED , operate : OperationEvent . Section . setSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( ) => this . $store . state . training . prdType == '01' } ,
{ name : '轨区消限' , commandTip : '取消对轨道区段的限速' , cmdType : CMD . Section . CMD _SECTION _CANCEL _LIMIT _SPEED , operate : OperationEvent . Section . cancelSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( ) => this . $store . state . training . prdType == '01' } ,
{ name : '强行消限' , commandTip : '强行取消对轨道区段的限速' , cmdType : CMD . Section . CMD _SECTION _CANCEL _LIMIT _SPEED , operate : OperationEvent . Section . for ceC ancelSpeed. menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( ) => this . $store . state . training . prdType == '01' } ,
{ name : '强解区段' , commandTip : '解锁进路中的轨道区段' , cmdType : CMD . Section . CMD _SECTION _FAULT _UNLOCK , operate : OperationEvent . Section . fault . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( ) => this . $store . state . training . prdType == '01' } ,
{ name : '预复位' , commandTip : '预重置计轴区段' , cmdType : CMD . Section . CMD _SECTION _AXIS _PRE _RESET , operate : OperationEvent . Section . axlePreReset . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( ) => this . $store . state . training . prdType == '01' } ,
{ name : '封锁区段' , commandTip : '禁止通过该轨道区段排列进路' , cmdType : CMD . Section . CMD _SECTION _BLOCK , operate : OperationEvent . Section . lock . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '解封区段' , commandTip : '允许通过该轨道区段排列进路' , cmdType : CMD . Section . CMD _SECTION _UNBLOCK , operate : OperationEvent . Section . unlock . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( ) => this . $store . state . training . prdType == '01' } ,
{ name : '上行不折返' , commandTip : '上行不折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnUp01 , params : { val : 'NONE' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && ( ( section . roadType === 'RIGHT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'LEFT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '下行不折返' , commandTip : '下行不折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnDown01 , params : { val : 'NONE' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && ( ( section . roadType === 'LEFT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'RIGHT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '上行缺省折返' , commandTip : '上行缺省折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnUp02 , params : { val : 'DEFAULT' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && ( ( section . roadType === 'RIGHT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'LEFT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '下行缺省折返' , commandTip : '下行缺省折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnDown02 , params : { val : 'DEFAULT' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && ( ( section . roadType === 'LEFT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'RIGHT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '上行换端' , commandTip : '上行换端' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnUp03 , params : { val : 'AUTO' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && ( ( section . roadType === 'RIGHT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'LEFT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '下行换端' , commandTip : '下行换端' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnDown03 , params : { val : 'AUTO' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && ( ( section . roadType === 'LEFT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'RIGHT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '上行自动折返' , commandTip : '上行自动折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnUp04 , params : { val : 'UNMANNED' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && ( ( section . roadType === 'RIGHT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'LEFT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '下行自动折返' , commandTip : '下行自动折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnDown04 , params : { val : 'UNMANNED' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && ( ( section . roadType === 'LEFT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'RIGHT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '车站发车' , commandTip : '车站发车' , cmdType : CMD . Stand . CMD _STAND _EARLY _DEPART , operate : OperationEvent . Section . earlyDeparture . menuBtn , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '上行不折返' , commandTip : '上行不折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnUp01 , params : { val : 'NONE' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && ( ( section . roadType === 'RIGHT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'LEFT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '下行不折返' , commandTip : '下行不折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnDown01 , params : { val : 'NONE' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && ( ( section . roadType === 'LEFT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'RIGHT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '上行缺省折返' , commandTip : '上行缺省折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnUp02 , params : { val : 'DEFAULT' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && ( ( section . roadType === 'RIGHT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'LEFT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '下行缺省折返' , commandTip : '下行缺省折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnDown02 , params : { val : 'DEFAULT' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && ( ( section . roadType === 'LEFT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'RIGHT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '上行换端' , commandTip : '上行换端' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnUp03 , params : { val : 'AUTO' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && ( ( section . roadType === 'RIGHT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'LEFT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '下行换端' , commandTip : '下行换端' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnDown03 , params : { val : 'AUTO' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && ( ( section . roadType === 'LEFT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'RIGHT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '上行自动折返' , commandTip : '上行自动折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnUp04 , params : { val : 'UNMANNED' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && ( ( section . roadType === 'RIGHT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'LEFT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '下行自动折返' , commandTip : '下行自动折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . setBackStrategy . menuBtnDown04 , params : { val : 'UNMANNED' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && ( ( section . roadType === 'LEFT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'RIGHT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '车站发车' , commandTip : '车站发车' , cmdType : CMD . Stand . CMD _STAND _EARLY _DEPART , operate : OperationEvent . Section . earlyDeparture . menuBtn , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && section . standTrack && this . $store . state . training . prdType == '02' } ,
{ name : '折返 DTO' , commandTip : '折返 DTO' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . turnBackDTO . menuButton , params : { val : 'UNMANNED' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && section . standTrack && this . $store . state . training . prdType == '01' } ,
{ name : '取消折返' , commandTip : '取消折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . CancelTurnBack . menuButton , params : { val : 'NONE' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && section . standTrack && this . $store . state . training . prdType == '01' } ,
{ name : '自动折返' , commandTip : '自动折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . AutoTurnBack . menuButton , params : { val : 'DEFAULT' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && section . standTrack && this . $store . state . training . prdType == '01' } ,
{ name : '换上至下' , commandTip : '换上至下' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . PutUpTheDown . menuButton , params : { val : 'AUTO' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && ( ( section . roadType === 'RIGHT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'LEFT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '01' } ,
{ name : '换下至上' , commandTip : '换下至上' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . PutDownTheUp . menuButton , params : { val : 'AUTO' } , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && ( ( section . roadType === 'LEFT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'RIGHT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '01' } ,
{ name : '终止站停-上' , commandTip : '上行终止站停' , cmdType : CMD . Stand . CMD _STAND _EARLY _DEPART , operate : OperationEvent . Section . Put Up Stop. menuButton , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && ( ( section . roadType === 'RIGHT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'LEFT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '01' } ,
{ name : '终止站停-下' , commandTip : '下行终止站停' , cmdType : CMD . Stand . CMD _STAND _EARLY _DEPART , operate : OperationEvent . Section . Put Down Stop. menuButton , disabledCb : ( stationControl ) => ! this . modeMatch , isShow : ( section ) => section && ( ( section . roadType === 'LEFT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'RIGHT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '01' }
{ name : '折返 DTO' , commandTip : '折返 DTO' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . turnBackDTO . menuButton , params : { val : 'UNMANNED' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && section . standTrack && this . $store . state . training . prdType == '01' } ,
{ name : '取消折返' , commandTip : '取消折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . CancelTurnBack . menuButton , params : { val : 'NONE' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && section . standTrack && this . $store . state . training . prdType == '01' } ,
{ name : '自动折返' , commandTip : '自动折返' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . AutoTurnBack . menuButton , params : { val : 'DEFAULT' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && section . standTrack && this . $store . state . training . prdType == '01' } ,
{ name : '换上至下' , commandTip : '换上至下' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . PutUpTheDown . menuButton , params : { val : 'AUTO' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && ( ( section . roadType === 'RIGHT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'LEFT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '01' } ,
{ name : '换下至上' , commandTip : '换下至上' , cmdType : CMD . Stand . CMD _STAND _SET _REENTRY _STRATEGY , operate : OperationEvent . Section . PutDownTheUp . menuButton , params : { val : 'AUTO' } , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && ( ( section . roadType === 'LEFT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'RIGHT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '01' } ,
{ name : '终止站停-上' , commandTip : '上行终止站停' , cmdType : CMD . Stand . CMD _STAND _EARLY _DEPART , operate : OperationEvent . Section . Put Stop. menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && ( ( section . roadType === 'RIGHT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'LEFT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '01' } ,
{ name : '终止站停-下' , commandTip : '下行终止站停' , cmdType : CMD . Stand . CMD _STAND _EARLY _DEPART , operate : OperationEvent . Section . Put Stop. menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) , isShow : ( section ) => section && ( ( section . roadType === 'LEFT' && this . $store . state . map . mapConfig . upRight ) || ( section . roadType === 'RIGHT' && ! this . $store . state . map . mapConfig . upRight ) ) && section . standTrack && this . $store . state . training . prdType == '01' }
] ;
this . switchParamList = this . $store . state . training . prdType === '01' ? [
{ name : '岔区设限' , cmdType : CMD . Switch . CMD _SWITCH _SET _LIMIT _SPEED , operate : OperationEvent . Switch . setSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '岔区消限' , commandTip : '取消对道岔区段的限速' , cmdType : CMD . Switch . CMD _SWITCH _CANCEL _LIMIT _SPEED , operate : OperationEvent . Switch . cancelSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '转换道岔' , commandTip : '转换道岔' , cmdType : CMD . Switch . CMD _SWITCH _TURN , operate : OperationEvent . Switch . turnout . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '强行转岔' , commandTip : '强制操作道岔' , cmdType : CMD . Switch . CMD _SWITCH _FORCE _TURN , operate : OperationEvent . Switch . turnoutForce . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '强解道岔' , commandTip : '强解道岔' , cmdType : CMD . Switch . CMD _SWITCH _FAULT _UNLOCK , operate : OperationEvent . Switch . fault . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '挤岔恢复' , commandTip : '取消挤岔逻辑标志' , cmdType : CMD . Switch . CMD _SWITCH _SQUEEZE _RECOVERY , operate : OperationEvent . Switch . squeezeRecovery . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '单独锁定' , commandTip : '锁定道岔,阻止转换' , cmdType : CMD . Switch . CMD _SWITCH _SINGLE _LOCK , operate : OperationEvent . Switch . lock . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '取消锁定' , commandTip : '取消道岔锁定,道岔可以转换' , cmdType : CMD . Switch . CMD _SWITCH _SINGLE _UNLOCK , operate : OperationEvent . Switch . unlock . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '预复位' , commandTip : '预重置道岔区段' , cmdType : CMD . Switch . CMD _SWITCH _AXLE _PRE _RESET , operate : OperationEvent . Switch . axlePreReset . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '封锁道岔' , commandTip : '禁止通过道岔区段排列进路' , cmdType : CMD . Switch . CMD _SWITCH _BLOCK , operate : OperationEvent . Switch . block . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '解封道岔' , commandTip : '允许通过道岔区段排列进路' , cmdType : CMD . Switch . CMD _SWITCH _UNBLOCK , operate : OperationEvent . Switch . unblock . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '强行消限' , commandTip : '强行取消对轨道区段的限速' , cmdType : CMD . Switch . CMD _SWITCH _CANCEL _LIMIT _SPEED , operate : OperationEvent . Switch . cancelSpeed. menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch }
{ name : '岔区设限' , cmdType : CMD . Switch . CMD _SWITCH _SET _LIMIT _SPEED , operate : OperationEvent . Switch . setSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch } ,
{ name : '岔区消限' , commandTip : '取消对道岔区段的限速' , cmdType : CMD . Switch . CMD _SWITCH _CANCEL _LIMIT _SPEED , operate : OperationEvent . Switch . cancelSpeed . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '转换道岔' , commandTip : '转换道岔' , cmdType : CMD . Switch . CMD _SWITCH _TURN , operate : OperationEvent . Switch . turnout . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '强行转岔' , commandTip : '强制操作道岔' , cmdType : CMD . Switch . CMD _SWITCH _FORCE _TURN , operate : OperationEvent . Switch . turnoutForce . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '强解道岔' , commandTip : '强解道岔' , cmdType : CMD . Switch . CMD _SWITCH _FAULT _UNLOCK , operate : OperationEvent . Switch . fault . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '挤岔恢复' , commandTip : '取消挤岔逻辑标志' , cmdType : CMD . Switch . CMD _SWITCH _SQUEEZE _RECOVERY , operate : OperationEvent . Switch . squeezeRecovery . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '单独锁定' , commandTip : '锁定道岔,阻止转换' , cmdType : CMD . Switch . CMD _SWITCH _SINGLE _LOCK , operate : OperationEvent . Switch . lock . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '取消锁定' , commandTip : '取消道岔锁定,道岔可以转换' , cmdType : CMD . Switch . CMD _SWITCH _SINGLE _UNLOCK , operate : OperationEvent . Switch . unlock . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '预复位' , commandTip : '预重置道岔区段' , cmdType : CMD . Switch . CMD _SWITCH _AXLE _PRE _RESET , operate : OperationEvent . Switch . axlePreReset . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '封锁道岔' , commandTip : '禁止通过道岔区段排列进路' , cmdType : CMD . Switch . CMD _SWITCH _BLOCK , operate : OperationEvent . Switch . block . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '解封道岔' , commandTip : '允许通过道岔区段排列进路' , cmdType : CMD . Switch . CMD _SWITCH _UNBLOCK , operate : OperationEvent . Switch . unblock . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '强行消限' , commandTip : '强行取消对轨道区段的限速' , cmdType : CMD . Switch . CMD _SWITCH _CANCEL _LIMIT _SPEED , operate : OperationEvent . Switch . for ceC ancelSpeed. menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) }
] : [
{ name : '单独锁定' , commandTip : '锁定道岔,阻止转换' , cmdType : CMD . Switch . CMD _SWITCH _SINGLE _LOCK , operate : OperationEvent . Switch . lock . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '转换道岔' , commandTip : '转换道岔' , cmdType : CMD . Switch . CMD _SWITCH _TURN , operate : OperationEvent . Switch . turnout . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '封锁道岔' , commandTip : '禁止通过道岔区段排列进路' , cmdType : CMD . Switch . CMD _SWITCH _BLOCK , operate : OperationEvent . Switch . block . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch }
{ name : '单独锁定' , commandTip : '锁定道岔,阻止转换' , cmdType : CMD . Switch . CMD _SWITCH _SINGLE _LOCK , operate : OperationEvent . Switch . lock . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '转换道岔' , commandTip : '转换道岔' , cmdType : CMD . Switch . CMD _SWITCH _TURN , operate : OperationEvent . Switch . turnout . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '封锁道岔' , commandTip : '禁止通过道岔区段排列进路' , cmdType : CMD . Switch . CMD _SWITCH _BLOCK , operate : OperationEvent . Switch . block . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) }
] ;
this . signalParamList = this . $store . state . training . prdType === '01' ? [
{ name : '关闭信号' , commandTip : '设置信号机为关闭状态' , cmdType : CMD . Signal . CMD _SIGNAL _CLOSE _SIGNAL , operate : OperationEvent . Signal . signalClose . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '封锁信号' , commandTip : '封锁信号机,禁止开放' , cmdType : CMD . Signal . CMD _SIGNAL _BLOCK , operate : OperationEvent . Signal . lock . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '开放信号' , commandTip : '设置信号机为开放状态' , cmdType : CMD . Signal . CMD _SIGNAL _REOPEN _SIGNAL , operate : OperationEvent . Signal . reopenSignal . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '解封信号' , commandTip : '解封信号机,允许开放' , cmdType : CMD . Signal . CMD _SIGNAL _UNBLOCK , operate : OperationEvent . Signal . unlock . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '关闭信号' , commandTip : '设置信号机为关闭状态' , cmdType : CMD . Signal . CMD _SIGNAL _CLOSE _SIGNAL , operate : OperationEvent . Signal . signalClose . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '封锁信号' , commandTip : '封锁信号机,禁止开放' , cmdType : CMD . Signal . CMD _SIGNAL _BLOCK , operate : OperationEvent . Signal . lock . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '开放信号' , commandTip : '设置信号机为开放状态' , cmdType : CMD . Signal . CMD _SIGNAL _REOPEN _SIGNAL , operate : OperationEvent . Signal . reopenSignal . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '解封信号' , commandTip : '解封信号机,允许开放' , cmdType : CMD . Signal . CMD _SIGNAL _UNBLOCK , operate : OperationEvent . Signal . unlock . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '自排单开' , commandTip : '设置单架信号机处于ATS自动排列进路模式' , cmdType : CMD . Signal . CMD _SIGNAL _OPEN _AUTO _SETTING , operate : OperationEvent . Signal . atsAutoControl . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '自排单关' , commandTip : '取消单架信号机处于ATS自动排列进路模式' , cmdType : CMD . Signal . CMD _SIGNAL _CLOSE _AUTO _SETTING , operate : OperationEvent . Signal . humanControl . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '追踪单开' , commandTip : '设置单架信号机处于联锁自动排列进路' , cmdType : CMD . Signal . CMD _SIGNAL _SET _CI _AUTO _TRIGGER , operate : OperationEvent . Signal . setAutoTrigger . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '追踪单关' , commandTip : '取消单架信号机处于联锁自动排列进路' , cmdType : CMD . Signal . CMD _SIGNAL _CANCEL _CI _AUTO _TRIGGER , operate : OperationEvent . Signal . cancelAutoTrigger . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '自排单开' , commandTip : '设置单架信号机处于ATS自动排列进路模式' , cmdType : CMD . Signal . CMD _SIGNAL _OPEN _AUTO _SETTING , operate : OperationEvent . Signal . atsAutoControl . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '自排单关' , commandTip : '取消单架信号机处于ATS自动排列进路模式' , cmdType : CMD . Signal . CMD _SIGNAL _CLOSE _AUTO _SETTING , operate : OperationEvent . Signal . humanControl . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '追踪单开' , commandTip : '设置单架信号机处于联锁自动排列进路' , cmdType : CMD . Signal . CMD _SIGNAL _SET _CI _AUTO _TRIGGER , operate : OperationEvent . Signal . setAutoTrigger . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '追踪单关' , commandTip : '取消单架信号机处于联锁自动排列进路' , cmdType : CMD . Signal . CMD _SIGNAL _CANCEL _CI _AUTO _TRIGGER , operate : OperationEvent . Signal . cancelAutoTrigger . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '开放引导' , commandTip : '开放引导信号' , cmdType : CMD . Signal . CMD _SIGNAL _ROUTE _GUIDE , operate : OperationEvent . Signal . guide . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '车队单开' , commandTip : '对单架信号机开启车队模式,主要是信号机不关闭的情况下排列所有进路' , cmdType : CMD . Signal . CMD _SIGNAL _SET _CI _AUTO , operate : OperationEvent . Signal . setAutoInterlock . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '车队单关' , commandTip : '对单架信号机关闭车队模式' , cmdType : CMD . Signal . CMD _SIGNAL _CANCEL _CI _AUTO , operate : OperationEvent . Signal . cancelAutoInterlock . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '开放引导' , commandTip : '开放引导信号' , cmdType : CMD . Signal . CMD _SIGNAL _ROUTE _GUIDE , operate : OperationEvent . Signal . guide . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '车队单开' , commandTip : '对单架信号机开启车队模式,主要是信号机不关闭的情况下排列所有进路' , cmdType : CMD . Signal . CMD _SIGNAL _SET _CI _AUTO , operate : OperationEvent . Signal . setAutoInterlock . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '车队单关' , commandTip : '对单架信号机关闭车队模式' , cmdType : CMD . Signal . CMD _SIGNAL _CANCEL _CI _AUTO , operate : OperationEvent . Signal . cancelAutoInterlock . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '设置保护' , commandTip : '设置保护' , cmdType : CMD . Signal . CMD _SIGNAL _SET _OVERLAP , operate : OperationEvent . Signal . reopenSignal . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '未评限区' , cmdType : '' , operate : OperationEvent . Signal . reopenSignal . menuButton , securityCommand : true , disabledCb : ( stationControl ) => ! this . modeMatch }
{ name : '设置保护' , commandTip : '设置保护' , cmdType : CMD . Signal . CMD _SIGNAL _SET _OVERLAP , operate : OperationEvent . Signal . setOverlap . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '未评限区' , cmdType : '' , operate : OperationEvent . Signal . reopenSignal . menuButton , securityCommand : true , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) }
] : [
{ name : '关闭信号' , commandTip : '设置信号机为关闭状态' , cmdType : CMD . Signal . CMD _SIGNAL _CLOSE _SIGNAL , operate : OperationEvent . Signal . signalClose . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '封锁信号' , commandTip : '封锁信号机,禁止开放' , cmdType : CMD . Signal . CMD _SIGNAL _BLOCK , operate : OperationEvent . Signal . lock . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '开放信号' , commandTip : '设置信号机为开放状态' , cmdType : CMD . Signal . CMD _SIGNAL _REOPEN _SIGNAL , operate : OperationEvent . Signal . reopenSignal . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '关闭信号' , commandTip : '设置信号机为关闭状态' , cmdType : CMD . Signal . CMD _SIGNAL _CLOSE _SIGNAL , operate : OperationEvent . Signal . signalClose . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '封锁信号' , commandTip : '封锁信号机,禁止开放' , cmdType : CMD . Signal . CMD _SIGNAL _BLOCK , operate : OperationEvent . Signal . lock . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '开放信号' , commandTip : '设置信号机为开放状态' , cmdType : CMD . Signal . CMD _SIGNAL _REOPEN _SIGNAL , operate : OperationEvent . Signal . reopenSignal . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
/ / { n a m e : ' 解 封 信 号 ' , c o m m a n d T i p : ' 解 封 信 号 机 , 允 许 开 放 ' , c m d T y p e : C M D . S i g n a l . C M D _ S I G N A L _ U N B L O C K , o p e r a t e : O p e r a t i o n E v e n t . S i g n a l . u n l o c k . m e n u B u t t o n , s e c u r i t y C o m m a n d : t r u e , d i s a b l e d C b : ( s t a t i o n C o n t r o l ) = > ! t h i s . m o d e M a t c h } ,
{ name : '自排单开' , commandTip : '设置单架信号机处于ATS自动排列进路模式' , cmdType : CMD . Signal . CMD _SIGNAL _OPEN _AUTO _SETTING , operate : OperationEvent . Signal . atsAutoControl . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } , / / | | s t a t i o n C o n t r o l . a t s C o n t r o l
{ name : '自排单关' , commandTip : '取消单架信号机处于ATS自动排列进路模式' , cmdType : CMD . Signal . CMD _SIGNAL _CLOSE _AUTO _SETTING , operate : OperationEvent . Signal . humanControl . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } , / / | | ! s t a t i o n C o n t r o l . a t s C o n t r o l
{ name : '追踪单开' , commandTip : '设置单架信号机处于联锁自动排列进路' , cmdType : CMD . Signal . CMD _SIGNAL _SET _CI _AUTO _TRIGGER , operate : OperationEvent . Signal . setAutoTrigger . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } , / / | | s t a t i o n C o n t r o l . c i C o n t r o l
{ name : '追踪单关' , commandTip : '取消单架信号机处于联锁自动排列进路' , cmdType : CMD . Signal . CMD _SIGNAL _CANCEL _CI _AUTO _TRIGGER , operate : OperationEvent . Signal . cancelAutoTrigger . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } , / / | | ! s t a t i o n C o n t r o l . c i C o n t r o l
{ name : '设置保护' , commandTip : '设置保护' , cmdType : CMD . Signal . CMD _SIGNAL _SET _OVERLAP , operate : OperationEvent . Signal . setOverlap . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '自排单开' , commandTip : '设置单架信号机处于ATS自动排列进路模式' , cmdType : CMD . Signal . CMD _SIGNAL _OPEN _AUTO _SETTING , operate : OperationEvent . Signal . atsAutoControl . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } , / / | | s t a t i o n C o n t r o l . a t s C o n t r o l
{ name : '自排单关' , commandTip : '取消单架信号机处于ATS自动排列进路模式' , cmdType : CMD . Signal . CMD _SIGNAL _CLOSE _AUTO _SETTING , operate : OperationEvent . Signal . humanControl . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } , / / | | ! s t a t i o n C o n t r o l . a t s C o n t r o l
{ name : '追踪单开' , commandTip : '设置单架信号机处于联锁自动排列进路' , cmdType : CMD . Signal . CMD _SIGNAL _SET _CI _AUTO _TRIGGER , operate : OperationEvent . Signal . setAutoTrigger . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } , / / | | s t a t i o n C o n t r o l . c i C o n t r o l
{ name : '追踪单关' , commandTip : '取消单架信号机处于联锁自动排列进路' , cmdType : CMD . Signal . CMD _SIGNAL _CANCEL _CI _AUTO _TRIGGER , operate : OperationEvent . Signal . cancelAutoTrigger . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } , / / | | ! s t a t i o n C o n t r o l . c i C o n t r o l
{ name : '设置保护' , commandTip : '设置保护' , cmdType : CMD . Signal . CMD _SIGNAL _SET _OVERLAP , operate : OperationEvent . Signal . setOverlap . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch } ,
/ / { n a m e : ' 开 放 引 导 ' , c o m m a n d T i p : ' 开 放 引 导 信 号 ' , c m d T y p e : C M D . S i g n a l . C M D _ S I G N A L _ R O U T E _ G U I D E , o p e r a t e : O p e r a t i o n E v e n t . S i g n a l . g u i d e . m e n u B u t t o n , s e c u r i t y C o m m a n d : t r u e , d i s a b l e d C b : ( s t a t i o n C o n t r o l ) = > ! t h i s . m o d e M a t c h } ,
{ name : '开启车队' , commandTip : '对单架信号机开启车队模式,主要是信号机不关闭的情况下排列所有进路' , cmdType : CMD . Signal . CMD _SIGNAL _SET _CI _AUTO , operate : OperationEvent . Signal . reopenSignal . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch } ,
{ name : '取消车队' , commandTip : '对单架信号机关闭车队模式' , cmdType : CMD . Signal . CMD _SIGNAL _CANCEL _CI _AUTO , operate : OperationEvent . Signal . reopenSignal . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch }
{ name : '开启车队' , commandTip : '对单架信号机开启车队模式,主要是信号机不关闭的情况下排列所有进路' , cmdType : CMD . Signal . CMD _SIGNAL _SET _CI _AUTO , operate : OperationEvent . Signal . setAutoInterlock . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '取消车队' , commandTip : '对单架信号机关闭车队模式' , cmdType : CMD . Signal . CMD _SIGNAL _CANCEL _CI _AUTO , operate : OperationEvent . Signal . cancelAutoInterlock . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || this . getStationControlForbidden ( stationControl . code ) }
/ / { n a m e : ' 未 评 限 区 ' , c m d T y p e : ' ' , o p e r a t e : O p e r a t i o n E v e n t . S i g n a l . r e o p e n S i g n a l . m e n u B u t t o n , s e c u r i t y C o m m a n d : t r u e , d i s a b l e d C b : ( s t a t i o n C o n t r o l ) = > ! t h i s . m o d e M a t c h }
] ;
this . stationParamList = this . $store . state . training . prdType === '01' ? [
{ name : '关站信号' , commandTip : '封锁车站所有信号机' , cmdType : CMD . Station . CMD _STATION _CLOSE _ALLSIGNAL , operate : OperationEvent . Station . closeAllSignal . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch || ! [ 'Local' ] . includes ( stationControl . controlM ode) }
{ name : '关站信号' , commandTip : '封锁车站所有信号机' , cmdType : CMD . Station . CMD _STATION _CLOSE _ALLSIGNAL , operate : OperationEvent . Station . closeAllSignal . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || ! [ 'Local' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) }
] : [
{ name : '关站信号' , commandTip : '封锁车站所有信号机' , cmdType : CMD . Station . CMD _STATION _CLOSE _ALLSIGNAL , operate : OperationEvent . Station . closeAllSignal . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch || ! [ 'Center' ] . includes ( stationControl . controlM ode) } ,
{ name : '关站信号' , commandTip : '封锁车站所有信号机' , cmdType : CMD . Station . CMD _STATION _CLOSE _ALLSIGNAL , operate : OperationEvent . Station . closeAllSignal . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || ! [ 'Center' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) } ,
{ name : '自排全开' , commandTip : '自排全开' , cmdType : CMD . Station . CMD _STATION _OPEN _AUTO _SETTING , operate : OperationEvent . Station . atsAutoControlALL . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch || ! [ 'Center' ] . includes ( stationControl . controlMode ) , isShow : ( ciStation ) => ! ciStation } ,
{ name : '自排全关' , commandTip : '自排全关' , cmdType : CMD . Station . CMD _STATION _CLOSE _AUTO _SETTING , operate : OperationEvent . Station . humanControlALL . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch || ! [ 'Center' ] . includes ( stationControl . controlM ode) , isShow : ( ciStation ) => ! ciStation } ,
{ name : '追踪全开' , commandTip : '追踪全开' , cmdType : CMD . Station . CMD _STATION _SET _CI _AUTO _TRIGGER , operate : OperationEvent . Station . setAutoTrigger . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch || ! [ 'Center' ] . includes ( stationControl . controlM ode) , isShow : ( ciStation ) => ! ciStation } ,
{ name : '追踪全关' , commandTip : '追踪全关' , cmdType : CMD . Station . CMD _STATION _CANCEL _CI _AUTO _TRIGGER , operate : OperationEvent . Station . cancelAutoTrigger . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch || ! [ 'Center' ] . includes ( stationControl . controlM ode) , isShow : ( ciStation ) => ! ciStation } ,
{ name : '关区信号' , commandTip : '关区信号' , cmdType : CMD . Station . CMD _STATION _CIAREA _CLOSE _ALLSIGNAL , operate : OperationEvent . Station . ciAreaCloseAllSignal . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch || ! [ 'Center' ] . includes ( stationControl . controlM ode) , isShow : ( ciStation ) => ! ciStation } ,
{ name : '交出控制' , commandTip : '交出控制权' , cmdType : CMD . ControlConvertMenu . CMD _CM _SURRENDER _CONTROL , operate : OperationEvent . StationControl . requestCentralControl . menuButton , disabledCb : ( stationControl ) => [ 'Local' , 'None' ] . includes ( stationControl . controlM ode) } ,
{ name : '自排全开' , commandTip : '自排全开' , cmdType : CMD . Station . CMD _STATION _OPEN _AUTO _SETTING , operate : OperationEvent . Station . atsAutoControlALL . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || ! [ 'Center' ] . includes ( stationControl . controlMode || this . getStationControlForbidden ( stationControl . code ) ) , isShow : ( ciStation ) => ! ciStation } ,
{ name : '自排全关' , commandTip : '自排全关' , cmdType : CMD . Station . CMD _STATION _CLOSE _AUTO _SETTING , operate : OperationEvent . Station . humanControlALL . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || ! [ 'Center' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) , isShow : ( ciStation ) => ! ciStation } ,
{ name : '追踪全开' , commandTip : '追踪全开' , cmdType : CMD . Station . CMD _STATION _SET _CI _AUTO _TRIGGER , operate : OperationEvent . Station . setAutoTrigger . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || ! [ 'Center' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) , isShow : ( ciStation ) => ! ciStation } ,
{ name : '追踪全关' , commandTip : '追踪全关' , cmdType : CMD . Station . CMD _STATION _CANCEL _CI _AUTO _TRIGGER , operate : OperationEvent . Station . cancelAutoTrigger . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || ! [ 'Center' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) , isShow : ( ciStation ) => ! ciStation } ,
{ name : '关区信号' , commandTip : '关区信号' , cmdType : CMD . Station . CMD _STATION _CIAREA _CLOSE _ALLSIGNAL , operate : OperationEvent . Station . ciAreaCloseAllSignal . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || ! [ 'Center' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) , isShow : ( ciStation ) => ! ciStation } ,
{ name : '交出控制' , commandTip : '交出控制权' , cmdType : CMD . ControlConvertMenu . CMD _CM _SURRENDER _CONTROL , operate : OperationEvent . StationControl . requestCentralControl . menuButton , disabledCb : ( stationControl , device ) => [ 'Local' , 'None' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) } ,
{ name : '接收控制' , commandTip : '接收控制权' , cmdType : CMD . ControlConvertMenu . CMD _CM _RECEIVE _CONTROL , operate : OperationEvent . StationControl . requestStationControl . menuButton , disabledCb : ( stationControl ) => [ 'Center' ] . includes ( stationControl . controlM ode) }
{ name : '接收控制' , commandTip : '接收控制权' , cmdType : CMD . ControlConvertMenu . CMD _CM _RECEIVE _CONTROL , operate : OperationEvent . StationControl . requestStationControl . menuButton , disabledCb : ( stationControl , device ) => [ 'Center' ] . includes ( stationControl . controlM ode) || this . getStationControlForbidden ( stationControl . c ode) }
] ;
this . routeParamList = [
{ name : '排列进路' , commandTip : '进路排列' , cmdType : CMD . Signal . CMD _SIGNAL _SET _ROUTE , operate : OperationEvent . Signal . arrangementRoute . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch || ! this . route } ,
{ name : '取消进路' , commandTip : '取消排列' , cmdType : CMD . Signal . CMD _SIGNAL _CANCEL _ROUTE , operate : OperationEvent . Signal . cancelTrainRoute . menuButton , disabledCb : ( stationControl ) => ! this . modeMatch || ! this . route }
{ name : '排列进路' , commandTip : '进路排列' , cmdType : CMD . Signal . CMD _SIGNAL _SET _ROUTE , operate : OperationEvent . Signal . arrangementRoute . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || ! this . route || this . getStationControlForbidden ( stationControl . code ) } ,
{ name : '取消进路' , commandTip : '取消排列' , cmdType : CMD . Signal . CMD _SIGNAL _CANCEL _ROUTE , operate : OperationEvent . Signal . cancelTrainRoute . menuButton , disabledCb : ( stationControl , device ) => ! this . modeMatch || ! this . route || this . getStationControlForbidden ( stationControl . code ) }
] ;
}
}