大铁线路 区段状态代码调整
This commit is contained in:
parent
58d7f9233e
commit
bc83661f1f
@ -6,7 +6,7 @@ class SkinCode extends defaultStyle {
|
||||
super();
|
||||
this.fontFamily = '宋体';
|
||||
this[deviceType.Section] = {
|
||||
elemnetType:['name', 'line', 'separator'],
|
||||
elemnetType:['name', 'line', 'separator', 'badShunt'],
|
||||
// 'speedLimit', 'speedLimitName','standTrackText','reentryTrackText','transferTrackText',
|
||||
active: {
|
||||
routeColor: true // 进路触发颜色
|
||||
@ -106,7 +106,7 @@ class SkinCode extends defaultStyle {
|
||||
},
|
||||
badShunt:{
|
||||
z: 2,
|
||||
distance: 5, // 分路不良 距离区段距离
|
||||
distance: 2, // 分路不良 距离区段距离
|
||||
width: 1, // 分路不良的宽度
|
||||
lineColor: 'rgb(188,67,180)' // 分路不良颜色 (粉红色)
|
||||
},
|
||||
|
@ -437,12 +437,12 @@ export default class Section extends Group {
|
||||
}
|
||||
}
|
||||
// 分路不良
|
||||
model.badShunt && this.badShunt();
|
||||
model.badShunt && this.badShuntStatus();
|
||||
}
|
||||
}
|
||||
|
||||
// 分路不良
|
||||
badShunt() {
|
||||
badShuntStatus() {
|
||||
this.badShunt && this.badShunt.show();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user