Browse Source

调测修复

learshaw 1 week ago
parent
commit
be31e0d345

+ 62 - 41
ems/ems-cloud/ems-server/src/main/java/com/ruoyi/ems/controller/MeterDeviceController.java

@@ -109,65 +109,86 @@ public class MeterDeviceController extends BaseController {
         // 查询区域树
         List<Area> areas = areaService.selectAreaTree(parentCode, true);
 
-        // 查询设备列表
+        // 查询设备列表并按区域分组
         QueryDevice queryParam = new QueryDevice();
         queryParam.setMeterCls(meterCls);
         queryParam.setColMode(colMode);
         List<MeterDevice> list = meterDeviceService.selectMeterDeviceList(queryParam);
         Map<String, List<MeterDevice>> groupMap = list.stream()
-                .collect(Collectors.groupingBy(MeterDevice::getLocationRef, Collectors.toList()));
+            .collect(Collectors.groupingBy(MeterDevice::getLocationRef, Collectors.toList()));
 
+        // 递归处理每个顶级区域,生成完整树形结构
         for (Area area : areas) {
-            boolean flag = false;
-            List<TreeEntity> childList = new ArrayList<>();
-
-            if (groupMap.containsKey(area.getAreaCode())) {
-                flag = true;
-                TreeEntity local = new TreeEntity();
-                local.setLabel("本级");
-                local.setChildren(convertToTreeEntity(groupMap.get(area.getAreaCode())));
-                childList.add(local);
+            TreeEntity treeNode = buildRecursiveTree(area, groupMap);
+            if (treeNode != null) { // 仅添加有内容的节点
+                retList.add(treeNode);
             }
+        }
+
+        return success(retList);
+    }
+
+    /**
+     * 递归构建区域树节点,区分区域和设备类型
+     * @param area 当前区域节点
+     * @param groupMap 设备按区域分组的映射
+     * @return 当前区域对应的树形节点(若无可挂载内容则返回null)
+     */
+    private TreeEntity buildRecursiveTree(Area area, Map<String, List<MeterDevice>> groupMap) {
+        // 当前区域的树形节点(类型为area)
+        TreeEntity currentNode = new TreeEntity();
+        currentNode.setId(area.getAreaCode()); // 使用区域编码作为节点ID
+        currentNode.setLabel(area.getAreaName()); // 区域名称作为节点标签
+        currentNode.setType("area"); // 标记为区域类型
+        List<TreeEntity> childNodes = new ArrayList<>();
+
+        // 1. 处理本级设备:转换为device类型节点
+        if (groupMap.containsKey(area.getAreaCode())) {
+            List<TreeEntity> deviceNodes = convertToTreeEntity(groupMap.get(area.getAreaCode()));
+            // 为每个设备节点设置类型为device
+            deviceNodes.forEach(deviceNode -> {
+                deviceNode.setType("device");
+                // 设备节点无子节点,确保children为空
+                deviceNode.setChildren(null);
+            });
+            childNodes.addAll(deviceNodes);
+        }
 
-            // 当前层级小于最大层级时,递归处理子节点
-            if (CollectionUtils.isNotEmpty(area.getChildren())) {
-                List<?> childAreas = area.getChildren();
-                for (Object obj : childAreas) {
-                    Area child = (Area) obj;
-                    String childCode = child.getAreaCode();
-
-                    if (null != groupMap.get(childCode)) {
-                        flag = true;
-                        TreeEntity local = new TreeEntity();
-                        local.setLabel(child.getAreaName());
-                        local.setChildren(convertToTreeEntity(groupMap.get(childCode)));
-                        childList.add(local);
-                    }
+        // 2. 递归处理所有子区域(类型为area)
+        if (CollectionUtils.isNotEmpty(area.getChildren())) {
+            for (Object childObj : area.getChildren()) {
+                Area childArea = (Area) childObj;
+                TreeEntity childTreeNode = buildRecursiveTree(childArea, groupMap);
+                if (childTreeNode != null) {
+                    childNodes.add(childTreeNode);
                 }
             }
+        }
 
-            if (flag) {
-                TreeEntity treeNode = new TreeEntity();
-                treeNode.setLabel(area.getAreaName());
-                treeNode.setChildren(childList);
-                retList.add(treeNode);
-            }
+        // 3. 若当前节点没有任何子节点,不保留该节点
+        if (childNodes.isEmpty()) {
+            return null;
         }
 
-        return success(retList);
+        currentNode.setChildren(childNodes);
+        return currentNode;
     }
 
-    private List<TreeEntity> convertToTreeEntity(List<MeterDevice> devList) {
-        List<TreeEntity> ret = new ArrayList<>();
-
-        for (MeterDevice dev : devList) {
+    /**
+     * 将设备列表转换为TreeEntity列表(基础转换,不包含类型设置)
+     * @param devices 设备列表
+     * @return 转换后的TreeEntity列表
+     */
+    private List<TreeEntity> convertToTreeEntity(List<MeterDevice> devices) {
+        List<TreeEntity> treeEntities = new ArrayList<>();
+        for (MeterDevice device : devices) {
             TreeEntity entity = new TreeEntity();
-            entity.setId(dev.getDeviceCode());
-            entity.setLabel(dev.getDeviceName());
-            ret.add(entity);
+            entity.setId(device.getDeviceCode()); // 使用设备编码作为ID
+            entity.setLabel(device.getDeviceName()); // 使用设备名称作为标签
+            // 设备节点的子节点在后续处理中会被设为null
+            treeEntities.add(entity);
         }
-
-        return ret;
+        return treeEntities;
     }
 
     /**

+ 18 - 0
ems/ems-cloud/ems-server/src/main/java/com/ruoyi/ems/controller/WaterMeterHController.java

@@ -1,5 +1,6 @@
 package com.ruoyi.ems.controller;
 
+import com.alibaba.fastjson2.JSONObject;
 import com.huashe.common.domain.AjaxResult;
 import com.ruoyi.common.core.utils.poi.ExcelUtil;
 import com.ruoyi.common.core.web.controller.BaseController;
@@ -12,6 +13,7 @@ import com.ruoyi.ems.domain.WaterMeterH;
 import com.ruoyi.ems.model.QueryMeter;
 import com.ruoyi.ems.service.IWaterMeterHService;
 import io.swagger.annotations.Api;
+import org.apache.commons.collections4.CollectionUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.DeleteMapping;
 import org.springframework.web.bind.annotation.GetMapping;
@@ -24,7 +26,11 @@ import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
 
 import javax.servlet.http.HttpServletResponse;
+import java.math.BigDecimal;
 import java.util.List;
+import java.util.Map;
+import java.util.function.Function;
+import java.util.stream.Collectors;
 
 /**
  * 用水计量-小时Controller
@@ -63,6 +69,18 @@ public class WaterMeterHController extends BaseController {
     }
 
     /**
+     * 查询设施用能统计数据
+     *
+     * @param queryMeter 查询条件
+     * @return
+     */
+    @GetMapping("/staByTime")
+    public AjaxResult staByTime(QueryMeter queryMeter) {
+        EnergyMeter energyMeter = waterMeterHService.staByTime(queryMeter);
+        return success(energyMeter);
+    }
+
+    /**
      * 新增用水计量-小时
      */
     @RequiresPermissions("ems:waterMeterH:add")

+ 2 - 0
ems/ems-core/src/main/java/com/ruoyi/ems/mapper/WaterMeterHMapper.java

@@ -22,6 +22,8 @@ public interface WaterMeterHMapper {
      */
     List<WaterMeterH> selectWaterMeterHList(QueryMeter queryMeter);
 
+    EnergyMeter staByTime(QueryMeter queryMeter);
+
     /**
      * 批量插入用水计量-小时数据
      * @param list 待插入的用水计量-小时数据列表

+ 13 - 0
ems/ems-core/src/main/java/com/ruoyi/ems/model/TreeEntity.java

@@ -41,6 +41,11 @@ public class TreeEntity {
     @JsonInclude(JsonInclude.Include.NON_EMPTY)
     private List<TreeEntity> children;
 
+    /**
+     * 类型
+     */
+    private String type;
+
     public TreeEntity() {
 
     }
@@ -73,4 +78,12 @@ public class TreeEntity {
     public void setChildren(List<TreeEntity> children) {
         this.children = children;
     }
+
+    public String getType() {
+        return type;
+    }
+
+    public void setType(String type) {
+        this.type = type;
+    }
 }

+ 3 - 1
ems/ems-core/src/main/java/com/ruoyi/ems/service/IWaterMeterHService.java

@@ -22,6 +22,8 @@ public interface IWaterMeterHService {
      */
     List<WaterMeterH> selectWaterMeterHList(QueryMeter queryMeter);
 
+    EnergyMeter staByTime(QueryMeter queryMeter);
+
     /**
      * 新增用电计量-小时
      *
@@ -64,7 +66,7 @@ public interface IWaterMeterHService {
 
     EnergyMeter qryWaterMeterByDate(String dataRange, String areaCode);
 
-    List<WaterMeterH> qryTimeIndexWaterMeterByDay(String dataRange,Integer timeIndex);
+    List<WaterMeterH> qryTimeIndexWaterMeterByDay(String dataRange, Integer timeIndex);
 
     List<WaterMeterH> qryDateWaterMeterByDay(String dataRange);
 

+ 5 - 0
ems/ems-core/src/main/java/com/ruoyi/ems/service/impl/WaterMeterHServiceImpl.java

@@ -34,6 +34,11 @@ public class WaterMeterHServiceImpl implements IWaterMeterHService {
     }
 
     @Override
+    public EnergyMeter staByTime(QueryMeter queryMeter) {
+        return waterMeterHMapper.staByTime(queryMeter);
+    }
+
+    @Override
     public int insertBatch(List<WaterMeterH> list) {
         return waterMeterHMapper.insertBatch(list);
     }

+ 2 - 2
ems/ems-core/src/main/resources/mapper/ems/ElecMeterHMapper.xml

@@ -125,8 +125,8 @@
         '${objType}' as obj_type,
         '${objCode}' as obj_code,
         '${objName}' as obj_name,
-        sum(m.elec_quantity) as elec_quantity,
-        sum(m.use_elec_cost) as use_elec_cost
+        ROUND(SUM(m.elec_quantity),1) as elec_quantity,
+        ROUND(SUM(m.use_elec_cost),2) as use_elec_cost
         from adm_elec_meter_h m
         <where>
             <if test="areaCode != null and areaCode != '-1'">

+ 13 - 0
ems/ems-core/src/main/resources/mapper/ems/WaterMeterHMapper.xml

@@ -45,6 +45,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         </where>
     </select>
 
+    <select id="staByTime" parameterType="com.ruoyi.ems.model.QueryMeter" resultMap="WaterMeterResult">
+        select area_code, device_code as obj_code, ROUND(SUM(water_quantity),2) AS water_quantity, ROUND(SUM(use_water_cost),3) AS use_water_cost from adm_water_meter_h h
+        <where>
+            <if test="deviceCode != null  and deviceCode != ''">and device_code = #{deviceCode}</if>
+            <if test="startRecTime != null and startRecTime != '' and endRecTime != null and endRecTime != ''">
+                and record_time between #{startRecTime} and #{endRecTime}
+            </if>
+            <if test="areaCode != null and areaCode != '0'">
+                and area_code = #{areaCode}
+            </if>
+        </where>
+    </select>
+
     <select id="getElecMeterHByObj" parameterType="com.ruoyi.ems.model.QueryMeter" resultMap="WaterMeterHResult">
         select
           m.id,

+ 307 - 232
ems/sql/ems_init_data.sql

@@ -27,31 +27,31 @@ INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `s
 INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('S30K150-S30K180', '321283124S3003', '0,321283124S3003', '桩号段S30K140-S30K150', '桩号段S30K140-S30K150', '区段S30K150+300-S30K180+300', 2, 0);
 
 -- 区块
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-101', '321283124S300101', '0,321283124S3001,321283124S300101', '一楼', '一楼', '综合楼一楼', 1, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-102', '321283124S300101', '0,321283124S3001,321283124S300101', '商铺', '商铺', '综合楼商铺', 2, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-103', '321283124S300101', '0,321283124S3001,321283124S300101', '厨房', '厨房', '综合楼厨房', 3, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-104', '321283124S300101', '0,321283124S3001,321283124S300101', '二楼', '二楼', '综合楼厨房', 4, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10101', 'B-101', '0,321283124S3001,321283124S300101,B-101', '卫生间', '卫生间', '卫生间', 1, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10102', 'B-101', '0,321283124S3001,321283124S300101,B-101', '开水间', '开水间', '开水间', 2, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10103', 'B-101', '0,321283124S3001,321283124S300101,B-101', '货车服务空间', '货车服务空间', '货车服务空间', 16, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10201', 'B-102', '0,321283124S3001,321283124S300101,B-102', '超市', '超市', '超市', 3, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10202', 'B-102', '0,321283124S3001,321283124S300101,B-102', '特产市集', '特产市集', '特产市集', 4, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10203', 'B-102', '0,321283124S3001,321283124S300101,B-102', '中餐厅', '中餐厅', '中餐厅', 5, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10204', 'B-102', '0,321283124S3001,321283124S300101,B-102', '德克士', '德克士', '德克士', 6, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10205', 'B-102', '0,321283124S3001,321283124S300101,B-102', '共和春面馆', '共和春面馆', '共和春面馆', 7, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10206', 'B-102', '0,321283124S3001,321283124S300101,B-102', '堂食餐饮', '堂食餐饮', '堂食餐饮', 8, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10207', 'B-102', '0,321283124S3001,321283124S300101,B-102', '传统小吃', '传统小吃', '传统小吃', 9, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10208', 'B-102', '0,321283124S3001,321283124S300101,B-102', '沪上阿姨', '沪上阿姨', '沪上阿姨', 10, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10209', 'B-102', '0,321283124S3001,321283124S300101,B-102', '微团生活馆', '微团生活馆', '微团生活馆', 11, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10210', 'B-102', '0,321283124S3001,321283124S300101,B-102', '服饰鞋帽', '服饰鞋帽', '服饰鞋帽', 12, 0);
-
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-201', '321283124S300102', '0,321283124S3001,321283124S300102', '北区司机之家维修间', '司机之家维修间', '北区司机之家维修间', 2, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-202', '321283124S300102', '0,321283124S3001,321283124S300102', '北区司机之家二楼', '司机之家二楼', '北区司机之家二楼', 3, 0);
-
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('N-101', '321283124S300201', '0,321283124S3002,321283124S300201', '一楼', '一楼', '综合楼一楼', 1, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('N-102', '321283124S300201', '0,321283124S3002,321283124S300201', '商铺', '商铺', '综合楼商铺', 2, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('N-103', '321283124S300201', '0,321283124S3002,321283124S300201', '厨房', '厨房', '综合楼厨房', 3, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('N-104', '321283124S300201', '0,321283124S3002,321283124S300201', '二楼', '二楼', '综合楼厨房', 4, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('321283124S30010101', '321283124S300101', '0,321283124S3001,321283124S300101', '一楼', '一楼', '综合楼一楼', 1, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('321283124S30010102', '321283124S300101', '0,321283124S3001,321283124S300101', '商铺', '商铺', '综合楼商铺', 2, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('321283124S30010103', '321283124S300101', '0,321283124S3001,321283124S300101', '厨房', '厨房', '综合楼厨房', 3, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('321283124S30010104', '321283124S300101', '0,321283124S3001,321283124S300101', '二楼', '二楼', '综合楼厨房', 4, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10101', '321283124S30010101', '0,321283124S3001,321283124S300101,321283124S30010101', '卫生间', '卫生间', '卫生间', 1, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10102', '321283124S30010101', '0,321283124S3001,321283124S300101,321283124S30010101', '开水间', '开水间', '开水间', 2, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10103', '321283124S30010101', '0,321283124S3001,321283124S300101,321283124S30010101', '货车服务空间', '货车服务空间', '货车服务空间', 16, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10201', '321283124S30010102', '0,321283124S3001,321283124S300101,321283124S30010102', '超市', '超市', '超市', 3, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10202', '321283124S30010102', '0,321283124S3001,321283124S300101,321283124S30010102', '特产市集', '特产市集', '特产市集', 4, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10203', '321283124S30010102', '0,321283124S3001,321283124S300101,321283124S30010102', '中餐厅', '中餐厅', '中餐厅', 5, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10204', '321283124S30010102', '0,321283124S3001,321283124S300101,321283124S30010102', '德克士', '德克士', '德克士', 6, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10205', '321283124S30010102', '0,321283124S3001,321283124S300101,321283124S30010102', '共和春面馆', '共和春面馆', '共和春面馆', 7, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10206', '321283124S30010102', '0,321283124S3001,321283124S300101,321283124S30010102', '堂食餐饮', '堂食餐饮', '堂食餐饮', 8, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10207', '321283124S30010102', '0,321283124S3001,321283124S300101,321283124S30010102', '传统小吃', '传统小吃', '传统小吃', 9, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10208', '321283124S30010102', '0,321283124S3001,321283124S300101,321283124S30010102', '沪上阿姨', '沪上阿姨', '沪上阿姨', 10, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10209', '321283124S30010102', '0,321283124S3001,321283124S300101,321283124S30010102', '微团生活馆', '微团生活馆', '微团生活馆', 11, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('B-10210', '321283124S30010102', '0,321283124S3001,321283124S300101,321283124S30010102', '服饰鞋帽', '服饰鞋帽', '服饰鞋帽', 12, 0);
+
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('321283124S30010201', '321283124S300102', '0,321283124S3001,321283124S300102', '北区司机之家维修间', '司机之家维修间', '北区司机之家维修间', 2, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('321283124S30010202', '321283124S300102', '0,321283124S3001,321283124S300102', '北区司机之家二楼', '司机之家二楼', '北区司机之家二楼', 3, 0);
+
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('321283124S30020101', '321283124S300201', '0,321283124S3002,321283124S300201', '一楼', '一楼', '综合楼一楼', 1, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('321283124S30020102', '321283124S300201', '0,321283124S3002,321283124S300201', '商铺', '商铺', '综合楼商铺', 2, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('321283124S30020103', '321283124S300201', '0,321283124S3002,321283124S300201', '厨房', '厨房', '综合楼厨房', 3, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('321283124S30020104', '321283124S300201', '0,321283124S3002,321283124S300201', '二楼', '二楼', '综合楼厨房', 4, 0);
 INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('N-10101', 'N-101', '0,321283124S3002,321283124S300201,N-101', '卫生间', '卫生间', '卫生间', 1, 0);
 INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('N-10102', 'N-101', '0,321283124S3002,321283124S300201,N-101', '开水间', '开水间', '开水间', 2, 0);
 INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('N-10103', 'N-101', '0,321283124S3002,321283124S300201,N-101', '货车服务空间', '货车服务空间', '货车服务空间', 16, 0);
@@ -66,8 +66,8 @@ INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `s
 INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('N-10209', 'N-102', '0,321283124S3002,321283124S300201,N-102', '微团生活馆', '微团生活馆', '微团生活馆', 11, 0);
 INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('N-10210', 'N-102', '0,321283124S3002,321283124S300201,N-102', '服饰鞋帽', '服饰鞋帽', '服饰鞋帽', 12, 0);
 
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('N-201', '321283124S300202', '0,321283124S3002,321283124S300202', '南区司机之家维修间', '南区司机之家维修间', '南区司机之家维修间', 2, 0);
-INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('N-202', '321283124S300202', '0,321283124S3002,321283124S300202', '南区司机之家二楼', '南区司机之家二楼', '南区司机之家二楼', 3, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('321283124S30020201', '321283124S300202', '0,321283124S3002,321283124S300202', '南区司机之家维修间', '南区司机之家维修间', '南区司机之家维修间', 2, 0);
+INSERT INTO `adm_area` (`area_code`, `parent_code`, `ancestors`, `area_name`, `short_name`, `desc`, `order_num`, `status`) VALUES ('321283124S30020202', '321283124S300202', '0,321283124S3002,321283124S300202', '南区司机之家二楼', '南区司机之家二楼', '南区司机之家二楼', 3, 0);
 
 -- 区域属性属性
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S3001', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', 7250, 6000, NULL, 120.050937, 32.071956);
@@ -96,10 +96,10 @@ INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phon
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('S30K140-S30K150', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, NULL, NULL, NULL);
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('S30K150-S30K180', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, NULL, NULL, NULL);
 
-INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('N-101', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
-INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('N-102', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
-INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('N-103', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
-INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('N-104', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
+INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S30020101', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
+INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S30020102', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
+INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S30020103', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
+INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S30020104', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('N-10101', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('N-10102', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('N-10103', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
@@ -113,14 +113,14 @@ INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phon
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('N-10208', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('N-10209', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('N-10210', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
-INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('N-201', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
-INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('N-202', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
+INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S30020201', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
+INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S30020202', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
 
 
-INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('B-101', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
-INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('B-102', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
-INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('B-103', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
-INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('B-104', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
+INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S30010101', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
+INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S30010102', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
+INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S30010103', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
+INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S30010104', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('B-10101', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('B-10102', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('B-10103', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
@@ -134,8 +134,8 @@ INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phon
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('B-10208', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('B-10209', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
 INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('B-10210', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
-INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('B-201', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
-INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('B-202', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
+INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S30010201', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
+INSERT INTO `adm_area_attr` (`area_code`, `attr_org`, `mgr_org`, `leader`, `phone`, `open_date`, `floor_area`, `usable_area`, `floor`, `longitude`, `latitude`) VALUES ('321283124S30010202', '常泰大桥服务区', '润扬大桥投资管理有限公司', 'xxx', '13000000000', '2025-01-01', NULL, NULL, 1, 120.050937, 32.071956);
 
 
 -- 能源设施初始数据
@@ -146,23 +146,33 @@ INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_sub
 INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('E503', '主路-光伏',   'E', 'E5', 1, '321283124S3003');
 INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('C101', '北区-储能',   'C', 'C1', 1, '321283124S3001');
 INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('C102', '南区-储能',   'C', 'C1', 1, '321283124S3002');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Z110', '北区-公共设施', 'Z', 'Z040', 1, '321283124S3001');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Z210', '南区-公共设施', 'Z', 'Z040', 1, '321283124S3002');
-
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('GCC01', '北区-光储充设施', 'Z', 'Z102', 1, '321283124S3001');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('GCC02', '南区-光储充设施', 'Z', 'Z102', 1, '321283124S3002');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Charge01', '北区-充电桩', 'Z', 'Z103', 1, '321283124S3001');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Charge02', '南区-充电桩', 'Z', 'Z103', 1, '321283124S3002');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('ZHZM01', '北区-智慧照明', 'Z', 'Z010', 1, '321283124S3001');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('ZHZM02', '南区-智慧照明', 'Z', 'Z010', 1, '321283124S3002');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('ZHHM01', '北区-智慧海绵', 'Z', 'Z105', 1, '321283124S3001');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('ZHHM02', '南区-智慧海绵', 'Z', 'Z105', 1, '321283124S3002');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('LG01', '北区-垃圾厨余', 'Z', 'Z106', 1, '321283124S3001');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('LG02', '南区-垃圾厨余', 'Z', 'Z106', 1, '321283124S3002');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('NH01', '北区-能耗系统', 'W', 'W4', 1, '321283124S3001');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('NH02', '南区-能耗系统', 'W', 'W4', 1, '321283124S3002');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('DEV01', '北区-设备子系统', 'Z', 'Z108', 1, '321283124S3001');
-INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('DEV02', '南区-设备子系统', 'Z', 'Z108', 1, '321283124S3002');
+
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Z-ZM-01', '北区-照明设施',   'Z', 'Z010', 1, '321283124S3001');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Z-ZM-02', '南区-照明设施',   'Z', 'Z010', 1, '321283124S3002');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Z-KT-01', '北区-暖通设施',   'Z', 'Z020', 1, '321283124S3001');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Z-KT-02', '南区-暖通设施',   'Z', 'Z020', 1, '321283124S3002');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Z-AF-01', '北区-安防设施',   'Z', 'Z030', 1, '321283124S3001');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Z-AF-02', '南区-安防设施',   'Z', 'Z030', 1, '321283124S3002');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Z-FW-01', '北区-服务设施',   'Z', 'Z040', 1, '321283124S3001');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Z-FW-02', '南区-服务设施',   'Z', 'Z040', 1, '321283124S3002');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Z-QT-01', '北区-其他设施',   'Z', 'Z999', 1, '321283124S3001');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Z-QT-02', '南区-其他设施',   'Z', 'Z999', 1, '321283124S3002');
+
+
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('NH01', '北区-能耗监测', 'W', 'W4', 1, '321283124S3001');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('NH02', '南区-能耗监测', 'W', 'W4', 1, '321283124S3002');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('GCC01', '北区-光储充监测', 'W', 'W4', 1, '321283124S3001');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('GCC02', '南区-光储充监测', 'W', 'W4', 1, '321283124S3002');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Charge01', '北区-充电桩监测', 'W', 'W4', 1, '321283124S3001');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('Charge02', '南区-充电桩监测', 'W', 'W4', 1, '321283124S3002');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('ZHZM01', '北区-照明监测', 'W', 'W4', 1, '321283124S3001');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('ZHZM02', '南区-照明监测', 'W', 'W4', 1, '321283124S3002');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('ZHHM01', '北区-海绵监测', 'W', 'W4', 1, '321283124S3001');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('ZHHM02', '南区-海绵监测', 'W', 'W4', 1, '321283124S3002');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('LG01', '北区-垃圾厨余监测', 'W', 'W4', 1, '321283124S3001');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('LG02', '南区-垃圾厨余监测', 'W', 'W4', 1, '321283124S3002');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('DEV01', '北区-设备监测', 'W', 'W4', 1, '321283124S3001');
+INSERT INTO `adm_ems_facs` (`facs_code`, `facs_name`, `facs_category`, `facs_subcategory`, `enable`, `ref_area`) VALUES ('DEV02', '南区-设备监测', 'W', 'W4', 1, '321283124S3002');
 
 -- 能源设备
 INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ( 'ID-E-C-2003', '北区能耗采集器C', '-', '-', '1', '综合楼', '321283124S300101', '321283124S3001', 'M_W2_SM_INDOOR_ENERGY', 'NH01', 'SM', 'SYS_NHJC');
@@ -175,32 +185,29 @@ INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `dev
 INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ( 'ID-E-C-1005', '南区汽修间能耗采集器', '-', '-', '1', '司机之家', '321283124S300202', '321283124S3002', 'M_W2_SM_INDOOR_ENERGY', 'NH02', 'SM', 'SYS_NHJC');
 INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ( 'ID-E-C-1007', '南区宿舍能耗采集器', '-', '-', '1', '宿舍', '321283124S300203', '321283124S3002', 'M_W2_SM_INDOOR_ENERGY', 'NH02', 'SM', 'SYS_NHJC');
 
--- MOCK设备
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('864142073640059', '开水器断路器', 'GEEK-OPEN', '30A-4G', 1, '综合楼茶水间', '321283124S300101', '321283124S3001', 'M_W2_QF_GEEKOPEN', 'W201', 'QF', 'SYS_BA');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-B-QS-10000001', '大厅照明开关', '德力西', '4P', 1, '综合楼大厅', '321283124S300101', '321283124S3001', 'M_W2_QS_KEKA_86', 'W201', 'QS', 'SYS_BA');
-
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-001', '光储设备1',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  NULL, 'GCC01', NULL, 'SYS_GCC');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-002', '光储设备2',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  NULL, 'GCC01', NULL, 'SYS_GCC');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-003', '光储设备3',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  NULL, 'GCC01', NULL, 'SYS_GCC');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-004', '光储设备4',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  NULL, 'GCC01', NULL, 'SYS_GCC');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-005', '光储设备5',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  NULL, 'GCC02', NULL, 'SYS_GCC');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-006', '光储设备6',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  NULL, 'GCC02', NULL, 'SYS_GCC');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-007', '光储设备7',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  NULL, 'GCC02', NULL, 'SYS_GCC');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-008', '光储设备8',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  NULL, 'GCC02', NULL, 'SYS_GCC');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-B-EVSE-10001', '1号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '北区广场', '321283124S300104', '321283124S3001',  NULL, 'Charge01', NULL, 'SYS_CD');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-B-EVSE-10002', '2号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '北区广场', '321283124S300104', '321283124S3001',  NULL, 'Charge01', NULL, 'SYS_CD');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-B-EVSE-10003', '3号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '北区广场', '321283124S300104', '321283124S3001',  NULL, 'Charge01', NULL, 'SYS_CD');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-B-EVSE-10004', '4号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '北区广场', '321283124S300104', '321283124S3001',  NULL, 'Charge01', NULL, 'SYS_CD');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-N-EVSE-20001', '1号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '南区广场', '321283124S300204', '321283124S3002',  NULL, 'Charge02', NULL, 'SYS_CD');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-N-EVSE-20002', '2号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '南区广场', '321283124S300204', '321283124S3002',  NULL, 'Charge02', NULL, 'SYS_CD');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-N-EVSE-20003', '3号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '南区广场', '321283124S300204', '321283124S3002',  NULL, 'Charge02', NULL, 'SYS_CD');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-N-EVSE-20004', '4号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '南区广场', '321283124S300204', '321283124S3002',  NULL, 'Charge02', NULL, 'SYS_CD');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('ZHZM-01', '照明01',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  NULL, 'ZHZM01', NULL, 'SYS_ZHZM');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('ZHZM-02', '照明02',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  NULL, 'ZHZM02', NULL, 'SYS_ZHZM');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('ZHHM-01', '海绵设备1',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  NULL, 'ZHHM01', NULL, 'SYS_ZHHM');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('ZHHM-02', '海绵设备2',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  NULL, 'ZHHM02', NULL, 'SYS_ZHHM');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('LGCY-01', '厨余垃圾设备1',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  NULL, 'LG01', NULL, 'SYS_LG');
-INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('LGCY-02', '厨余垃圾设备2',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  NULL, 'LG02', NULL, 'SYS_LG');
+-- mock设备
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-001', '光储设备1',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  'test', 'GCC01', NULL, 'SYS_GCC');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-002', '光储设备2',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  'test', 'GCC01', NULL, 'SYS_GCC');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-003', '光储设备3',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  'test', 'GCC01', NULL, 'SYS_GCC');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-004', '光储设备4',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  'test', 'GCC01', NULL, 'SYS_GCC');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-005', '光储设备5',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  'test', 'GCC02', NULL, 'SYS_GCC');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-006', '光储设备6',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  'test', 'GCC02', NULL, 'SYS_GCC');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-007', '光储设备7',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  'test', 'GCC02', NULL, 'SYS_GCC');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('GCZR-008', '光储设备8',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  'test', 'GCC02', NULL, 'SYS_GCC');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-B-EVSE-10001', '1号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '北区广场', '321283124S300104', '321283124S3001',  'test', 'Charge01', NULL, 'SYS_CD');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-B-EVSE-10002', '2号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '北区广场', '321283124S300104', '321283124S3001',  'test', 'Charge01', NULL, 'SYS_CD');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-B-EVSE-10003', '3号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '北区广场', '321283124S300104', '321283124S3001',  'test', 'Charge01', NULL, 'SYS_CD');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-B-EVSE-10004', '4号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '北区广场', '321283124S300104', '321283124S3001',  'test', 'Charge01', NULL, 'SYS_CD');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-N-EVSE-20001', '1号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '南区广场', '321283124S300204', '321283124S3002',  'test', 'Charge02', NULL, 'SYS_CD');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-N-EVSE-20002', '2号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '南区广场', '321283124S300204', '321283124S3002',  'test', 'Charge02', NULL, 'SYS_CD');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-N-EVSE-20003', '3号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '南区广场', '321283124S300204', '321283124S3002',  'test', 'Charge02', NULL, 'SYS_CD');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('D-N-EVSE-20004', '4号充电桩',    '特来电', 'TCDZ-DCO.7', 1, '南区广场', '321283124S300204', '321283124S3002',  'test', 'Charge02', NULL, 'SYS_CD');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('ZHZM-01', '照明01',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  'test', 'ZHZM01', NULL, 'SYS_ZHZM');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('ZHZM-02', '照明02',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  'test', 'ZHZM02', NULL, 'SYS_ZHZM');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('ZHHM-01', '海绵设备1',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  'test', 'ZHHM01', NULL, 'SYS_ZHHM');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('ZHHM-02', '海绵设备2',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  'test', 'ZHHM02', NULL, 'SYS_ZHHM');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('LGCY-01', '厨余垃圾设备1',    'xxx', 'xxx', 1, '北区广场', '321283124S300104', '321283124S3001',  'test', 'LG01', NULL, 'SYS_LG');
+INSERT INTO `adm_ems_device` (`device_code`, `device_name`, `device_brand`, `device_spec`, `device_status`, `location`, `location_ref`, `area_code`, `device_model`, `ref_facs`, `ps_code`, `subsystem_code`) VALUES ('LGCY-02', '厨余垃圾设备2',    'xxx', 'xxx', 1, '南区广场', '321283124S300204', '321283124S3002',  'test', 'LG02', NULL, 'SYS_LG');
 
 
 -- 策略初始数据
@@ -468,183 +475,251 @@ VALUES ('SYS_GCC', '光储充系统', '光储充', '光储充厂商', '张三',
 
 -- 北区电表
 -- 综合楼电表
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0000','M_W2_SM_INDOOR_ENERGY', '北区综合楼ALZ',       '321283124S300100', '一楼强电间', 45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0001','M_W2_SM_INDOOR_ENERGY', '北区综合楼AKZ',       '321283124S300100', '一楼强电间', 45, 0, 300, 0, 1, '线接上之后北区综合楼APJK不通');
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0002','M_W2_SM_INDOOR_ENERGY', '北区综合楼APXF2',     '321283124S300100', '一楼强电间', 45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0003','M_W2_SM_INDOOR_ENERGY', '北区综合楼APXF1',     '321283124S300100', '一楼强电间', 45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0005','M_W2_SM_INDOOR_ENERGY', '北区综合楼APJK',      '321283124S300100', '一楼监控室', 45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0006','M_W2_SM_INDOOR_ENERGY', '北区综合楼APsbjf',    '321283124S300100', '一楼地下室', 45, 0, 300, 0, 1, null);
-
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0206','M_W2_SM_INDOOR_ENERGY', '德克士',             '321283124S300100', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0214','M_W2_SM_INDOOR_ENERGY', '微团生活馆',          '321283124S300100', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0222','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S300100', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0230','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S300100', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0238','M_W2_SM_INDOOR_ENERGY', '沪上阿姨(奶茶)',     '321283124S300100', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0246','M_W2_SM_INDOOR_ENERGY', '服饰鞋帽(服饰)',     '321283124S300100', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0254','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S300100', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0262','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S300100', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0270','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S300100', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0278','M_W2_SM_INDOOR_ENERGY', '传统小吃(小吃)',      '321283124S300100', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0286','M_W2_SM_INDOOR_ENERGY', '美广',                '321283124S300100', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0294','M_W2_SM_INDOOR_ENERGY', '共和春(面馆)',        '321283124S300100', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0302','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S300100', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0310','M_W2_SM_INDOOR_ENERGY', '特产市集(特产)',      '321283124S300100', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0318','M_W2_SM_INDOOR_ENERGY', '超市',                '321283124S300100', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0326','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S300100', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0334','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S300100', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0342','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S300100', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0350','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S300100', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0406','M_W2_SM_INDOOR_ENERGY', '厨房配电',            '321283124S300100', '配电箱-APCF',   45, 1, 300, 0, 1, null);
-
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0600','M_W2_SM_INDOOR_ENERGY', '北区综合楼APDT',      '321283124S300100', '二楼强电间',     45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0601','M_W2_SM_INDOOR_ENERGY', '北区综合楼2APDP',     '321283124S300100', '二楼强电间',     45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0603','M_W2_SM_INDOOR_ENERGY', '北区综合楼APKT1',     '321283124S300100', '二楼强电间',     45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0604','M_W2_SM_INDOOR_ENERGY', '北区综合楼APKT2',     '321283124S300100', '二楼强电间',     45, 0, 300, 0, 1, null);
-
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0400','M_W2_SM_INDOOR_ENERGY', '北区综合楼APXK',      '321283124S300100', '消控室',   45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0000','M_W2_SM_INDOOR_ENERGY', '北区综合楼ALZ',       '321283124S30010101', '一楼强电间', 45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0001','M_W2_SM_INDOOR_ENERGY', '北区综合楼AKZ',       '321283124S30010101', '一楼强电间', 45, 0, 300, 0, 1, '线接上之后北区综合楼APJK不通');
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0002','M_W2_SM_INDOOR_ENERGY', '北区综合楼APXF2',     '321283124S30010101', '一楼强电间', 45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0003','M_W2_SM_INDOOR_ENERGY', '北区综合楼APXF1',     '321283124S30010101', '一楼强电间', 45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0005','M_W2_SM_INDOOR_ENERGY', '北区综合楼APJK',      '321283124S30010101', '一楼监控室', 45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0006','M_W2_SM_INDOOR_ENERGY', '北区综合楼APsbjf',    '321283124S30010101', '一楼地下室', 45, 0, 300, 0, 1, null);
+
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0206','M_W2_SM_INDOOR_ENERGY', '德克士',             '321283124S30010102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0214','M_W2_SM_INDOOR_ENERGY', '微团生活馆',          '321283124S30010102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0222','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S30010102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0230','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S30010102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0238','M_W2_SM_INDOOR_ENERGY', '沪上阿姨(奶茶)',     '321283124S30010102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0246','M_W2_SM_INDOOR_ENERGY', '服饰鞋帽(服饰)',     '321283124S30010102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0254','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S30010102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0262','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S30010102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0270','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S30010102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0278','M_W2_SM_INDOOR_ENERGY', '传统小吃(小吃)',      '321283124S30010102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0286','M_W2_SM_INDOOR_ENERGY', '美广',                '321283124S30010102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0294','M_W2_SM_INDOOR_ENERGY', '共和春(面馆)',        '321283124S30010102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0302','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S30010102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0310','M_W2_SM_INDOOR_ENERGY', '特产市集(特产)',      '321283124S30010102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0318','M_W2_SM_INDOOR_ENERGY', '超市',                '321283124S30010102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0326','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S30010102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0334','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S30010102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0342','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S30010102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0350','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S30010102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0406','M_W2_SM_INDOOR_ENERGY', '厨房配电',            '321283124S30010103', '配电箱-APCF',   45, 1, 300, 0, 1, null);
+
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0600','M_W2_SM_INDOOR_ENERGY', '北区综合楼APDT',      '321283124S30010104', '二楼强电间',     45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0601','M_W2_SM_INDOOR_ENERGY', '北区综合楼2APDP',     '321283124S30010104', '二楼强电间',     45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0603','M_W2_SM_INDOOR_ENERGY', '北区综合楼APKT1',     '321283124S30010104', '二楼强电间',     45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2003_AV_0604','M_W2_SM_INDOOR_ENERGY', '北区综合楼APKT2',     '321283124S30010104', '二楼强电间',     45, 0, 300, 0, 1, null);
+
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0400','M_W2_SM_INDOOR_ENERGY', '北区综合楼APXK',      '321283124S30010101', '消控室',   45, 0, 300, 0, 1, null);
 
 -- 北区司机之家电表
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2005_AV_0200','M_W2_SM_INDOOR_ENERGY', '北区司机之家维修间ALWX', '321283124S300100', '一楼强电间',   45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2005_AV_0201','M_W2_SM_INDOOR_ENERGY', '北区司机之家维修间ALE',  '321283124S300100', '一楼强电间',   45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2005_AV_0400','M_W2_SM_INDOOR_ENERGY', '北区司机之家维修间ALZ',  '321283124S300100', '一楼强电间',   45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2005_AV_0401','M_W2_SM_INDOOR_ENERGY', '北区司机之家维修间ALSS', '321283124S300100', '二楼强电间',   45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2005_AV_0200','M_W2_SM_INDOOR_ENERGY', '北区司机之家维修间ALWX', '321283124S30010201', '一楼强电间',   45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2005_AV_0201','M_W2_SM_INDOOR_ENERGY', '北区司机之家维修间ALE',  '321283124S30010201', '一楼强电间',   45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2005_AV_0400','M_W2_SM_INDOOR_ENERGY', '北区司机之家维修间ALZ',  '321283124S30010201', '一楼强电间',   45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2005_AV_0401','M_W2_SM_INDOOR_ENERGY', '北区司机之家维修间ALSS', '321283124S30010202', '二楼强电间',   45, 1, 300, 0, 1, null);
 
 -- 北区警务室
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2006_AV_0000','M_W2_SM_INDOOR_ENERGY', '警务室AL', '321283124S300100', '一楼强电间',   45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2006_AV_0000','M_W2_SM_INDOOR_ENERGY', '警务室AL', '321283124S300103', '一楼强电间',   45, 0, 300, 0, 1, null);
 
 -- 北区水表
 -- 北综合楼水表
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0000','M_W2_SM_INDOOR_ENERGY', '货车服务空间', '321283124S300100', '货车服务空间',   70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0001','M_W2_SM_INDOOR_ENERGY', '沪上阿姨',    '321283124S300100', '沪上阿姨',      70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0002','M_W2_SM_INDOOR_ENERGY', '微团生活馆',   '321283124S300100', '微团生活馆',    70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0003','M_W2_SM_INDOOR_ENERGY', '服饰鞋帽',     '321283124S300100', '服饰鞋帽',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0004','M_W2_SM_INDOOR_ENERGY', '卫生间',       '321283124S300100', '卫生间',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0005','M_W2_SM_INDOOR_ENERGY', '开水间',       '321283124S300100', '开水间',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0006','M_W2_SM_INDOOR_ENERGY', '超市',         '321283124S300100', '超市',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0007','M_W2_SM_INDOOR_ENERGY', '特产市集',     '321283124S300100', '特产市集',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0008','M_W2_SM_INDOOR_ENERGY', '堂食餐饮',     '321283124S300100', '堂食餐饮',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0009','M_W2_SM_INDOOR_ENERGY', '传统小吃',     '321283124S300100', '传统小吃',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0010','M_W2_SM_INDOOR_ENERGY', '德克士',       '321283124S300100', '德克士',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0011','M_W2_SM_INDOOR_ENERGY', '共和春面馆',    '321283124S300100', '共和春面馆',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0012','M_W2_SM_INDOOR_ENERGY', '中餐厅',       '321283124S300100', '中餐厅',     70, 1, 300, 0, 1, null);
-
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0200','M_W2_SM_INDOOR_ENERGY', '二楼',       '321283124S300100', '二楼',     70, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0000','M_W2_SM_INDOOR_ENERGY', '货车服务空间', '321283124S30010101', '货车服务空间',   70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0001','M_W2_SM_INDOOR_ENERGY', '沪上阿姨',    '321283124S30010102', '沪上阿姨',      70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0002','M_W2_SM_INDOOR_ENERGY', '微团生活馆',   '321283124S30010102', '微团生活馆',    70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0003','M_W2_SM_INDOOR_ENERGY', '服饰鞋帽',     '321283124S30010102', '服饰鞋帽',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0004','M_W2_SM_INDOOR_ENERGY', '卫生间',       '321283124S30010101', '卫生间',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0005','M_W2_SM_INDOOR_ENERGY', '开水间',       '321283124S30010101', '开水间',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0006','M_W2_SM_INDOOR_ENERGY', '超市',         '321283124S30010102', '超市',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0007','M_W2_SM_INDOOR_ENERGY', '特产市集',     '321283124S30010102', '特产市集',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0008','M_W2_SM_INDOOR_ENERGY', '堂食餐饮',     '321283124S30010102', '堂食餐饮',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0009','M_W2_SM_INDOOR_ENERGY', '传统小吃',     '321283124S30010102', '传统小吃',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0010','M_W2_SM_INDOOR_ENERGY', '德克士',       '321283124S30010102', '德克士',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0011','M_W2_SM_INDOOR_ENERGY', '共和春面馆',    '321283124S30010102', '共和春面馆',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0012','M_W2_SM_INDOOR_ENERGY', '中餐厅',       '321283124S30010102', '中餐厅',     70, 1, 300, 0, 1, null);
+
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2004_AV_0200','M_W2_SM_INDOOR_ENERGY', '二楼',       '321283124S30010102', '二楼',     70, 0, 300, 0, 1, null);
 
 -- 司机之家水表
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2005_AV_0600','M_W2_SM_INDOOR_ENERGY', '北区司机之家维修间ALSS', '321283124S300100', '司机之家',   70, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', 'C_2005_AV_0600','M_W2_SM_INDOOR_ENERGY', '北区司机之家维修间ALSS', '321283124S300102', '司机之家',   70, 0, 300, 0, 1, null);
 
 -- 南区电表
 -- 综合楼
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0000','M_W2_SM_INDOOR_ENERGY', '南区综合楼ALZ',       '321283124S300200', '一楼强电间', 45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0001','M_W2_SM_INDOOR_ENERGY', '南区综合楼AKZ',       '321283124S300200', '一楼强电间', 45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0002','M_W2_SM_INDOOR_ENERGY', '南区综合楼APXF2',     '321283124S300200', '一楼强电间', 45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0003','M_W2_SM_INDOOR_ENERGY', '南区综合楼APXF1',     '321283124S300200', '一楼强电间', 45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0004','M_W2_SM_INDOOR_ENERGY', '南区综合楼APJF',      '321283124S300200', '一楼机房',  45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0005','M_W2_SM_INDOOR_ENERGY', '南区综合楼APJK',      '321283124S300200', '一楼监控室', 45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0006','M_W2_SM_INDOOR_ENERGY', '南区综合楼APsbjf',    '321283124S300200', '一楼地下室', 45, 0, 300, 0, 1, null);
-
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0206','M_W2_SM_INDOOR_ENERGY', '德克士',             '321283124S300200', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0214','M_W2_SM_INDOOR_ENERGY', '微团生活馆',          '321283124S300200', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0222','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S300200', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0230','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S300200', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0238','M_W2_SM_INDOOR_ENERGY', '沪上阿姨(奶茶)',     '321283124S300200', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0246','M_W2_SM_INDOOR_ENERGY', '服饰鞋帽(服饰)',     '321283124S300200', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0254','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S300200', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0262','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S300200', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0270','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S300200', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
-
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0278','M_W2_SM_INDOOR_ENERGY', '传统小吃(小吃)',      '321283124S300200', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0286','M_W2_SM_INDOOR_ENERGY', '美广',                '321283124S300200', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, '没电');
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0294','M_W2_SM_INDOOR_ENERGY', '共和春(面馆)',        '321283124S300200', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0302','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S300200', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0310','M_W2_SM_INDOOR_ENERGY', '特产市集(特产)',      '321283124S300200', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0318','M_W2_SM_INDOOR_ENERGY', '超市',                '321283124S300200', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0326','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S300200', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0334','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S300200', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0342','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S300200', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0350','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S300200', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
-
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0406','M_W2_SM_INDOOR_ENERGY', '厨房配电',             '321283124S300200', '配电箱-APCF',   45, 1, 300, 0, 1, null);
-
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0600','M_W2_SM_INDOOR_ENERGY', '南区综合楼APDT',      '321283124S300200', '二楼强电间',     45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0601','M_W2_SM_INDOOR_ENERGY', '南区综合楼2APDP',     '321283124S300200', '二楼强电间',     45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0602','M_W2_SM_INDOOR_ENERGY', '南区综合楼2ALZt',     '321283124S300200', '二楼强电间',     45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0603','M_W2_SM_INDOOR_ENERGY', '南区综合楼APKT1',     '321283124S300200', '二楼强电间',     45, 0, 300, 0, 1, '暂未供电');
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0604','M_W2_SM_INDOOR_ENERGY', '南区综合楼APKT2',     '321283124S300200', '二楼强电间',     45, 0, 300, 0, 1, '暂未供电');
-
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0400','M_W2_SM_INDOOR_ENERGY', '南区综合楼APXK',      '321283124S300200', '消控室',        45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0000','M_W2_SM_INDOOR_ENERGY', '南区综合楼ALZ',       '321283124S30020101', '一楼强电间', 45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0001','M_W2_SM_INDOOR_ENERGY', '南区综合楼AKZ',       '321283124S30020101', '一楼强电间', 45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0002','M_W2_SM_INDOOR_ENERGY', '南区综合楼APXF2',     '321283124S30020101', '一楼强电间', 45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0003','M_W2_SM_INDOOR_ENERGY', '南区综合楼APXF1',     '321283124S30020101', '一楼强电间', 45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0004','M_W2_SM_INDOOR_ENERGY', '南区综合楼APJF',      '321283124S30020101', '一楼机房',  45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0005','M_W2_SM_INDOOR_ENERGY', '南区综合楼APJK',      '321283124S30020101', '一楼监控室', 45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0006','M_W2_SM_INDOOR_ENERGY', '南区综合楼APsbjf',    '321283124S30020101', '一楼地下室', 45, 0, 300, 0, 1, null);
+
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0206','M_W2_SM_INDOOR_ENERGY', '德克士',             '321283124S30020102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0214','M_W2_SM_INDOOR_ENERGY', '微团生活馆',          '321283124S30020102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0222','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S30020102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0230','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S30020102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0238','M_W2_SM_INDOOR_ENERGY', '沪上阿姨(奶茶)',     '321283124S30020102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0246','M_W2_SM_INDOOR_ENERGY', '服饰鞋帽(服饰)',     '321283124S30020102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0254','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S30020102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0262','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S30020102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0270','M_W2_SM_INDOOR_ENERGY', '备用',               '321283124S30020102', '配电箱-ALSPZ2', 45, 1, 300, 0, 1, null);
+
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0278','M_W2_SM_INDOOR_ENERGY', '传统小吃(小吃)',      '321283124S30020102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0286','M_W2_SM_INDOOR_ENERGY', '美广',                '321283124S30020102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, '没电');
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0294','M_W2_SM_INDOOR_ENERGY', '共和春(面馆)',        '321283124S30020102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0302','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S30020102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0310','M_W2_SM_INDOOR_ENERGY', '特产市集(特产)',      '321283124S30020102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0318','M_W2_SM_INDOOR_ENERGY', '超市',                '321283124S30020102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0326','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S30020102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0334','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S30020102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0342','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S30020102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0350','M_W2_SM_INDOOR_ENERGY', '备用',                '321283124S30020102', '配电箱-ALSPZ1', 45, 1, 300, 0, 1, null);
+
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0406','M_W2_SM_INDOOR_ENERGY', '厨房配电',             '321283124S30020103', '配电箱-APCF',   45, 1, 300, 0, 1, null);
+
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0600','M_W2_SM_INDOOR_ENERGY', '南区综合楼APDT',      '321283124S30020104', '二楼强电间',     45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0601','M_W2_SM_INDOOR_ENERGY', '南区综合楼2APDP',     '321283124S30020104', '二楼强电间',     45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0602','M_W2_SM_INDOOR_ENERGY', '南区综合楼2ALZt',     '321283124S30020104', '二楼强电间',     45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0603','M_W2_SM_INDOOR_ENERGY', '南区综合楼APKT1',     '321283124S30020104', '二楼强电间',     45, 0, 300, 0, 1, '暂未供电');
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1003_AV_0604','M_W2_SM_INDOOR_ENERGY', '南区综合楼APKT2',     '321283124S30020104', '二楼强电间',     45, 0, 300, 0, 1, '暂未供电');
+
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0400','M_W2_SM_INDOOR_ENERGY', '南区综合楼APXK',      '321283124S30020101', '消控室',        45, 0, 300, 0, 1, null);
 
 -- 南区司机之家电表
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1005_AV_0000','M_W2_SM_INDOOR_ENERGY', '南区司机之家维修间ALZ',   '321283124S300200', '一楼强电间',   45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1005_AV_0200','M_W2_SM_INDOOR_ENERGY', '南区司机之家维修间ALWX',  '321283124S300200', '一楼强电间',   45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1005_AV_0201','M_W2_SM_INDOOR_ENERGY', '南区司机之家维修间ALE',   '321283124S300200', '一楼强电间',   45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1005_AV_0400','M_W2_SM_INDOOR_ENERGY', '南区司机之家维修间ALSS',  '321283124S300200', '二楼强电间',   45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1005_AV_0000','M_W2_SM_INDOOR_ENERGY', '南区司机之家维修间ALZ',   '321283124S30020201', '一楼强电间',   45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1005_AV_0200','M_W2_SM_INDOOR_ENERGY', '南区司机之家维修间ALWX',  '321283124S30020201', '一楼强电间',   45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1005_AV_0201','M_W2_SM_INDOOR_ENERGY', '南区司机之家维修间ALE',   '321283124S30020201', '一楼强电间',   45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1005_AV_0400','M_W2_SM_INDOOR_ENERGY', '南区司机之家维修间ALSS',  '321283124S30020202', '二楼强电间',   45, 0, 300, 0, 1, null);
 
 -- 南区宿舍电表
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1007_AV_0000','M_W2_SM_INDOOR_ENERGY', '南区宿舍ALZ',   '321283124S300200', '一楼强电间',   45, 0, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1007_AV_0200','M_W2_SM_INDOOR_ENERGY', '南区宿舍ALE',   '321283124S300200', '一楼强电间',   45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1007_AV_0000','M_W2_SM_INDOOR_ENERGY', '南区宿舍ALZ',   '321283124S300203', '一楼强电间',   45, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1007_AV_0200','M_W2_SM_INDOOR_ENERGY', '南区宿舍ALE',   '321283124S300203', '一楼强电间',   45, 0, 300, 0, 1, null);
 
 -- 南区水表
 -- 北综合楼水表
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0000','M_W2_SM_INDOOR_ENERGY', '货车服务空间', '321283124S300200', '货车服务空间',   70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0001','M_W2_SM_INDOOR_ENERGY', '沪上阿姨',    '321283124S300200', '沪上阿姨',      70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0002','M_W2_SM_INDOOR_ENERGY', '微团生活馆',   '321283124S300200', '微团生活馆',    70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0003','M_W2_SM_INDOOR_ENERGY', '服饰鞋帽',     '321283124S300200', '服饰鞋帽',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0004','M_W2_SM_INDOOR_ENERGY', '卫生间',       '321283124S300200', '卫生间',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0005','M_W2_SM_INDOOR_ENERGY', '开水间',       '321283124S300200', '开水间',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0006','M_W2_SM_INDOOR_ENERGY', '超市',         '321283124S300200', '超市',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0007','M_W2_SM_INDOOR_ENERGY', '特产市集',     '321283124S300200', '特产市集',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0008','M_W2_SM_INDOOR_ENERGY', '堂食餐饮',     '321283124S300200', '堂食餐饮',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0009','M_W2_SM_INDOOR_ENERGY', '传统小吃',     '321283124S300200', '传统小吃',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0010','M_W2_SM_INDOOR_ENERGY', '德克士',       '321283124S300200', '德克士',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0011','M_W2_SM_INDOOR_ENERGY', '共和春面馆',    '321283124S300200', '共和春面馆',     70, 1, 300, 0, 1, null);
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0012','M_W2_SM_INDOOR_ENERGY', '中餐厅',       '321283124S300200', '中餐厅',     70, 1, 300, 0, 1, null);
-
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0200','M_W2_SM_INDOOR_ENERGY', '二楼',       '321283124S300200', '二楼',     70, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0000','M_W2_SM_INDOOR_ENERGY', '货车服务空间', '321283124S30020101', '货车服务空间',   70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0001','M_W2_SM_INDOOR_ENERGY', '沪上阿姨',    '321283124S30020102', '沪上阿姨',      70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0002','M_W2_SM_INDOOR_ENERGY', '微团生活馆',   '321283124S30020102', '微团生活馆',    70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0003','M_W2_SM_INDOOR_ENERGY', '服饰鞋帽',     '321283124S30020102', '服饰鞋帽',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0004','M_W2_SM_INDOOR_ENERGY', '卫生间',       '321283124S30020101', '卫生间',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0005','M_W2_SM_INDOOR_ENERGY', '开水间',       '321283124S30020101', '开水间',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0006','M_W2_SM_INDOOR_ENERGY', '超市',         '321283124S30020102', '超市',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0007','M_W2_SM_INDOOR_ENERGY', '特产市集',     '321283124S30020102', '特产市集',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0008','M_W2_SM_INDOOR_ENERGY', '堂食餐饮',     '321283124S30020102', '堂食餐饮',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0009','M_W2_SM_INDOOR_ENERGY', '传统小吃',     '321283124S30020102', '传统小吃',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0010','M_W2_SM_INDOOR_ENERGY', '德克士',       '321283124S30020102', '德克士',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0011','M_W2_SM_INDOOR_ENERGY', '共和春面馆',    '321283124S30020102', '共和春面馆',     70, 1, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0012','M_W2_SM_INDOOR_ENERGY', '中餐厅',       '321283124S30020102', '中餐厅',     70, 1, 300, 0, 1, null);
+
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1004_AV_0200','M_W2_SM_INDOOR_ENERGY', '二楼',       '321283124S30020104', '二楼',     70, 0, 300, 0, 1, null);
 
 -- 司机之家水表
-INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1005_AV_0600','M_W2_SM_INDOOR_ENERGY', '司机之家水表', '321283124S300200', '司机之家',   70, 0, 300, 0, 1, null);
+INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3002', 'C_1005_AV_0600','M_W2_SM_INDOOR_ENERGY', '司机之家水表', '321283124S300202', '司机之家',   70, 0, 300, 0, 1, null);
 
 -- 测试表
 INSERT INTO `adm_meter_device` (`area_code`, `device_code`, `device_model`, `device_name`, `location_ref`, `location`, `meter_cls`, `obj_tag`, `col_cycle`, `col_mode`, `magnification`, `spec_desc`) VALUES ('321283124S3001', '864142073640059', 'M_W2_QF_GEEKOPEN', '智能断路器', '321283124S300101', '综合楼C3-茶水间', 45, 0, 3600, 0, 1, '智能表');
 
 
 -- 表计绑定关系
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'B-101', 45, 'J-D-B-101');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'B-102', 45, 'J-D-B-102');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'B-103', 45, 'J-D-B-103');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'B-104', 45, 'J-D-B-104');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'B-105', 45, 'J-D-B-105');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'B-106', 45, 'J-D-B-106');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'B-107', 45, 'J-D-B-107');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'B-108', 45, 'J-D-B-108');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'B-109', 45, 'J-D-B-109');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'B-110', 45, 'J-D-B-110');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z101', 45, 'J-D-B-Z101');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z102', 45, 'J-D-B-Z102');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z101', 45, 'J-D-B-Z110');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z120', 45, 'J-D-B-Z120');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z102', 45, 'J-D-B-G001');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z110', 70, 'J-S-B-01');
-
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'N-101', 45, 'J-D-N-101');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'N-102', 45, 'J-D-N-102');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'N-103', 45, 'J-D-N-103');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'N-104', 45, 'J-D-N-104');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'N-105', 45, 'J-D-N-105');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'N-106', 45, 'J-D-N-106');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'N-107', 45, 'J-D-N-107');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'N-108', 45, 'J-D-N-108');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'N-109', 45, 'J-D-N-109');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (1, 'N-110', 45, 'J-D-N-110');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z201', 45, 'J-D-N-Z201');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z202', 45, 'J-D-N-Z202');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z210', 45, 'J-D-N-Z210');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z220', 45, 'J-D-N-Z220');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z202', 45, 'J-D-N-G001');
-INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z110', 70, 'J-S-N-01');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-KT-01', 45, 'C_2003_AV_0001');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-ZM-01', 45, 'C_2003_AV_0000');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0206');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0214');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0222');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0230');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0238');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0246');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0254');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0262');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0270');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0278');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0286');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0294');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0302');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0310');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0318');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0326');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0334');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0342');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0350');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2003_AV_0406');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2005_AV_0200');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2005_AV_0201');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2005_AV_0400');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2005_AV_0401');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 45, 'C_2006_AV_0000');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-01', 45, 'C_2003_AV_0002');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-01', 45, 'C_2003_AV_0003');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-01', 45, 'C_2003_AV_0005');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-01', 45, 'C_2003_AV_0006');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-01', 45, 'C_2003_AV_0600');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-01', 45, 'C_2003_AV_0601');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-01', 45, 'C_2003_AV_0603');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-01', 45, 'C_2003_AV_0604');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-AF-01', 45, 'C_2004_AV_0400');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0000');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0001');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0002');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0003');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0004');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0005');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0006');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0007');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0008');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0009');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0010');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0011');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-01', 70, 'C_2004_AV_0012');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-01', 70, 'C_2004_AV_0200');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-01', 70, 'C_2005_AV_0600');
+
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-KT-02', 45, 'C_1003_AV_0001');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-ZM-02', 45, 'C_1003_AV_0000');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0206');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0214');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0222');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0230');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0238');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0246');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0254');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0262');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0270');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0278');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0286');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0294');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0302');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0310');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0318');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0326');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0334');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0342');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0350');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1003_AV_0406');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1005_AV_0000');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1005_AV_0200');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1005_AV_0201');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1005_AV_0400');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1007_AV_0000');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 45, 'C_1007_AV_0200');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-02', 45, 'C_1003_AV_0600');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-02', 45, 'C_1003_AV_0601');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-02', 45, 'C_1003_AV_0602');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-02', 45, 'C_1003_AV_0603');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-02', 45, 'C_1003_AV_0604');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-AF-02', 45, 'C_1004_AV_0400');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0000');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0001');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0002');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0003');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0004');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0005');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0006');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0007');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0008');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0009');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0010');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0011');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-FW-02', 70, 'C_1004_AV_0012');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-02', 70, 'C_1004_AV_0200');
+INSERT INTO `adm_meter_boundary_rel` (`obj_type`, `boundary_obj`, `meter_cls`, `meter_device`) VALUES (2, 'Z-QT-02', 70, 'C_1005_AV_0600');
 
 -- 抄表demo数据
 INSERT INTO adm_meter_reading (`device_code`, `area_code`, `year`, `meter_month`, `last_reading`, `last_time`, `meter_reading`, `meter_time`, `increase`, `create_time`, `update_time`) VALUES ('J-D-B-101', '321283124S3001', '2024', '202401', 0, '2023-12-31', 100, '2024-01-31', 100, NULL, NULL);

+ 1 - 6
ems/sql/ems_server.sql

@@ -244,12 +244,7 @@ INSERT INTO `dim_ems_facs_subcategory` (`code`, `name`, `parent_code`, `desc`, `
 INSERT INTO `dim_ems_facs_subcategory` (`code`, `name`, `parent_code`, `desc`, `version`) VALUES ('Z030', '安防设施', 'Z', null, null);
 INSERT INTO `dim_ems_facs_subcategory` (`code`, `name`, `parent_code`, `desc`, `version`) VALUES ('Z040', '服务设施', 'Z', null, null);
 INSERT INTO `dim_ems_facs_subcategory` (`code`, `name`, `parent_code`, `desc`, `version`) VALUES ('Z999', '其他设施', 'Z', null, null);
-INSERT INTO `dim_ems_facs_subcategory` (`code`, `name`, `parent_code`, `desc`, `version`) VALUES ('Z101', '光储直柔', 'Z', null, null);
-INSERT INTO `dim_ems_facs_subcategory` (`code`, `name`, `parent_code`, `desc`, `version`) VALUES ('Z102', '光储充', 'Z', null, null);
-INSERT INTO `dim_ems_facs_subcategory` (`code`, `name`, `parent_code`, `desc`, `version`) VALUES ('Z103', '充电桩', 'Z', null, null);
-INSERT INTO `dim_ems_facs_subcategory` (`code`, `name`, `parent_code`, `desc`, `version`) VALUES ('Z105', '智慧海绵', 'Z', null, null);
-INSERT INTO `dim_ems_facs_subcategory` (`code`, `name`, `parent_code`, `desc`, `version`) VALUES ('Z106', '厨余垃圾', 'Z', null, null);
-INSERT INTO `dim_ems_facs_subcategory` (`code`, `name`, `parent_code`, `desc`, `version`) VALUES ('Z108', '对接设备', 'Z', null, null);
+
 
 -- ----------------------------
 -- 能源设备工艺标识维表