|
@@ -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);
|
|
|
+}
|