Browse Source

3dModeling FloorClick.js 姚强 commit at 2021-03-30

姚强 4 years ago
parent
commit
12061e5e83
1 changed files with 12 additions and 0 deletions
  1. 12 0
      3dModeling/zhhry7/FloorClick.js

+ 12 - 0
3dModeling/zhhry7/FloorClick.js

@@ -222,3 +222,15 @@ function creatbutElement(floorNum) {
                   }
         </style>
     `));
+}
+//创建设备点位标识
+function icon_click(deviceType, floorNum) {
+    buildingStore;
+    deviceList = [];
+    for (var i = 0; i < buildingStore.length; i++) {
+        if (floorNum == buildingStore[i].min_level) {
+            deviceList.push(buildingStore[i]);
+        }
+    }
+    create_ui(deviceType, floorNum, deviceList);
+}