|
|
|
@ -165,10 +165,13 @@ export class FacilityInfoInSceneWindow extends UIBase {
|
|
|
|
|
if (isChecked) { //选中
|
|
|
|
|
this.three.beforeOnefacilityInfo = facilityInfoUIItem[0].getID(); |
|
|
|
|
this.three.getPropertyData(facilityInfoUIItem[0]) |
|
|
|
|
console.log("通知前端选中设备", facilityInfoUIItem[0]); |
|
|
|
|
} else { //取消选中
|
|
|
|
|
// this.three.isShowRightNature = false
|
|
|
|
|
this.three.beforeOnefacilityInfo = null |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -543,14 +546,14 @@ export class FacilityInfoInSceneWindow extends UIBase {
|
|
|
|
|
*/ |
|
|
|
|
playJYJSelectEffect(play: boolean, facilityInfo: ModelInfo_facility) { |
|
|
|
|
|
|
|
|
|
if (play) { |
|
|
|
|
let facilityData = facilityInfo.modelData as ModelData_facility; |
|
|
|
|
if (facilityData.facilityType != FacilityType.JY_JYJ && |
|
|
|
|
facilityData.facilityType != FacilityType.JY_YG) { |
|
|
|
|
//只有加油机和油罐有高亮显示
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
//if (play) {
|
|
|
|
|
let facilityData = facilityInfo.modelData as ModelData_facility; |
|
|
|
|
if (facilityData.facilityType != FacilityType.JY_JYJ && |
|
|
|
|
facilityData.facilityType != FacilityType.JY_YG) { |
|
|
|
|
//只有加油机和油罐有高亮显示和取消
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (play) { |
|
|
|
|