南京二号线 岔心 通信车占用状态/非通信车占用状态 代码调整

This commit is contained in:
joylink_cuiweidong 2021-03-11 15:00:52 +08:00
parent 661adb9add
commit 05ff67f546

View File

@ -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() {