大铁线路调整28 控制模式调整
This commit is contained in:
parent
b164e99a77
commit
12dda78b7b
@ -430,6 +430,8 @@ class SkinCode extends defaultStyle {
|
||||
veryControl: {
|
||||
show: true,
|
||||
offset: { x: 0, y: 0 },
|
||||
lightColor: '#f00',
|
||||
defaultColor: '#7F7F7F',
|
||||
text: '非常站控'
|
||||
},
|
||||
selfDiscipline: {
|
||||
@ -440,6 +442,8 @@ class SkinCode extends defaultStyle {
|
||||
selfDisciplineControl: {
|
||||
show: true,
|
||||
offset: { x: 0, y: 0 },
|
||||
lightColor: '#0f0',
|
||||
defaultColor: '#7F7F7F',
|
||||
text: '自律控制'
|
||||
},
|
||||
veryControlButton: {
|
||||
|
@ -355,7 +355,6 @@ export default class Station extends Group {
|
||||
context: this.style.Station.StationControl.veryControl.text,
|
||||
pop: false
|
||||
});
|
||||
console.log(this.veryControl, 'veryContro');
|
||||
this.add(this.veryControl);
|
||||
}
|
||||
if (this.style.Station.StationControl.veryControlButton) {
|
||||
@ -575,7 +574,8 @@ export default class Station extends Group {
|
||||
});
|
||||
this.add(this.interconnectedControl);
|
||||
}
|
||||
}
|
||||
this.veryControl && this.veryControl.setStyle({fill: this.style.station.StationControl.veryControl.lightColor});
|
||||
}
|
||||
|
||||
handleCenter() { // 中控
|
||||
this.noneBeforeMode = 'Center';
|
||||
@ -606,6 +606,7 @@ export default class Station extends Group {
|
||||
this.centerControl && this.centerControl.setColor(this.style.Station.StationControl.lamp.grayColor);
|
||||
this.substationArrowsControl && this.substationArrowsControl.setColor(this.style.Station.StationControl.lamp.greenColor);
|
||||
this.stationControlCC && this.stationControlCC.setStyle({text:'LC', textFill:this.style.Station.StationControl.text.stationControlColor});
|
||||
this.selfDisciplineControl && this.selfDisciplineControl.setStyle({fill: this.style.Station.StationControl.selfDisciplineControl.lightColor});
|
||||
// if (this.style.Station.StationControl.disPlayNone) {
|
||||
// this.stationText && this.stationText.setStyle('textFill', '#fff');
|
||||
// if (this.model.subheadDisplay) { // 副标题
|
||||
@ -671,6 +672,9 @@ export default class Station extends Group {
|
||||
this.troButton && this.troButton.hide();
|
||||
this.substationArrowsControl && this.substationArrowsControl.setColor(this.style.Station.StationControl.lamp.grayColor);
|
||||
this.emergencyArrowsControl && this.emergencyArrowsControl.setColor(this.style.Station.StationControl.lamp.grayColor);
|
||||
this.stationControlCC && this.stationControlCC.setStyle({text:'EL', textFill:this.style.Station.StationControl.text.emergencyControlColor});
|
||||
this.veryControl && this.veryControl.setStyle({fill: this.style.station.StationControl.veryControl.defaultColor});
|
||||
this.selfDisciplineControl && this.selfDisciplineControl.setStyle({fill: this.style.Station.StationControl.selfDisciplineControl.defaultColor});
|
||||
if (this.style.Station.stationText.isSpecialType) {
|
||||
this.stationText.setColor(this.style.Station.stationText.noneModeColor);
|
||||
this.stationText.setBackground(this.style.Station.stationText.defaultBackColor);
|
||||
|
@ -30,7 +30,7 @@ export function handlerUrl(data) {
|
||||
// BASE_API = 'http://192.168.8.172:9200'; // 旭强
|
||||
// BASE_API = 'http://192.168.3.15:9000'; // 张赛
|
||||
// BASE_API = 'http://192.168.8.140:9000'; // 杜康
|
||||
BASE_API = 'http://192.168.3.37:9000'; // 卫志宏
|
||||
// BASE_API = 'http://192.168.3.37:9000'; // 卫志宏
|
||||
// BASE_API = 'http://b29z135112.zicp.vip';
|
||||
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
|
||||
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛
|
||||
|
Loading…
Reference in New Issue
Block a user