浙大网新操作调整1207
This commit is contained in:
parent
6e477bef89
commit
388f4593f1
@ -709,7 +709,7 @@ class SkinCode extends defaultStyle {
|
||||
trainNameFormat: 'serviceNumber:targetCode', // 列车显示格式
|
||||
trainBodyFaultFlashColor:'#f00' // 列车故障闪烁颜色
|
||||
},
|
||||
directionArrow: {
|
||||
directionArrow: {
|
||||
},
|
||||
hsda: {
|
||||
lrPaddingHSDA: 3, // HSDA两边间隔
|
||||
|
@ -1054,7 +1054,7 @@ export default class Station extends Group {
|
||||
}
|
||||
}
|
||||
controlTextFlash(apply2TheControlMode) {
|
||||
if (this.stationControlCC && apply2TheControlMode === 'Local' ) {
|
||||
if (this.stationControlCC && apply2TheControlMode) {
|
||||
let color;
|
||||
if (apply2TheControlMode === 'Local') {
|
||||
color = this.style.Station.StationControl.text.stationControlColor;
|
||||
|
@ -67,9 +67,9 @@ export default {
|
||||
handler: this.work === 'localWork' ? this.agreeCenterControl : this.agreeStationControl,
|
||||
isDisabled: (station, work) => {
|
||||
if (work === 'localWork') {
|
||||
return station.controlMode !== 'Local';
|
||||
return station.apply2TheControlMode !== 'Center';
|
||||
} else {
|
||||
return station.controlMode !== 'Center';
|
||||
return station.apply2TheControlMode !== 'Local';
|
||||
}
|
||||
},
|
||||
isShow: (station, work) => true
|
||||
|
Loading…
Reference in New Issue
Block a user