分压阀功能大致完成
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
export default function previewtunnelModeInit(equipmentList) {
|
||||
// for (const item of this.tunnelConfigEquipment) {
|
||||
// //使用api取拿到附着点
|
||||
// let pointmodel = this.scene.getObjectByName(item.pointName)
|
||||
// pointmodel.hasDevice;
|
||||
// let formInfo = {
|
||||
// equipmentType: item.equipmentType, //设备类型
|
||||
// chooseEquipment: item.equipmentName, //设备选择(设备名称)
|
||||
// threshold: item.equipmentValue, //阈值
|
||||
// }
|
||||
// this.addEquipment(pointmodel, formInfo);
|
||||
// }
|
||||
//初始化将墙壁隐藏起来
|
||||
for (let line = 1; line <= 20; line++) {
|
||||
if (line < 10) {
|
||||
let wall = 'wall_' + '0' + line
|
||||
this.scene.getObjectByName(wall).visible = false
|
||||
} else if (line >= 10) {
|
||||
let wall = 'wall_' + line
|
||||
this.scene.getObjectByName(wall).visible = false
|
||||
}
|
||||
}
|
||||
|
||||
equipmentList.forEach((item) => {
|
||||
const formInfo = {
|
||||
equipmentType: item.equipmentType, //设备类型
|
||||
|
||||
Reference in New Issue
Block a user