|
|
|
@ -39,7 +39,11 @@ export class LeftDomainComponent implements OnInit {
|
|
|
|
|
handleFacility() { |
|
|
|
|
let list: FacilityInfoUIItem[] = [] |
|
|
|
|
FacilityInfoInSceneWindow.instance.facilityInfoUIItemes.forEach(item=>{ |
|
|
|
|
if (this.beforeFence === 3) { //消防设施
|
|
|
|
|
if (this.beforeFence === 1) { //加油机
|
|
|
|
|
item.getType() === "JY_JYJ"? list.push(item) : null |
|
|
|
|
} else if (this.beforeFence === 2) { //油罐设备
|
|
|
|
|
item.getType() === "JY_YG"? list.push(item) : null |
|
|
|
|
} else if (this.beforeFence === 3) { //消防设施
|
|
|
|
|
(item.getType()).slice(0,3) === "XF_"? list.push(item) : null |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|