This commit is contained in:
ival 2021-03-11 15:27:38 +08:00
commit 13c1cc6819

View File

@ -151,6 +151,10 @@ export default class Section extends Group {
stroke: this.style.Section.line.communicationOccupiedColor,
fill:this.style.Section.line.communicationOccupiedColor
});
if (this.model.parentCode && this.model.type == '01') {
this.line.setCrossRouteLock();
}
}
/** 非通信车占用状态 03*/
@ -172,6 +176,10 @@ export default class Section extends Group {
if (this.name && 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故障 */
invalid() {