分压阀功能大致完成

This commit is contained in:
Hcat
2023-12-23 14:56:04 +08:00
parent 7e5f00e0cf
commit 7684e21d33
7 changed files with 19544 additions and 36 deletions

View File

@@ -136,7 +136,7 @@ export default class Demo {
return new Promise((resolve, reject) => {
this.gltfloader = new GLTFLoader();
this.gltfloader.load(
"/tunnelModel/chanel.gltf",
"/tunnelModel/chanel-have-wall.gltf",
(gltf) => {
gltf.scene.traverse((child) => {
this._forModels(child);
@@ -486,25 +486,4 @@ export default class Demo {
}
}
ThreeConfig = {
code: 0,
data: {
tunnelThreeConfig: [{
equipmentId: 'fan_01',//传感器id
equipmentName: '01',//设备名称
pointName: 'point_005_tl',//附着点名称(定位)
equipmentType: 'fan',//设备类型(类型可根据后端
equipmentValue: 23, //设备存的值
}, {
equipmentId: 'sensors_01',//传感器id
equipmentName: '01',//设备名称
pointName: 'point_009_bl',//附着点名称(定位)
equipmentType: 'sensors',//设备类型(类型可根据后端
equipmentValue: 67, //设备存的值
}],
},
msg: "dda"
}
tunnelConfigEquipment = this.ThreeConfig.data.tunnelThreeConfig
}