增加宁波线路 站后折返皮肤配置

This commit is contained in:
zyy 2020-06-16 15:01:29 +08:00
parent 10502988a4
commit f62de1971f
3 changed files with 23 additions and 4 deletions

View File

@ -376,6 +376,25 @@ class SkinCode extends defaultStyle {
}
};
this[deviceType.StationTurnBack] = { // 站后折返
displayCondition: '01', // 显示条件 01所有模式下显示 02 行调显示 03现地显示
lamp: {
fill: '#FFFF00', // 填充色
radiusR: 6 // 控制灯大小
},
text: {
fontWeight: 580,
fontSize: 12,
distance: 10
},
rect: {
fill: 'rgba(0,0,0,0)',
stroke: '#fff',
lineWidth: 2,
padding: 6
}
};
this[deviceType.AutoTurnBack] = {
// 是否显示
visibleConditions: '01',

View File

@ -115,7 +115,7 @@ export default class StationTurnBack extends Group {
}
});
}
// console.log(model, '站后折返model')
// console.log(model, '站后折返model');
}
setShowMode() {
@ -127,8 +127,8 @@ export default class StationTurnBack extends Group {
this.eachChild(item => item.hide() );
}
}
setShowStation(flag) {
if (flag) {
setShowStation(stationCode) {
if (!stationCode || this.model.stationCode === stationCode) {
this.eachChild(item => {
item.show();
});

View File

@ -6,7 +6,7 @@ export function getBaseUrl() {
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
BASE_API = 'http://192.168.3.82:9000'; // 杜康
// BASE_API = 'http://192.168.3.82:9000'; // 杜康
// BASE_API = 'http://b29z135112.zicp.vip';
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛