成都三设备样式调整
This commit is contained in:
parent
529c122278
commit
526fd047e7
@ -346,14 +346,15 @@ class SkinCode extends defaultStyle {
|
||||
|
||||
this[deviceType.StationTurnBack] = { // 站后折返
|
||||
lamp: {
|
||||
fill: '#f1f1f1', // 填充色
|
||||
radiusR: 7 // 控制灯大小
|
||||
fill: '#ccc', // 填充色
|
||||
radiusR: 6,
|
||||
otherFill: '#0F0' // 控制灯大小
|
||||
},
|
||||
text: {
|
||||
titleTextShow: false,
|
||||
fontWeight: 580,
|
||||
fontSize: 10,
|
||||
distance: 10
|
||||
distance: 5
|
||||
},
|
||||
rect: {
|
||||
fill: 'rgba(0,0,0,0)',
|
||||
|
@ -166,6 +166,11 @@ export default class StationTurnBack extends Group {
|
||||
this.control && this.control.highlightType3(this.style.ReturnModeGroup.highlightColor);
|
||||
}
|
||||
}
|
||||
if (this.style.StationTurnBack.lamp.otherFill) {
|
||||
if (name == '自动折返' || name == '固定折返轨1' || name == '固定折返轨1') {
|
||||
this.control && this.control.setStyle({fill: this.style.StationTurnBack.lamp.otherFill});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
setAshShow() {
|
||||
|
Loading…
Reference in New Issue
Block a user