南京二号线 岔心 通信车占用状态/非通信车占用状态 代码调整
This commit is contained in:
parent
661adb9add
commit
05ff67f546
@ -151,6 +151,10 @@ export default class Section extends Group {
|
|||||||
stroke: this.style.Section.line.communicationOccupiedColor,
|
stroke: this.style.Section.line.communicationOccupiedColor,
|
||||||
fill:this.style.Section.line.communicationOccupiedColor
|
fill:this.style.Section.line.communicationOccupiedColor
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (this.model.parentCode && this.model.type == '01') {
|
||||||
|
this.line.setCrossRouteLock();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 非通信车占用状态 03*/
|
/** 非通信车占用状态 03*/
|
||||||
@ -172,6 +176,10 @@ export default class Section extends Group {
|
|||||||
if (this.name && this.style.Section.name.occupyColor) {
|
if (this.name && this.style.Section.name.occupyColor) {
|
||||||
this.name.setStyle({ textFill: this.style.Section.name.occupyColor });
|
this.name.setStyle({ textFill: this.style.Section.name.occupyColor });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.model.parentCode && this.model.type == '01') {
|
||||||
|
this.line.setCrossRouteLock();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/** ARB故障 */
|
/** ARB故障 */
|
||||||
invalid() {
|
invalid() {
|
||||||
|
Loading…
Reference in New Issue
Block a user