/*
 Navicat Premium Data Transfer

 Source Server         : 本地
 Source Server Type    : MySQL
 Source Server Version : 80033
 Source Host           : localhost:3306
 Source Schema         : dev_cloud_new

 Target Server Type    : MySQL
 Target Server Version : 80033
 File Encoding         : 65001

 Date: 31/01/2024 09:42:19
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for assistant_user_application
-- ----------------------------
DROP TABLE IF EXISTS `assistant_user_application`;
CREATE TABLE `assistant_user_application`  (
  `id` bigint(0) NOT NULL,
  `user_id` bigint(0) NOT NULL COMMENT '用户id',
  `tenant_id` bigint(0) NOT NULL COMMENT '租户id',
  `application_id` bigint(0) NOT NULL COMMENT '应用id',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '运维助手-用户应用运维权限关联表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of assistant_user_application
-- ----------------------------

-- ----------------------------
-- Table structure for dev_access_conf
-- ----------------------------
DROP TABLE IF EXISTS `dev_access_conf`;
CREATE TABLE `dev_access_conf`  (
  `id` bigint(0) NOT NULL COMMENT 'id',
  `access_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备id',
  `unique_code` tinyint(1) NOT NULL COMMENT '唯一性标识',
  `access_conf_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '配置名称',
  `access_conf_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '配置值',
  `access_conf_value_regular` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '配置值校验正则表达式',
  `access_conf_value_prompt` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '配置值校验提示语',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备接入配置表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_access_conf
-- ----------------------------

-- ----------------------------
-- Table structure for dev_beidou_queue
-- ----------------------------
DROP TABLE IF EXISTS `dev_beidou_queue`;
CREATE TABLE `dev_beidou_queue`  (
  `id` bigint(0) NOT NULL,
  `device_number` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `payload` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `protocol` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `function_code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `bei_dou_id` varchar(6) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `send_by_bei_dou` tinyint(1) UNSIGNED ZEROFILL NULL DEFAULT NULL,
  `retry_times` tinyint(1) NULL DEFAULT NULL,
  `send_status` tinyint(1) NULL DEFAULT NULL,
  `batch_number` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `serial_number` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `response_status` tinyint(0) NULL DEFAULT 0,
  `play_status` tinyint(0) NULL DEFAULT 0,
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_beidou_queue
-- ----------------------------

-- ----------------------------
-- Table structure for dev_bind_relation
-- ----------------------------
DROP TABLE IF EXISTS `dev_bind_relation`;
CREATE TABLE `dev_bind_relation`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `dev_id` bigint(0) NULL DEFAULT NULL COMMENT '设备id',
  `tenant_id` bigint(0) NULL DEFAULT NULL COMMENT '租户id',
  `server_code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务编码',
  `application_id` bigint(0) NULL DEFAULT NULL COMMENT '应用id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1690928946166718466 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备-应用-关联表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_bind_relation
-- ----------------------------

-- ----------------------------
-- Table structure for dev_cipher
-- ----------------------------
DROP TABLE IF EXISTS `dev_cipher`;
CREATE TABLE `dev_cipher`  (
  `id` bigint(0) NOT NULL,
  `rsa_private_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `rsa_public_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `rsa_public_key_md5` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `sm2_private_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `sm2_public_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `sm2_public_key_md5` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `device_sm2_public_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  `update_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_cipher
-- ----------------------------

-- ----------------------------
-- Table structure for dev_command_panel
-- ----------------------------
DROP TABLE IF EXISTS `dev_command_panel`;
CREATE TABLE `dev_command_panel`  (
  `id` bigint(0) NOT NULL COMMENT 'id',
  `protocol_kind` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '传输类协议/配置类协议 0/1',
  `protocol_id` bigint(0) NULL DEFAULT NULL COMMENT '协议id',
  `config_protocol_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '配置类协议id',
  `protocol_version_id` bigint(0) NULL DEFAULT NULL COMMENT '协议版本id',
  `command_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '指令名称',
  `command_identifier` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '指令标识符',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '指令面板名称',
  `command_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'json',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '说明',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `is_delete` tinyint(1) UNSIGNED ZEROFILL NULL DEFAULT 0 COMMENT '是否删除 0否1是',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '指令面板表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_command_panel
-- ----------------------------
INSERT INTO `dev_command_panel` VALUES (1734052155312939010, '0', 1734043640997453825, '', 1734043641060368386, '山洪预警', '8001', '山洪预警', '{\"column\":[{\"type\":\"input\",\"label\":\"指令标识符\",\"span\":24,\"display\":true,\"prop\":\"commandIdentifierParamCode\",\"readonly\":true,\"required\":true,\"rules\":[{\"required\":true,\"message\":\"指令标识符必须填写\"}],\"value\":\"8001\"},{\"type\":\"input\",\"label\":\"播放内容\",\"span\":24,\"display\":true,\"prop\":\"broadcastText\",\"required\":true,\"rules\":[{\"required\":true,\"message\":\"播放内容必须填写\"},{\"pattern\":\"^[一-龥A-Za-z0-9_,.!?[]|\';:<>/{}`。，！？]{1，512}+$\",\"message\":\"播放内容格式不匹配\"}]}],\"labelPosition\":\"right\",\"labelSuffix\":\"：\",\"labelWidth\":120,\"gutter\":0,\"menuBtn\":false,\"submitBtn\":false,\"submitText\":\"提交\",\"emptyBtn\":false,\"emptyText\":\"清空\",\"menuPosition\":\"center\"}', '', 1099, '2023-12-11 11:27:06', '2023-12-11 11:27:06', 0);
INSERT INTO `dev_command_panel` VALUES (1734052266562658305, '0', 1734043640997453825, '', 1734043641060368386, '播放MP3', '8101', '播放mp3', '{\"column\":[{\"type\":\"input\",\"label\":\"指令标识符\",\"span\":24,\"display\":true,\"prop\":\"commandIdentifierParamCode\",\"readonly\":true,\"required\":true,\"rules\":[{\"required\":true,\"message\":\"指令标识符必须填写\"}],\"value\":\"8101\"},{\"type\":\"input\",\"label\":\"歌曲名称\",\"span\":24,\"display\":true,\"prop\":\"songName\",\"required\":true,\"rules\":[{\"required\":true,\"message\":\"歌曲名称必须填写\"},{\"pattern\":\"^[0-9]{5}$\",\"message\":\"播放内容格式不匹配\"}]}],\"labelPosition\":\"right\",\"labelSuffix\":\"：\",\"labelWidth\":120,\"gutter\":0,\"menuBtn\":false,\"submitBtn\":false,\"submitText\":\"提交\",\"emptyBtn\":false,\"emptyText\":\"清空\",\"menuPosition\":\"center\"}', '', 1099, '2023-12-11 11:27:32', '2023-12-11 11:27:32', 0);
INSERT INTO `dev_command_panel` VALUES (1734052350926888961, '0', 1734043640997453825, '', 1734043641060368386, '停止播放MP3', '8102', '停止播放mp3', '{\"column\":[{\"type\":\"input\",\"label\":\"指令标识符\",\"span\":24,\"display\":true,\"prop\":\"commandIdentifierParamCode\",\"readonly\":true,\"required\":true,\"rules\":[{\"required\":true,\"message\":\"单行文本必须填写\"}],\"value\":\"8102\"}],\"labelPosition\":\"right\",\"labelSuffix\":\"：\",\"labelWidth\":120,\"gutter\":0,\"menuBtn\":false,\"submitBtn\":false,\"submitText\":\"提交\",\"emptyBtn\":false,\"emptyText\":\"清空\",\"menuPosition\":\"center\"}', '', 1099, '2023-12-11 11:27:52', '2023-12-11 11:27:52', 0);
INSERT INTO `dev_command_panel` VALUES (1734055796937695234, '0', 1734043470494801921, '', 1734043470645796866, '设置遥测站时钟', '4a', '设置遥测站时钟', '{\"column\":[{\"type\":\"input\",\"label\":\"指令标识符\",\"span\":24,\"display\":true,\"prop\":\"commandIdentifierParamCode\",\"readonly\":true,\"required\":true,\"rules\":[{\"required\":true,\"message\":\"单行文本必须填写\"}],\"value\":\"4a\"}],\"labelPosition\":\"right\",\"labelSuffix\":\"：\",\"labelWidth\":120,\"gutter\":0,\"menuBtn\":false,\"submitBtn\":false,\"submitText\":\"提交\",\"emptyBtn\":false,\"emptyText\":\"清空\",\"menuPosition\":\"center\"}', '', 1099, '2023-12-11 11:41:34', '2023-12-11 11:41:34', 0);
INSERT INTO `dev_command_panel` VALUES (1734055904370597889, '0', 1734043470494801921, '', 1734043470645796866, '远程重启', 'e6', '远程重启', '{\"column\":[{\"type\":\"input\",\"label\":\"指令标识符\",\"span\":24,\"display\":true,\"prop\":\"commandIdentifierParamCode\",\"readonly\":true,\"required\":true,\"rules\":[{\"required\":true,\"message\":\"单行文本必须填写\"}],\"value\":\"e6\"}],\"labelPosition\":\"right\",\"labelSuffix\":\"：\",\"labelWidth\":120,\"gutter\":0,\"menuBtn\":false,\"submitBtn\":false,\"submitText\":\"提交\",\"emptyBtn\":false,\"emptyText\":\"清空\",\"menuPosition\":\"center\"}', '', 1099, '2023-12-11 11:41:59', '2023-12-11 11:41:59', 0);
INSERT INTO `dev_command_panel` VALUES (1734055994548133890, '0', 1734043470494801921, '', 1734043470645796866, '读取用户余额', 'd2', '读取用户余额', '{\"column\":[{\"type\":\"input\",\"label\":\"指令标识符\",\"span\":24,\"display\":true,\"prop\":\"commandIdentifierParamCode\",\"readonly\":true,\"required\":true,\"rules\":[{\"required\":true,\"message\":\"单行文本必须填写\"}],\"value\":\"d2\"},{\"type\":\"input\",\"label\":\"用户卡号\",\"span\":24,\"display\":true,\"prop\":\"cardNumber\",\"required\":true,\"rules\":[{\"required\":true,\"message\":\"请填写用户卡号\"},{\"pattern\":\"[0-9]{8}$\",\"message\":\"8字节BCD码\"}]},{\"type\":\"input\",\"label\":\"查询类型\",\"span\":24,\"display\":true,\"prop\":\"queryType\",\"readonly\":true,\"required\":true,\"rules\":[{\"required\":true,\"message\":\"单行文本必须填写\"}],\"value\":\"01\"}],\"labelPosition\":\"right\",\"labelSuffix\":\"：\",\"labelWidth\":120,\"gutter\":0,\"menuBtn\":false,\"submitBtn\":false,\"submitText\":\"提交\",\"emptyBtn\":false,\"emptyText\":\"清空\",\"menuPosition\":\"center\"}', '', 1099, '2023-12-11 11:42:21', '2023-12-11 11:42:21', 0);
INSERT INTO `dev_command_panel` VALUES (1734061616882622466, '1', NULL, 'AT_1.0', NULL, '查询参数', 'AT+SHOW', '查询参数', '{\"column\":[{\"type\":\"input\",\"label\":\"指令标识符\",\"span\":24,\"display\":true,\"prop\":\"commandIdentifierParamCode\",\"readonly\":true,\"required\":true,\"rules\":[{\"required\":true,\"message\":\"单行文本必须填写\"}],\"value\":\"AT+SHOW\"}],\"labelPosition\":\"right\",\"labelSuffix\":\"：\",\"labelWidth\":120,\"gutter\":0,\"menuBtn\":false,\"submitBtn\":false,\"submitText\":\"提交\",\"emptyBtn\":false,\"emptyText\":\"清空\",\"menuPosition\":\"center\"}', '', 1099, '2023-12-11 12:04:41', '2023-12-11 12:04:41', 0);
INSERT INTO `dev_command_panel` VALUES (1734062003421290497, '1', NULL, 'AT_1.0', NULL, '设置调试等级', 'AT+DEBUG', '设置调试等级', '{\"column\":[{\"type\":\"input\",\"label\":\"指令标识符\",\"span\":24,\"display\":true,\"prop\":\"commandIdentifierParamCode\",\"readonly\":true,\"required\":true,\"rules\":[{\"required\":true,\"message\":\"单行文本必须填写\"}],\"value\":\"AT+DEBUG\"},{\"type\":\"select\",\"label\":\"调试等级\",\"dicData\":[{\"label\":\"无输出调试信息\",\"value\":\"0\"},{\"label\":\"错误信息\",\"value\":\"1\"},{\"label\":\"警告信息\",\"value\":\"2\"},{\"label\":\"主要信息\",\"value\":\"3\"},{\"label\":\"详细信息\",\"value\":\"4\"}],\"span\":24,\"display\":true,\"props\":{\"label\":\"label\",\"value\":\"value\",\"desc\":\"desc\"},\"prop\":\"level\",\"cascader\":[],\"required\":true,\"rules\":[{\"required\":true,\"message\":\"下拉选择器必须填写\"}],\"filterable\":false,\"clearable\":true}],\"labelPosition\":\"right\",\"labelSuffix\":\"：\",\"labelWidth\":120,\"gutter\":0,\"menuBtn\":false,\"submitBtn\":false,\"submitText\":\"提交\",\"emptyBtn\":false,\"emptyText\":\"清空\",\"menuPosition\":\"center\"}', '', 1099, '2023-12-11 12:06:14', '2023-12-11 12:06:14', 0);
INSERT INTO `dev_command_panel` VALUES (1734062107922374658, '1', NULL, 'AT_1.0', NULL, '设置工作模式', 'AT+MOD', '设置工作模式', '{\"column\":[{\"type\":\"input\",\"label\":\"指令标识符\",\"span\":24,\"display\":true,\"prop\":\"commandIdentifierParamCode\",\"readonly\":true,\"required\":true,\"rules\":[{\"required\":true,\"message\":\"单行文本必须填写\"}],\"value\":\"AT+MOD\"},{\"type\":\"select\",\"label\":\"调试等级\",\"dicData\":[{\"label\":\"自报-定时休眠\",\"value\":\"0\"},{\"label\":\"兼容\",\"value\":\"1\"}],\"span\":24,\"display\":true,\"props\":{\"label\":\"label\",\"value\":\"value\",\"desc\":\"desc\"},\"prop\":\"mod\",\"cascader\":[],\"required\":true,\"rules\":[{\"required\":true,\"message\":\"下拉选择器必须填写\"}],\"filterable\":false,\"clearable\":true}],\"labelPosition\":\"right\",\"labelSuffix\":\"：\",\"labelWidth\":120,\"gutter\":0,\"menuBtn\":false,\"submitBtn\":false,\"submitText\":\"提交\",\"emptyBtn\":false,\"emptyText\":\"清空\",\"menuPosition\":\"center\"}', '', 1099, '2023-12-11 12:06:39', '2023-12-11 12:06:39', 0);
INSERT INTO `dev_command_panel` VALUES (1734062297131622401, '1', NULL, 'AT_1.0', NULL, '配置设备SN编号', 'AT+DEVSN', '配置设备SN号', '{\"column\":[{\"type\":\"input\",\"label\":\"指令标识符\",\"span\":24,\"display\":true,\"prop\":\"commandIdentifierParamCode\",\"readonly\":true,\"required\":true,\"rules\":[{\"required\":true,\"message\":\"单行文本必须填写\"}],\"value\":\"AT+DEVSN\"},{\"type\":\"input\",\"label\":\"设备SN编号\",\"span\":24,\"display\":true,\"prop\":\"sn\",\"required\":true,\"rules\":[{\"required\":true,\"message\":\"请填写设备SN号\"},{\"pattern\":\"^[^一-龥]{0,}$\",\"message\":\"请填写非中文字符\"}]}],\"labelPosition\":\"right\",\"labelSuffix\":\"：\",\"labelWidth\":120,\"gutter\":0,\"menuBtn\":false,\"submitBtn\":false,\"submitText\":\"提交\",\"emptyBtn\":false,\"emptyText\":\"清空\",\"menuPosition\":\"center\"}', '', 1099, '2023-12-11 12:07:24', '2023-12-11 12:07:24', 0);

-- ----------------------------
-- Table structure for dev_command_task
-- ----------------------------
DROP TABLE IF EXISTS `dev_command_task`;
CREATE TABLE `dev_command_task`  (
  `id` bigint(0) NOT NULL COMMENT 'id',
  `access_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备接入id',
  `sn` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备sn',
  `command_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '指令名称',
  `command_identifier` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '指令标识符',
  `command_panel_id` bigint(0) NOT NULL COMMENT '指令面板id',
  `command_params` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '指令参数',
  `status` tinyint(1) NOT NULL COMMENT '执行状态 0未执行 1已执行 2已终止',
  `issue_time` datetime(0) NULL DEFAULT NULL COMMENT '下发时间',
  `result_time` datetime(0) NULL DEFAULT NULL COMMENT '结果返回时间',
  `result_code` tinyint(1) NULL DEFAULT NULL COMMENT '执行结果状态 0失败 1成功',
  `result_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '执行结果',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '说明',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `type` tinyint(1) NOT NULL DEFAULT 0 COMMENT '指令任务类型: 0指令面板任务 1指令缓存任务',
  `route` tinyint(1) NOT NULL COMMENT '下发通道: 0传输通道， 1配置通道',
  `conf_protocol` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '配置协议版本号, 指令任务类型为指令缓存任务时需要记录',
  `application_id` bigint(0) NULL DEFAULT NULL COMMENT '应用id',
  `creator_from` tinyint(0) NULL DEFAULT 0 COMMENT '创建者来源:0设备管家 1运维助手',
  `tenant_id` bigint(0) NULL DEFAULT NULL COMMENT '创建者租户id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '指令任务表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_command_task
-- ----------------------------

-- ----------------------------
-- Table structure for dev_file_info
-- ----------------------------
DROP TABLE IF EXISTS `dev_file_info`;
CREATE TABLE `dev_file_info`  (
  `id` bigint(0) NOT NULL COMMENT 'id',
  `device_id` bigint(0) NULL DEFAULT NULL COMMENT '设备id',
  `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件地址',
  `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件名称',
  `file_size` bigint(0) NULL DEFAULT NULL COMMENT '文件大小',
  `tenant_id` bigint(0) NULL DEFAULT NULL COMMENT '所属租户',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `unique_index_file_path`(`file_path`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备上传文件信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_file_info
-- ----------------------------

-- ----------------------------
-- Table structure for dev_info
-- ----------------------------
DROP TABLE IF EXISTS `dev_info`;
CREATE TABLE `dev_info`  (
  `id` bigint(0) NOT NULL COMMENT 'id',
  `sn` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备sn, 内部配置协议的设备唯一标识',
  `access_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备接入id, 消息协议的设备唯一标识',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `template_id` bigint(0) NULL DEFAULT NULL COMMENT '设备模板id',
  `tenant_id` bigint(0) NULL DEFAULT NULL COMMENT '所属租户',
  `location_json` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '位置json',
  `online` tinyint(1) NULL DEFAULT NULL COMMENT '设备在线状态(0-离线,1-在线)',
  `online_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备在线ID',
  `online_change_time` datetime(0) NULL DEFAULT NULL COMMENT '状态变更时间',
  `firmware_ver` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '固件版本',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `dev_picture` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备图片',
  `big_dipper_num` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '北斗卡',
  `product_id` bigint(0) NULL DEFAULT NULL COMMENT '产品id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_info
-- ----------------------------

-- ----------------------------
-- Table structure for dev_log
-- ----------------------------
DROP TABLE IF EXISTS `dev_log`;
CREATE TABLE `dev_log`  (
  `id` int(0) NOT NULL AUTO_INCREMENT,
  `dev_id` bigint(0) NULL DEFAULT NULL COMMENT '设备id',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '操作人',
  `log_type` int(0) NULL DEFAULT NULL COMMENT '日志类型',
  `log_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '日志内容',
  `month` int(0) NULL DEFAULT NULL COMMENT '年月',
  `log_time` datetime(0) NULL DEFAULT NULL COMMENT '日志时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '入库时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备日志' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_log
-- ----------------------------

-- ----------------------------
-- Table structure for dev_log_record
-- ----------------------------
DROP TABLE IF EXISTS `dev_log_record`;
CREATE TABLE `dev_log_record`  (
  `id` int(0) NOT NULL AUTO_INCREMENT,
  `dev_id` bigint(0) NULL DEFAULT NULL COMMENT '设备id',
  `log_type` int(0) NULL DEFAULT NULL COMMENT '日志类型',
  `log_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '日志内容',
  `month` int(0) NULL DEFAULT NULL COMMENT '年月',
  `log_time` datetime(0) NULL DEFAULT NULL COMMENT '日志时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '入库时间',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `dev_id_index`(`dev_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备日志' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_log_record
-- ----------------------------

-- ----------------------------
-- Table structure for dev_packet
-- ----------------------------
DROP TABLE IF EXISTS `dev_packet`;
CREATE TABLE `dev_packet`  (
  `id` bigint(0) NOT NULL,
  `access_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备接入id',
  `dev_sn` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备序列号',
  `dev_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `packet_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '报文名称',
  `packet_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '报文内容',
  `report_time` datetime(0) NULL DEFAULT NULL COMMENT '报文采集时间',
  `product_id` bigint(0) NULL DEFAULT NULL COMMENT '产品id',
  `product_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '产品名称',
  `protocol_id` bigint(0) NULL DEFAULT NULL COMMENT '协议id',
  `protocol_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '协议名称',
  `tenant_id` bigint(0) NULL DEFAULT NULL COMMENT '租户id',
  `tenant_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '租户名称',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `function_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '功能码',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `dev_id_index`(`access_id`) USING BTREE,
  INDEX `dev_sn_index`(`dev_sn`) USING BTREE,
  INDEX `report_time_index`(`report_time`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备原始报文表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_packet
-- ----------------------------

-- ----------------------------
-- Table structure for dev_product
-- ----------------------------
DROP TABLE IF EXISTS `dev_product`;
CREATE TABLE `dev_product`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `product_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '产品名称',
  `product_code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '产品型号',
  `product_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '产品类型',
  `industry` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属行业',
  `config_protocol_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '产品使用的配置类协议唯一标识',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '产品说明',
  `pic_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '产品图片',
  `status` tinyint(1) NULL DEFAULT NULL COMMENT '状态(0-未发布,1-已发布)',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1732286658678706178 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '产品信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_product
-- ----------------------------
INSERT INTO `dev_product` VALUES (1592491573452500994, '遥测终端', 'F9164', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2022-11-15 20:15:53', '2023-12-11 14:20:40');
INSERT INTO `dev_product` VALUES (1592721290206146561, '多通道数据采集仪', 'F9164-DZ', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2022-11-16 11:28:42', '2023-12-11 14:20:15');
INSERT INTO `dev_product` VALUES (1592821339577675777, 'GNSS 接收机', 'F-DW100', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2022-11-16 18:06:15', '2022-11-16 18:06:15');
INSERT INTO `dev_product` VALUES (1604673930284523522, '管网遥测终端', 'F9164-LP100', 'RTU', '水务', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2022-12-19 11:04:13', '2023-12-11 14:12:16');
INSERT INTO `dev_product` VALUES (1628240876602040322, '高精度GNSS接收机', 'F-DW100-h', 'DTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-02-22 11:50:51', '2023-12-11 15:06:34');
INSERT INTO `dev_product` VALUES (1630856277442715650, '24G雷达流量计', 'F-LL100_V3', '传感器', '物联网', NULL, '', '/default/noimg.png', 1, 1099, '2023-03-01 17:03:31', '2023-03-01 17:03:31');
INSERT INTO `dev_product` VALUES (1632665299212853250, '遥测终端机F9164A', 'F9164A_V3', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-03-06 16:51:55', '2023-12-11 15:08:47');
INSERT INTO `dev_product` VALUES (1632667789471801346, '遥测终端机F9164N', 'F9164N_V3', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-03-06 17:01:49', '2023-12-11 14:09:58');
INSERT INTO `dev_product` VALUES (1632668558044454913, '触摸屏环保数采仪', 'F-HJ100_V3', 'RTU', '物联网', NULL, '', '/default/noimg.png', 1, 1099, '2023-03-06 17:04:52', '2023-03-07 14:36:04');
INSERT INTO `dev_product` VALUES (1632675581431668738, '环保数采仪', 'F-HJ110_V3', 'RTU', '物联网', NULL, '', '/default/noimg.png', 1, 1099, '2023-03-06 17:32:47', '2023-03-07 14:35:54');
INSERT INTO `dev_product` VALUES (1632675788131164162, '北斗三代双模通信终端机BD300', 'F9164-BD300', 'DTU', '物联网', NULL, '', '/default/noimg.png', 1, 1099, '2023-03-06 17:33:36', '2023-03-07 14:35:49');
INSERT INTO `dev_product` VALUES (1632675892313481217, '北斗三代双模通信终端机', 'F9164-BD305', 'RTU', '物联网', NULL, '', '/default/noimg.png', 1, 1099, '2023-03-06 17:34:01', '2023-03-07 14:35:44');
INSERT INTO `dev_product` VALUES (1632676789475106817, '遥测终端机F9164-M', 'F9164-M_V2', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-03-06 17:37:35', '2023-12-11 15:09:07');
INSERT INTO `dev_product` VALUES (1632677069608476673, '多通道数据采集仪DZ200', 'F9164-DZ200', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-03-06 17:38:42', '2023-12-11 14:19:28');
INSERT INTO `dev_product` VALUES (1632677201955545089, '高防护多通道数据采集仪', 'F9164-DZ201', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-03-06 17:39:13', '2023-12-11 15:09:27');
INSERT INTO `dev_product` VALUES (1632677336341045249, '智能机井控制器', 'F-JC100_V2', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-03-06 17:39:45', '2023-03-07 14:35:00');
INSERT INTO `dev_product` VALUES (1632677427135143938, '超声波箱式明渠流量计', 'F-ICL100', '传感器', '物联网', NULL, '', '/default/noimg.png', 1, 1099, '2023-03-06 17:40:07', '2023-03-07 14:34:55');
INSERT INTO `dev_product` VALUES (1632996309255348225, '24G毫米波雷达水位计', 'F-LD100_V3', '传感器', '物联网', NULL, '', '/default/noimg.png', 1, 1099, '2023-03-07 14:47:14', '2023-03-07 14:47:14');
INSERT INTO `dev_product` VALUES (1632996455607197697, '24G毫米波雷达流速计', 'F-LS100_V3', '传感器', '物联网', NULL, '', '/default/noimg.png', 1, 1099, '2023-03-07 14:47:49', '2023-03-07 14:47:49');
INSERT INTO `dev_product` VALUES (1632996606644084737, '77G毫米波雷达流量计', 'F-LL100-77G_V2', '传感器', '物联网', NULL, '', '/default/noimg.png', 1, 1099, '2023-03-07 14:48:25', '2023-03-07 14:48:25');
INSERT INTO `dev_product` VALUES (1632996774164586498, '77G毫米波雷达水位计', 'F-LD100-77G_V2', '传感器', '物联网', NULL, '', '/default/noimg.png', 1, 1099, '2023-03-07 14:49:05', '2023-03-07 14:49:05');
INSERT INTO `dev_product` VALUES (1654755352655192065, '入户报警器', 'F9103-205', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-05-06 15:49:55', '2023-12-11 14:18:21');
INSERT INTO `dev_product` VALUES (1658393968807796737, '遥测终端机', 'F9164_V3', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-05-16 16:48:28', '2023-12-11 14:09:28');
INSERT INTO `dev_product` VALUES (1664168463397052418, '视频遥测终端机', 'F9164-V200', 'RTU', '物联网', 'AT_1.0', 'F9164-V200', '/default/noimg.png', 1, 1099, '2023-06-01 15:14:15', '2023-12-11 14:12:47');
INSERT INTO `dev_product` VALUES (1679677823455879170, '小广播V2', 'F9103D-15X_V2', '广播', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-07-14 10:22:55', '2023-12-11 14:15:23');
INSERT INTO `dev_product` VALUES (1679700269684776962, '大广播V2', 'F9103X-100_V2', '广播', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-07-14 11:52:06', '2023-12-11 14:15:15');
INSERT INTO `dev_product` VALUES (1681101976310403073, '通用监测平台广播', 'F9103', '广播', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-07-18 08:41:59', '2023-12-11 15:09:48');
INSERT INTO `dev_product` VALUES (1727860909225824257, '管网遥测终端V2', 'F9164-LP100_V2', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-11-24 09:25:18', '2023-12-11 14:12:26');
INSERT INTO `dev_product` VALUES (1732286658678706177, 'F9164-A遥测', 'F9164-A', 'RTU', '物联网', 'AT_1.0', '', '/default/noimg.png', 1, 1099, '2023-12-06 14:31:38', '2023-12-11 14:15:48');

-- ----------------------------
-- Table structure for dev_product_command_pannel_conf
-- ----------------------------
DROP TABLE IF EXISTS `dev_product_command_pannel_conf`;
CREATE TABLE `dev_product_command_pannel_conf`  (
  `id` bigint(0) NOT NULL,
  `product_id` bigint(0) NOT NULL COMMENT '产品id',
  `command_pannel_id` bigint(0) NOT NULL COMMENT '指令面板id',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  `create_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '产品绑定的指令面板关系表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_product_command_pannel_conf
-- ----------------------------
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093016876818433, 1658393968807796737, 1734061616882622466, 1099, '2023-12-11 14:09:28');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093016876818434, 1658393968807796737, 1734062003421290497, 1099, '2023-12-11 14:09:28');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093016876818435, 1658393968807796737, 1734062107922374658, 1099, '2023-12-11 14:09:28');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093016876818436, 1658393968807796737, 1734062297131622401, 1099, '2023-12-11 14:09:28');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093142517194753, 1632667789471801346, 1734061616882622466, 1099, '2023-12-11 14:09:58');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093142517194754, 1632667789471801346, 1734062003421290497, 1099, '2023-12-11 14:09:58');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093142517194755, 1632667789471801346, 1734062107922374658, 1099, '2023-12-11 14:09:58');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093142517194756, 1632667789471801346, 1734062297131622401, 1099, '2023-12-11 14:09:58');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093721939320833, 1604673930284523522, 1734061616882622466, 1099, '2023-12-11 14:12:16');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093721939320834, 1604673930284523522, 1734062003421290497, 1099, '2023-12-11 14:12:16');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093721939320835, 1604673930284523522, 1734062107922374658, 1099, '2023-12-11 14:12:16');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093721939320836, 1604673930284523522, 1734062297131622401, 1099, '2023-12-11 14:12:16');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093765094514689, 1727860909225824257, 1734061616882622466, 1099, '2023-12-11 14:12:26');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093765094514690, 1727860909225824257, 1734062003421290497, 1099, '2023-12-11 14:12:26');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093765094514691, 1727860909225824257, 1734062107922374658, 1099, '2023-12-11 14:12:26');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093765094514692, 1727860909225824257, 1734062297131622401, 1099, '2023-12-11 14:12:26');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093853778878465, 1664168463397052418, 1734061616882622466, 1099, '2023-12-11 14:12:47');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093853778878466, 1664168463397052418, 1734062003421290497, 1099, '2023-12-11 14:12:47');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093853778878467, 1664168463397052418, 1734062107922374658, 1099, '2023-12-11 14:12:47');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734093853778878468, 1664168463397052418, 1734062297131622401, 1099, '2023-12-11 14:12:47');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734094473919307778, 1679700269684776962, 1734061616882622466, 1099, '2023-12-11 14:15:15');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734094473919307779, 1679700269684776962, 1734062003421290497, 1099, '2023-12-11 14:15:15');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734094473919307780, 1679700269684776962, 1734062297131622401, 1099, '2023-12-11 14:15:15');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734094505183649794, 1679677823455879170, 1734061616882622466, 1099, '2023-12-11 14:15:23');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734094505183649795, 1679677823455879170, 1734062003421290497, 1099, '2023-12-11 14:15:23');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734094505183649796, 1679677823455879170, 1734062297131622401, 1099, '2023-12-11 14:15:23');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734094612633329665, 1732286658678706177, 1734061616882622466, 1099, '2023-12-11 14:15:48');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734094612633329666, 1732286658678706177, 1734062003421290497, 1099, '2023-12-11 14:15:48');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734094612633329667, 1732286658678706177, 1734062107922374658, 1099, '2023-12-11 14:15:48');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734094612633329668, 1732286658678706177, 1734062297131622401, 1099, '2023-12-11 14:15:48');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095252101111809, 1654755352655192065, 1734061616882622466, 1099, '2023-12-11 14:18:21');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095252101111811, 1654755352655192065, 1734062003421290497, 1099, '2023-12-11 14:18:21');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095252101111812, 1654755352655192065, 1734062107922374658, 1099, '2023-12-11 14:18:21');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095252101111813, 1654755352655192065, 1734062297131622401, 1099, '2023-12-11 14:18:21');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095535531204609, 1632677069608476673, 1734061616882622466, 1099, '2023-12-11 14:19:28');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095535531204610, 1632677069608476673, 1734062003421290497, 1099, '2023-12-11 14:19:28');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095535531204611, 1632677069608476673, 1734062107922374658, 1099, '2023-12-11 14:19:28');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095535531204612, 1632677069608476673, 1734062297131622401, 1099, '2023-12-11 14:19:28');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095730889302018, 1592721290206146561, 1734061616882622466, 1099, '2023-12-11 14:20:15');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095730889302019, 1592721290206146561, 1734062003421290497, 1099, '2023-12-11 14:20:15');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095730889302020, 1592721290206146561, 1734062107922374658, 1099, '2023-12-11 14:20:15');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095730889302021, 1592721290206146561, 1734062297131622401, 1099, '2023-12-11 14:20:15');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095836535431170, 1592491573452500994, 1734061616882622466, 1099, '2023-12-11 14:20:40');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095836535431171, 1592491573452500994, 1734062003421290497, 1099, '2023-12-11 14:20:40');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095836535431172, 1592491573452500994, 1734062107922374658, 1099, '2023-12-11 14:20:40');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734095836535431174, 1592491573452500994, 1734062297131622401, 1099, '2023-12-11 14:20:40');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734107387317297153, 1628240876602040322, 1734061616882622466, 1099, '2023-12-11 15:06:34');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734107947055554562, 1632665299212853250, 1734061616882622466, 1099, '2023-12-11 15:08:47');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734107947055554563, 1632665299212853250, 1734062003421290497, 1099, '2023-12-11 15:08:47');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734107947055554564, 1632665299212853250, 1734062107922374658, 1099, '2023-12-11 15:08:47');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734107947055554565, 1632665299212853250, 1734062297131622401, 1099, '2023-12-11 15:08:47');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734108028014010370, 1632676789475106817, 1734061616882622466, 1099, '2023-12-11 15:09:07');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734108028076924929, 1632676789475106817, 1734062003421290497, 1099, '2023-12-11 15:09:07');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734108028076924930, 1632676789475106817, 1734062107922374658, 1099, '2023-12-11 15:09:07');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734108028076924931, 1632676789475106817, 1734062297131622401, 1099, '2023-12-11 15:09:07');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734108114580250625, 1632677201955545089, 1734061616882622466, 1099, '2023-12-11 15:09:27');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734108114580250626, 1632677201955545089, 1734062003421290497, 1099, '2023-12-11 15:09:27');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734108114580250627, 1632677201955545089, 1734062107922374658, 1099, '2023-12-11 15:09:27');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734108114580250628, 1632677201955545089, 1734062297131622401, 1099, '2023-12-11 15:09:27');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734108200940969985, 1681101976310403073, 1734061616882622466, 1099, '2023-12-11 15:09:48');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734108200940969986, 1681101976310403073, 1734062003421290497, 1099, '2023-12-11 15:09:48');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734108200940969987, 1681101976310403073, 1734062107922374658, 1099, '2023-12-11 15:09:48');
INSERT INTO `dev_product_command_pannel_conf` VALUES (1734108200940969988, 1681101976310403073, 1734062297131622401, 1099, '2023-12-11 15:09:48');

-- ----------------------------
-- Table structure for dev_protocol
-- ----------------------------
DROP TABLE IF EXISTS `dev_protocol`;
CREATE TABLE `dev_protocol`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '协议名称',
  `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '协议类型',
  `version` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '最新版本号',
  `protocol_version_id` bigint(0) NULL DEFAULT NULL COMMENT '最新协议版本号id',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '协议说明',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1734043887630917634 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '协议信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_protocol
-- ----------------------------
INSERT INTO `dev_protocol` VALUES (1734041806035550209, '水文协议', 'hydrological', '1.0.0', 1734041806111047681, '', 1099, '2023-12-11 10:45:58', '2023-12-11 10:45:58');
INSERT INTO `dev_protocol` VALUES (1734043470494801921, 'JC100协议', 'jc100', '1.0.0', 1734043470645796866, '', 1099, '2023-12-11 10:52:35', '2023-12-11 10:52:35');
INSERT INTO `dev_protocol` VALUES (1734043640997453825, '新广播协议', 'sx-broadcast-update', '1.0.0', 1734043641060368386, '', 1099, '2023-12-11 10:53:16', '2023-12-11 10:53:15');
INSERT INTO `dev_protocol` VALUES (1734043887630917633, 'GNSS协议', 'gnss', '1.0.0', 1734043887630917634, '', 1099, '2023-12-11 10:54:14', '2023-12-11 10:54:14');

-- ----------------------------
-- Table structure for dev_protocol_version
-- ----------------------------
DROP TABLE IF EXISTS `dev_protocol_version`;
CREATE TABLE `dev_protocol_version`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `protocol_id` bigint(0) NOT NULL COMMENT '协议id',
  `version` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '版本号',
  `status` tinyint(1) NULL DEFAULT NULL COMMENT '协议状态(0-未发布,1-已发布)',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '协议说明',
  `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '协议文件路径',
  `content` json NULL COMMENT '协议内容',
  `factor_content` json NULL COMMENT '要素内容',
  `command_content` json NULL COMMENT '采集指令内容',
  `config_command_content` json NULL COMMENT '配置指令内容',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1734043887630917635 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '协议历史版本表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_protocol_version
-- ----------------------------
INSERT INTO `dev_protocol_version` VALUES (1734041806111047681, 1734041806035550209, '1.0.0', 1, '', NULL, '{\"factors\": [{\"name\": \"观测时间\", \"unit\": \"\", \"guideCode\": \"F0\", \"expression\": \"TP(10,yyMMddHHmm,yyyy-MM-dd HH:mm)\", \"identifier\": \"tt\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": false}, {\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": false}, {\"name\": \"1小时内每5分钟时段雨量\", \"unit\": \"0.1mm\", \"guideCode\": \"F4\", \"expression\": \"A(HN(2),12)\", \"identifier\": \"drp\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": false}, {\"name\": \"1小时内5分钟间隔相对水位1\", \"unit\": \"0.01m\", \"guideCode\": \"F5\", \"expression\": \"A(HN(4),12)\", \"identifier\": \"drz1\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": false}, {\"name\": \"1小时内5分钟间隔相对水位2\", \"unit\": \"0.01m\", \"guideCode\": \"F6\", \"expression\": \"A(HN(4),12)\", \"identifier\": \"drz2\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": false}, {\"name\": \"1小时内5分钟间隔相对水位3\", \"unit\": \"0.01m\", \"guideCode\": \"F7\", \"expression\": \"A(HN(4),12)\", \"identifier\": \"drz3\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": false}, {\"name\": \"1小时内5分钟间隔相对水位4\", \"unit\": \"0.01m\", \"guideCode\": \"F8\", \"expression\": \"A(HN(4),12)\", \"identifier\": \"drz4\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": false}, {\"name\": \"1小时内5分钟间隔相对水位5\", \"unit\": \"0.01m\", \"guideCode\": \"F9\", \"expression\": \"A(HN(4),12)\", \"identifier\": \"drz5\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": false}, {\"name\": \"1小时内5分钟间隔相对水位6\", \"unit\": \"0.01m\", \"guideCode\": \"FA\", \"expression\": \"A(HN(4),12)\", \"identifier\": \"drz6\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": false}, {\"name\": \"1小时内5分钟间隔相对水位7\", \"unit\": \"0.01m\", \"guideCode\": \"FB\", \"expression\": \"A(HN(4),12)\", \"identifier\": \"drz7\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": false}, {\"name\": \"1小时内5分钟间隔相对水位8\", \"unit\": \"0.01m\", \"guideCode\": \"FC\", \"expression\": \"A(HN(4),12)\", \"identifier\": \"drz8\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": false}, {\"name\": \"断面面积\", \"unit\": \"m²\", \"guideCode\": \"01\", \"expression\": \"N(20,2)\", \"identifier\": \"ac\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"瞬时气温\", \"unit\": \"℃\", \"guideCode\": \"02\", \"expression\": \"N(6,1)\", \"identifier\": \"ai\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"瞬时水温\", \"unit\": \"℃\", \"guideCode\": \"03\", \"expression\": \"N(6,1)\", \"identifier\": \"c\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"时间步长码\", \"unit\": \"\", \"guideCode\": \"04\", \"expression\": \"N(6)\", \"identifier\": \"drxnn\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"时段长,降水、引排水、抽水历时\", \"unit\": \"h.m\", \"guideCode\": \"05\", \"expression\": \"S(2.1)\", \"identifier\": \"dt\", \"prefixLength\": 0, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"日蒸发量\", \"unit\": \"mm\", \"guideCode\": \"06\", \"expression\": \"N(10,1)\", \"identifier\": \"ed\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"当前蒸发\", \"unit\": \"mm\", \"guideCode\": \"07\", \"expression\": \"N(10,1)\", \"identifier\": \"ej\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"气压\", \"unit\": \"hPa\", \"guideCode\": \"08\", \"expression\": \"N(10)\", \"identifier\": \"fl\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"闸坝、水库闸门开启高度\", \"unit\": \"m\", \"guideCode\": \"09\", \"expression\": \"N(10,1)\", \"identifier\": \"gh\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"输水设备、闸门(组)编号\", \"unit\": \"\", \"guideCode\": \"0A\", \"expression\": \"N(6)\", \"identifier\": \"gn\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"输水设备类别\", \"unit\": \"\", \"guideCode\": \"0B\", \"expression\": \"S(2)\", \"identifier\": \"gs\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水库、闸坝闸门开启孔数\", \"unit\": \"孔\", \"guideCode\": \"0C\", \"expression\": \"N(6)\", \"identifier\": \"gt\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"地温 \", \"unit\": \"℃\", \"guideCode\": \"0D\", \"expression\": \"N(6,1)\", \"identifier\": \"gtp\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"地下水瞬时埋深 \", \"unit\": \"m\", \"guideCode\": \"0E\", \"expression\": \"N(12,2)\", \"identifier\": \"h\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"波浪高度 \", \"unit\": \"m\", \"guideCode\": \"0F\", \"expression\": \"N(10,2)\", \"identifier\": \"hw\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"10cm处土壤含水量\", \"unit\": \"%\", \"guideCode\": \"10\", \"expression\": \"N(8,1)\", \"identifier\": \"m10\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"20cm处土壤含水量\", \"unit\": \"%\", \"guideCode\": \"11\", \"expression\": \"N(8,1)\", \"identifier\": \"m20\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"30cm处土壤含水量\", \"unit\": \"%\", \"guideCode\": \"12\", \"expression\": \"N(8,1)\", \"identifier\": \"m30\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"40cm处土壤含水量\", \"unit\": \"%\", \"guideCode\": \"13\", \"expression\": \"N(8,1)\", \"identifier\": \"m40\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"50cm处土壤含水量\", \"unit\": \"%\", \"guideCode\": \"14\", \"expression\": \"N(8,1)\", \"identifier\": \"m50\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"60cm处土壤含水量\", \"unit\": \"%\", \"guideCode\": \"15\", \"expression\": \"N(8,1)\", \"identifier\": \"m60\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"80cm处土壤含水量\", \"unit\": \"%\", \"guideCode\": \"16\", \"expression\": \"N(8,1)\", \"identifier\": \"m80\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"100cm处土壤含水量\", \"unit\": \"%\", \"guideCode\": \"17\", \"expression\": \"N(8,1)\", \"identifier\": \"m100\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"湿度\", \"unit\": \"%\", \"guideCode\": \"18\", \"expression\": \"N(8,1)\", \"identifier\": \"mst\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"开机台数\", \"unit\": \"台\", \"guideCode\": \"19\", \"expression\": \"N(4)\", \"identifier\": \"ns\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"1小时时段降水量\", \"unit\": \"mm\", \"guideCode\": \"1A\", \"expression\": \"N(10,1)\", \"identifier\": \"p1\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"2小时时段降水量\", \"unit\": \"mm\", \"guideCode\": \"1B\", \"expression\": \"N(10,1)\", \"identifier\": \"p2\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"3小时时段降水量\", \"unit\": \"mm\", \"guideCode\": \"1C\", \"expression\": \"N(10,1)\", \"identifier\": \"p3\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"6小时时段降水量\", \"unit\": \"mm\", \"guideCode\": \"1D\", \"expression\": \"N(10,1)\", \"identifier\": \"p6\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"12小时时段降水量\", \"unit\": \"mm\", \"guideCode\": \"1E\", \"expression\": \"N(10,1)\", \"identifier\": \"p12\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"日降水量\", \"unit\": \"mm\", \"guideCode\": \"1F\", \"expression\": \"N(10,1)\", \"identifier\": \"pd\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"当前降水量\", \"unit\": \"mm\", \"guideCode\": \"20\", \"expression\": \"N(10,1)\", \"identifier\": \"pj\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"1分钟时段降水量\", \"unit\": \"mm\", \"guideCode\": \"21\", \"expression\": \"N(10,1)\", \"identifier\": \"pn01\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"5分钟时段降水量\", \"unit\": \"mm\", \"guideCode\": \"22\", \"expression\": \"N(10,1)\", \"identifier\": \"pn05\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"10分钟时段降水量\", \"unit\": \"mm\", \"guideCode\": \"23\", \"expression\": \"N(10,1)\", \"identifier\": \"pn10\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"30分钟时段降水量\", \"unit\": \"mm\", \"guideCode\": \"24\", \"expression\": \"N(10,1)\", \"identifier\": \"pn30\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"暴雨量\", \"unit\": \"mm\", \"guideCode\": \"25\", \"expression\": \"N(10,1)\", \"identifier\": \"pr\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"降水量累计值 \", \"unit\": \"mm\", \"guideCode\": \"26\", \"expression\": \"N(12,1)\", \"identifier\": \"pt\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"瞬时流量、抽水流量\", \"unit\": \"m³/s\", \"guideCode\": \"27\", \"expression\": \"N(18,3)\", \"identifier\": \"q\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口流量1\", \"unit\": \"m³/s\", \"guideCode\": \"28\", \"expression\": \"N(18,3)\", \"identifier\": \"q1\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口流量2\", \"unit\": \"m³/s\", \"guideCode\": \"29\", \"expression\": \"N(18,3)\", \"identifier\": \"q2\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口流量3\", \"unit\": \"m³/s\", \"guideCode\": \"2A\", \"expression\": \"N(18,3)\", \"identifier\": \"q3\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口流量4\", \"unit\": \"m³/s\", \"guideCode\": \"2B\", \"expression\": \"N(18,3)\", \"identifier\": \"q4\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口流量5\", \"unit\": \"m³/s\", \"guideCode\": \"2C\", \"expression\": \"N(18,3)\", \"identifier\": \"q5\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口流量6\", \"unit\": \"m³/s\", \"guideCode\": \"2D\", \"expression\": \"N(18,3)\", \"identifier\": \"q6\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口流量7\", \"unit\": \"m³/s\", \"guideCode\": \"2E\", \"expression\": \"N(18,3)\", \"identifier\": \"q7\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口流量8\", \"unit\": \"m³/s\", \"guideCode\": \"2F\", \"expression\": \"N(18,3)\", \"identifier\": \"q8\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"总出库流量、过闸总流量\", \"unit\": \"m³/s\", \"guideCode\": \"30\", \"expression\": \"N(18,3)\", \"identifier\": \"qa\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"输水设备流量、过闸(组)流量\", \"unit\": \"m³/s\", \"guideCode\": \"31\", \"expression\": \"N(18,3)\", \"identifier\": \"qz\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"输沙量\", \"unit\": \"万吨\", \"guideCode\": \"32\", \"expression\": \"N(22,3)\", \"identifier\": \"sw\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"风向\", \"unit\": \"\", \"guideCode\": \"33\", \"expression\": \"S(4)\", \"identifier\": \"uc\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"风力\", \"unit\": \"级\", \"guideCode\": \"34\", \"expression\": \"S(4)\", \"identifier\": \"ue\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"风速\", \"unit\": \"m/s\", \"length\": 8, \"guideCode\": \"35\", \"expression\": \"N(8,1)\", \"identifier\": \"us\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"断面平均流速\", \"unit\": \"m/s\", \"guideCode\": \"36\", \"expression\": \"N(10,3)\", \"identifier\": \"va\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"当前瞬时流速\", \"unit\": \"m/s\", \"guideCode\": \"37\", \"expression\": \"N(10,3)\", \"identifier\": \"vj\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"电源电压\", \"unit\": \"V\", \"guideCode\": \"38\", \"expression\": \"N(8,2)\", \"identifier\": \"vt\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true, \"isWorkInfoFactor\": true}, {\"name\": \"瞬时河道水位、潮位\", \"unit\": \"m\", \"guideCode\": \"39\", \"expression\": \"N(14,3)\", \"identifier\": \"z\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"库(闸、站)下水位\", \"unit\": \"m\", \"guideCode\": \"3A\", \"expression\": \"N(14,3)\", \"identifier\": \"zb\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"库(闸、站)上水位\", \"unit\": \"m\", \"guideCode\": \"3B\", \"expression\": \"N(14,3)\", \"identifier\": \"zu\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口水位1\", \"unit\": \"m\", \"guideCode\": \"3C\", \"expression\": \"N(14,3)\", \"identifier\": \"z1\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口水位2\", \"unit\": \"m\", \"guideCode\": \"3D\", \"expression\": \"N(14,3)\", \"identifier\": \"z2\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口水位3\", \"unit\": \"m\", \"guideCode\": \"3E\", \"expression\": \"N(14,3)\", \"identifier\": \"z3\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口水位4\", \"unit\": \"m\", \"guideCode\": \"3F\", \"expression\": \"N(14,3)\", \"identifier\": \"z4\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口水位5\", \"unit\": \"m\", \"guideCode\": \"40\", \"expression\": \"N(14,3)\", \"identifier\": \"z5\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口水位6\", \"unit\": \"m\", \"guideCode\": \"41\", \"expression\": \"N(14,3)\", \"identifier\": \"z6\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口水位7\", \"unit\": \"m\", \"guideCode\": \"42\", \"expression\": \"N(14,3)\", \"identifier\": \"z7\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"取(排)水口水位8\", \"unit\": \"m\", \"guideCode\": \"43\", \"expression\": \"N(14,3)\", \"identifier\": \"z8\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"含沙量\", \"unit\": \"千克/m³\", \"guideCode\": \"44\", \"expression\": \"N(18,3)\", \"identifier\": \"sq\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"pH值\", \"unit\": \"\", \"guideCode\": \"46\", \"expression\": \"N(8,2)\", \"identifier\": \"ph\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true, \"isWorkInfoFactor\": true}, {\"name\": \"溶解氧\", \"unit\": \"mg/L\", \"guideCode\": \"47\", \"expression\": \"N(8,1)\", \"identifier\": \"do\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"电导率\", \"unit\": \"us/cm\", \"guideCode\": \"48\", \"expression\": \"N(10)\", \"identifier\": \"cond\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"浊度\", \"unit\": \"度\", \"guideCode\": \"49\", \"expression\": \"N(6)\", \"identifier\": \"turb\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"高锰酸盐指数\", \"unit\": \"mg/L\", \"guideCode\": \"4A\", \"expression\": \"N(8,1)\", \"identifier\": \"codmn\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"氧化还原电位\", \"unit\": \"mV\", \"guideCode\": \"4B\", \"expression\": \"N(10,1)\", \"identifier\": \"redox\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"氨氮\", \"unit\": \"mg/L\", \"guideCode\": \"4C\", \"expression\": \"N(12,2)\", \"identifier\": \"nh4n\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"总磷\", \"unit\": \"mg/L\", \"guideCode\": \"4D\", \"expression\": \"N(10,3)\", \"identifier\": \"tp\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"总氮\", \"unit\": \"mg/L\", \"guideCode\": \"4E\", \"expression\": \"N(10,2)\", \"identifier\": \"tn\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"总有机碳\", \"unit\": \"mg/L\", \"guideCode\": \"4F\", \"expression\": \"N(8,2)\", \"identifier\": \"toc\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"铜\", \"unit\": \"mg/L\", \"guideCode\": \"50\", \"expression\": \"N(14,4)\", \"identifier\": \"cu\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"锌\", \"unit\": \"mg/L\", \"guideCode\": \"51\", \"expression\": \"N(12,4)\", \"identifier\": \"zn\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"硒\", \"unit\": \"mg/L\", \"guideCode\": \"52\", \"expression\": \"N(14,5)\", \"identifier\": \"se\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"砷\", \"unit\": \"mg/L\", \"guideCode\": \"53\", \"expression\": \"N(14,5)\", \"identifier\": \"as\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"总汞\", \"unit\": \"mg/L\", \"guideCode\": \"54\", \"expression\": \"N(14,5)\", \"identifier\": \"thg\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"镉\", \"unit\": \"mg/L\", \"guideCode\": \"55\", \"expression\": \"N(14,5)\", \"identifier\": \"cd\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"铅\", \"unit\": \"mg/L\", \"guideCode\": \"56\", \"expression\": \"N(14,5)\", \"identifier\": \"pb\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"叶绿素a\", \"unit\": \"mg/L\", \"guideCode\": \"57\", \"expression\": \"N(8,2)\", \"identifier\": \"chla\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水压1\", \"unit\": \"kPa\", \"guideCode\": \"58\", \"expression\": \"N(10,2)\", \"identifier\": \"wp1\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水压2\", \"unit\": \"kPa\", \"guideCode\": \"59\", \"expression\": \"N(10,2)\", \"identifier\": \"wp2\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水压3\", \"unit\": \"kPa\", \"guideCode\": \"5A\", \"expression\": \"N(10,2)\", \"identifier\": \"wp3\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水压4\", \"unit\": \"kPa\", \"guideCode\": \"5B\", \"expression\": \"N(10,2)\", \"identifier\": \"wp4\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水压5\", \"unit\": \"kPa\", \"guideCode\": \"5C\", \"expression\": \"N(10,2)\", \"identifier\": \"wp5\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水压6\", \"unit\": \"kPa\", \"guideCode\": \"5D\", \"expression\": \"N(10,2)\", \"identifier\": \"wp6\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水压7\", \"unit\": \"kPa\", \"guideCode\": \"5E\", \"expression\": \"N(10,2)\", \"identifier\": \"wp7\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水压8\", \"unit\": \"kPa\", \"guideCode\": \"5F\", \"expression\": \"N(10,2)\", \"identifier\": \"wp8\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表1剩余水量\", \"unit\": \"m³\", \"guideCode\": \"60\", \"expression\": \"N(22,3)\", \"identifier\": \"syl1\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表2剩余水量\", \"unit\": \"m³\", \"guideCode\": \"61\", \"expression\": \"N(22,3)\", \"identifier\": \"syl2\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表3剩余水量\", \"unit\": \"m³\", \"guideCode\": \"62\", \"expression\": \"N(22,3)\", \"identifier\": \"syl3\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表4剩余水量\", \"unit\": \"m³\", \"guideCode\": \"63\", \"expression\": \"N(22,3)\", \"identifier\": \"syl4\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表5剩余水量\", \"unit\": \"m³\", \"guideCode\": \"64\", \"expression\": \"N(22,3)\", \"identifier\": \"syl5\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表6剩余水量\", \"unit\": \"m³\", \"guideCode\": \"65\", \"expression\": \"N(22,3)\", \"identifier\": \"syl6\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表7剩余水量\", \"unit\": \"m³\", \"guideCode\": \"66\", \"expression\": \"N(22,3)\", \"identifier\": \"syl7\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表8剩余水量\", \"unit\": \"m³\", \"guideCode\": \"67\", \"expression\": \"N(22,3)\", \"identifier\": \"syl8\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表1每小时水量 \", \"unit\": \"m³/h\", \"guideCode\": \"68\", \"expression\": \"N(20,2)\", \"identifier\": \"sbl1\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表2每小时水量 \", \"unit\": \"m³/h\", \"guideCode\": \"69\", \"expression\": \"N(20,2)\", \"identifier\": \"sbl2\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表3每小时水量 \", \"unit\": \"m³/h\", \"guideCode\": \"6A\", \"expression\": \"N(20,2)\", \"identifier\": \"sbl3\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表4每小时水量 \", \"unit\": \"m³/h\", \"guideCode\": \"6B\", \"expression\": \"N(20,2)\", \"identifier\": \"sbl4\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表5每小时水量 \", \"unit\": \"m³/h\", \"guideCode\": \"6C\", \"expression\": \"N(20,2)\", \"identifier\": \"sbl5\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表6每小时水量 \", \"unit\": \"m³/h\", \"guideCode\": \"6D\", \"expression\": \"N(20,2)\", \"identifier\": \"sbl6\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表7每小时水量 \", \"unit\": \"m³/h\", \"guideCode\": \"6E\", \"expression\": \"N(20,2)\", \"identifier\": \"sbl7\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"水表8每小时水量 \", \"unit\": \"m³/h\", \"guideCode\": \"6F\", \"expression\": \"N(20,2)\", \"identifier\": \"sbl8\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"交流A相电压 \", \"unit\": \"V\", \"guideCode\": \"70\", \"expression\": \"N(8,1)\", \"identifier\": \"vta\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"交流B相电压 \", \"unit\": \"V\", \"guideCode\": \"71\", \"expression\": \"N(8,1)\", \"identifier\": \"vtb\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"交流C相电压 \", \"unit\": \"V\", \"guideCode\": \"72\", \"expression\": \"N(8,1)\", \"identifier\": \"vtc\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"交流A相电流 \", \"unit\": \"A\", \"guideCode\": \"73\", \"expression\": \"N(8,1)\", \"identifier\": \"via\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"交流B相电流 \", \"unit\": \"A\", \"guideCode\": \"74\", \"expression\": \"N(8,1)\", \"identifier\": \"vib\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"交流C相电流 \", \"unit\": \"A\", \"guideCode\": \"75\", \"expression\": \"N(8,1)\", \"identifier\": \"vic\", \"prefixLength\": 2, \"suffixLength\": 0, \"selfParseable\": true}], \"functions\": [{\"inboundOnly\": true, \"functionCode\": \"2F\", \"functionName\": \"链路维持报\", \"inboundMessages\": [{\"type\": \"serial\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}]}, {\"inboundOnly\": true, \"functionCode\": \"30,32,34,35\", \"functionName\": \"测试报,定时报,加报报,小时报\", \"inboundMessages\": [{\"type\": \"serial\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factor\", \"explain\": \"f0\", \"nodeKey\": \"observerTime\", \"nodeName\": \"观测时间\"}, {\"type\": \"factors\", \"nodeKey\": \"dynamicFactorSet\", \"nodeName\": \"动态要素集合\"}], \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"paramName\": \"发报时间\"}]}, {\"inboundOnly\": false, \"functionCode\": \"51\", \"functionName\": \"中心站查询遥测站时钟\", \"inboundMessages\": [{\"type\": \"serial\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}], \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"paramName\": \"发报时间\"}]}, {\"inboundOnly\": false, \"functionCode\": \"37\", \"functionName\": \"中心站查询遥测站实时数据\", \"inboundMessages\": [{\"type\": \"serial\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factor\", \"explain\": \"f0\", \"nodeKey\": \"observerTime\", \"nodeName\": \"观测时间\"}, {\"type\": \"factors\", \"nodeKey\": \"dynamicFactorSet\", \"nodeName\": \"动态要素集合\"}], \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"paramName\": \"发报时间\"}]}, {\"inboundOnly\": false, \"functionCode\": \"46\", \"functionName\": \"中心站查询遥测站状态信息\", \"inboundMessages\": [{\"type\": \"serial\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"notes\": \"结果应转换为二进制后对照水文监测数据通信规约表58\", \"explain\": \"S(8)\", \"nodeKey\": \"clientStatusAndAlarm\", \"nodeName\": \"遥测站状态及报警\"}], \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"paramName\": \"发报时间\"}]}, {\"inboundOnly\": false, \"functionCode\": \"49\", \"functionName\": \"中心站修改遥测站传输密码\", \"inboundMessages\": [{\"type\": \"serial\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"factor\", \"explain\": {\"guideCode\": \"03\", \"expression\": \"S(4)\", \"identifier\": \"passwd\", \"prefixLength\": 0, \"suffixLength\": 0}, \"nodeKey\": \"newPasswd\", \"nodeName\": \"新密码\"}], \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"paramName\": \"发报时间\"}, {\"type\": \"param\", \"notes\": \"4位HEX字符\", \"pattern\": \"03{0}\", \"paramKey\": \"oldPasswd\", \"paramName\": \"旧密码\"}, {\"type\": \"param\", \"notes\": \"4位HEX字符\", \"pattern\": \"03{0}\", \"paramKey\": \"newPasswd\", \"paramName\": \"新密码\"}]}, {\"inboundOnly\": false, \"functionCode\": \"2C\", \"functionName\": \"中心站下发雨量和报警信息\", \"inboundMessages\": [{\"type\": \"serial\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}], \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"paramName\": \"发报时间\"}, {\"type\": \"param\", \"notes\": \"6位HEX字符\", \"pattern\": \"2019{0}\", \"paramKey\": \"dyp\", \"paramName\": \"今日雨量\"}, {\"type\": \"param\", \"notes\": \"6位HEX字符\", \"pattern\": \"2619{0}\", \"paramKey\": \"accp\", \"paramName\": \"当月雨量\"}, {\"type\": \"param\", \"notes\": \"2位HEX字符\", \"pattern\": \"7608{0}\", \"paramKey\": \"signal\", \"paramName\": \"报警位\"}]}]}', '[{\"name\": \"观测时间\", \"unit\": \"\", \"length\": 16, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"F0\", \"identifier\": \"tt\"}, {\"name\": \"遥测站地址\", \"unit\": \"\", \"length\": 10, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"F1\", \"identifier\": \"st\"}, {\"name\": \"1小时内每5分钟时段雨量\", \"unit\": \"0.1mm\", \"length\": 35, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"F4\", \"identifier\": \"drp\"}, {\"name\": \"1小时内5分钟间隔相对水位1\", \"unit\": \"0.01m\", \"length\": 59, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"F5\", \"identifier\": \"drz1\"}, {\"name\": \"1小时内5分钟间隔相对水位2\", \"unit\": \"0.01m\", \"length\": 59, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"F6\", \"identifier\": \"drz2\"}, {\"name\": \"1小时内5分钟间隔相对水位3\", \"unit\": \"0.01m\", \"length\": 59, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"F7\", \"identifier\": \"drz3\"}, {\"name\": \"1小时内5分钟间隔相对水位4\", \"unit\": \"0.01m\", \"length\": 59, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"F8\", \"identifier\": \"drz4\"}, {\"name\": \"1小时内5分钟间隔相对水位5\", \"unit\": \"0.01m\", \"length\": 59, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"F9\", \"identifier\": \"drz5\"}, {\"name\": \"1小时内5分钟间隔相对水位6\", \"unit\": \"0.01m\", \"length\": 59, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"FA\", \"identifier\": \"drz6\"}, {\"name\": \"1小时内5分钟间隔相对水位7\", \"unit\": \"0.01m\", \"length\": 59, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"FB\", \"identifier\": \"drz7\"}, {\"name\": \"1小时内5分钟间隔相对水位8\", \"unit\": \"0.01m\", \"length\": 59, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"FC\", \"identifier\": \"drz8\"}, {\"name\": \"断面面积\", \"unit\": \"m²\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"01\", \"identifier\": \"ac\"}, {\"name\": \"瞬时气温\", \"unit\": \"℃\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"02\", \"identifier\": \"ai\"}, {\"name\": \"瞬时水温\", \"unit\": \"℃\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"03\", \"identifier\": \"c\"}, {\"name\": \"时间步长码\", \"unit\": \"\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"04\", \"identifier\": \"drxnn\"}, {\"name\": \"时段长,降水、引排水、抽水历时\", \"unit\": \"h.m\", \"length\": 3, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"05\", \"identifier\": \"dt\"}, {\"name\": \"日蒸发量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"06\", \"identifier\": \"ed\"}, {\"name\": \"当前蒸发\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"07\", \"identifier\": \"ej\"}, {\"name\": \"气压\", \"unit\": \"hPa\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"08\", \"identifier\": \"fl\"}, {\"name\": \"闸坝、水库闸门开启高度\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"09\", \"identifier\": \"gh\"}, {\"name\": \"输水设备、闸门(组)编号\", \"unit\": \"\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"0A\", \"identifier\": \"gn\"}, {\"name\": \"输水设备类别\", \"unit\": \"\", \"length\": 2, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"0B\", \"identifier\": \"gs\"}, {\"name\": \"水库、闸坝闸门开启孔数\", \"unit\": \"孔\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"0C\", \"identifier\": \"gt\"}, {\"name\": \"地温 \", \"unit\": \"℃\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"0D\", \"identifier\": \"gtp\"}, {\"name\": \"地下水瞬时埋深 \", \"unit\": \"m\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"0E\", \"identifier\": \"h\"}, {\"name\": \"波浪高度 \", \"unit\": \"m\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"0F\", \"identifier\": \"hw\"}, {\"name\": \"10cm处土壤含水量\", \"unit\": \"%\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"10\", \"identifier\": \"m10\"}, {\"name\": \"20cm处土壤含水量\", \"unit\": \"%\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"11\", \"identifier\": \"m20\"}, {\"name\": \"30cm处土壤含水量\", \"unit\": \"%\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"12\", \"identifier\": \"m30\"}, {\"name\": \"40cm处土壤含水量\", \"unit\": \"%\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"13\", \"identifier\": \"m40\"}, {\"name\": \"50cm处土壤含水量\", \"unit\": \"%\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"14\", \"identifier\": \"m50\"}, {\"name\": \"60cm处土壤含水量\", \"unit\": \"%\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"15\", \"identifier\": \"m60\"}, {\"name\": \"80cm处土壤含水量\", \"unit\": \"%\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"16\", \"identifier\": \"m80\"}, {\"name\": \"100cm处土壤含水量\", \"unit\": \"%\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"17\", \"identifier\": \"m100\"}, {\"name\": \"湿度\", \"unit\": \"%\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"18\", \"identifier\": \"mst\"}, {\"name\": \"开机台数\", \"unit\": \"台\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"19\", \"identifier\": \"ns\"}, {\"name\": \"1小时时段降水量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"1A\", \"identifier\": \"p1\"}, {\"name\": \"2小时时段降水量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"1B\", \"identifier\": \"p2\"}, {\"name\": \"3小时时段降水量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"1C\", \"identifier\": \"p3\"}, {\"name\": \"6小时时段降水量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"1D\", \"identifier\": \"p6\"}, {\"name\": \"12小时时段降水量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"1E\", \"identifier\": \"p12\"}, {\"name\": \"日降水量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"1F\", \"identifier\": \"pd\"}, {\"name\": \"当前降水量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"20\", \"identifier\": \"pj\"}, {\"name\": \"1分钟时段降水量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"21\", \"identifier\": \"pn01\"}, {\"name\": \"5分钟时段降水量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"22\", \"identifier\": \"pn05\"}, {\"name\": \"10分钟时段降水量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"23\", \"identifier\": \"pn10\"}, {\"name\": \"30分钟时段降水量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"24\", \"identifier\": \"pn30\"}, {\"name\": \"暴雨量\", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"25\", \"identifier\": \"pr\"}, {\"name\": \"降水量累计值 \", \"unit\": \"mm\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"26\", \"identifier\": \"pt\"}, {\"name\": \"瞬时流量、抽水流量\", \"unit\": \"m³/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"27\", \"identifier\": \"q\"}, {\"name\": \"取(排)水口流量1\", \"unit\": \"m³/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"28\", \"identifier\": \"q1\"}, {\"name\": \"取(排)水口流量2\", \"unit\": \"m³/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"29\", \"identifier\": \"q2\"}, {\"name\": \"取(排)水口流量3\", \"unit\": \"m³/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"2A\", \"identifier\": \"q3\"}, {\"name\": \"取(排)水口流量4\", \"unit\": \"m³/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"2B\", \"identifier\": \"q4\"}, {\"name\": \"取(排)水口流量5\", \"unit\": \"m³/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"2C\", \"identifier\": \"q5\"}, {\"name\": \"取(排)水口流量6\", \"unit\": \"m³/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"2D\", \"identifier\": \"q6\"}, {\"name\": \"取(排)水口流量7\", \"unit\": \"m³/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"2E\", \"identifier\": \"q7\"}, {\"name\": \"取(排)水口流量8\", \"unit\": \"m³/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"2F\", \"identifier\": \"q8\"}, {\"name\": \"总出库流量、过闸总流量\", \"unit\": \"m³/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"30\", \"identifier\": \"qa\"}, {\"name\": \"输水设备流量、过闸(组)流量\", \"unit\": \"m³/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"31\", \"identifier\": \"qz\"}, {\"name\": \"输沙量\", \"unit\": \"万吨\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"32\", \"identifier\": \"sw\"}, {\"name\": \"风向\", \"unit\": \"\", \"length\": 4, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"33\", \"identifier\": \"uc\"}, {\"name\": \"风力\", \"unit\": \"级\", \"length\": 4, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"34\", \"identifier\": \"ue\"}, {\"name\": \"风速\", \"unit\": \"m/s\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"35\", \"identifier\": \"us\"}, {\"name\": \"断面平均流速\", \"unit\": \"m/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"36\", \"identifier\": \"va\"}, {\"name\": \"当前瞬时流速\", \"unit\": \"m/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"37\", \"identifier\": \"vj\"}, {\"name\": \"电源电压\", \"unit\": \"V\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"38\", \"identifier\": \"vt\"}, {\"name\": \"瞬时河道水位、潮位\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"39\", \"identifier\": \"z\"}, {\"name\": \"库(闸、站)下水位\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"3A\", \"identifier\": \"zb\"}, {\"name\": \"库(闸、站)上水位\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"3B\", \"identifier\": \"zu\"}, {\"name\": \"取(排)水口水位1\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"3C\", \"identifier\": \"z1\"}, {\"name\": \"取(排)水口水位2\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"3D\", \"identifier\": \"z2\"}, {\"name\": \"取(排)水口水位3\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"3E\", \"identifier\": \"z3\"}, {\"name\": \"取(排)水口水位4\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"3F\", \"identifier\": \"z4\"}, {\"name\": \"取(排)水口水位5\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"40\", \"identifier\": \"z5\"}, {\"name\": \"取(排)水口水位6\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"41\", \"identifier\": \"z6\"}, {\"name\": \"取(排)水口水位7\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"42\", \"identifier\": \"z7\"}, {\"name\": \"取(排)水口水位8\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"43\", \"identifier\": \"z8\"}, {\"name\": \"含沙量\", \"unit\": \"千克/m³\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"44\", \"identifier\": \"sq\"}, {\"name\": \"pH值\", \"unit\": \"\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"46\", \"identifier\": \"ph\"}, {\"name\": \"溶解氧\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"47\", \"identifier\": \"do\"}, {\"name\": \"电导率\", \"unit\": \"us/cm\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"48\", \"identifier\": \"cond\"}, {\"name\": \"浊度\", \"unit\": \"度\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"49\", \"identifier\": \"turb\"}, {\"name\": \"高锰酸盐指数\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"4A\", \"identifier\": \"codmn\"}, {\"name\": \"氧化还原电位\", \"unit\": \"mV\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"4B\", \"identifier\": \"redox\"}, {\"name\": \"氨氮\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"4C\", \"identifier\": \"nh4n\"}, {\"name\": \"总磷\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"4D\", \"identifier\": \"tp\"}, {\"name\": \"总氮\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"4E\", \"identifier\": \"tn\"}, {\"name\": \"总有机碳\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"4F\", \"identifier\": \"toc\"}, {\"name\": \"铜\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 4, \"dataType\": \"number\", \"factorCode\": \"50\", \"identifier\": \"cu\"}, {\"name\": \"锌\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 4, \"dataType\": \"number\", \"factorCode\": \"51\", \"identifier\": \"zn\"}, {\"name\": \"硒\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 5, \"dataType\": \"number\", \"factorCode\": \"52\", \"identifier\": \"se\"}, {\"name\": \"砷\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 5, \"dataType\": \"number\", \"factorCode\": \"53\", \"identifier\": \"as\"}, {\"name\": \"总汞\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 5, \"dataType\": \"number\", \"factorCode\": \"54\", \"identifier\": \"thg\"}, {\"name\": \"镉\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 5, \"dataType\": \"number\", \"factorCode\": \"55\", \"identifier\": \"cd\"}, {\"name\": \"铅\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 5, \"dataType\": \"number\", \"factorCode\": \"56\", \"identifier\": \"pb\"}, {\"name\": \"叶绿素a\", \"unit\": \"mg/L\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"57\", \"identifier\": \"chla\"}, {\"name\": \"水压1\", \"unit\": \"kPa\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"58\", \"identifier\": \"wp1\"}, {\"name\": \"水压2\", \"unit\": \"kPa\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"59\", \"identifier\": \"wp2\"}, {\"name\": \"水压3\", \"unit\": \"kPa\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"5A\", \"identifier\": \"wp3\"}, {\"name\": \"水压4\", \"unit\": \"kPa\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"5B\", \"identifier\": \"wp4\"}, {\"name\": \"水压5\", \"unit\": \"kPa\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"5C\", \"identifier\": \"wp5\"}, {\"name\": \"水压6\", \"unit\": \"kPa\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"5D\", \"identifier\": \"wp6\"}, {\"name\": \"水压7\", \"unit\": \"kPa\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"5E\", \"identifier\": \"wp7\"}, {\"name\": \"水压8\", \"unit\": \"kPa\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"5F\", \"identifier\": \"wp8\"}, {\"name\": \"水表1剩余水量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"60\", \"identifier\": \"syl1\"}, {\"name\": \"水表2剩余水量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"61\", \"identifier\": \"syl2\"}, {\"name\": \"水表3剩余水量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"62\", \"identifier\": \"syl3\"}, {\"name\": \"水表4剩余水量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"63\", \"identifier\": \"syl4\"}, {\"name\": \"水表5剩余水量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"64\", \"identifier\": \"syl5\"}, {\"name\": \"水表6剩余水量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"65\", \"identifier\": \"syl6\"}, {\"name\": \"水表7剩余水量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"66\", \"identifier\": \"syl7\"}, {\"name\": \"水表8剩余水量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"67\", \"identifier\": \"syl8\"}, {\"name\": \"水表1每小时水量 \", \"unit\": \"m³/h\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"68\", \"identifier\": \"sbl1\"}, {\"name\": \"水表2每小时水量 \", \"unit\": \"m³/h\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"69\", \"identifier\": \"sbl2\"}, {\"name\": \"水表3每小时水量 \", \"unit\": \"m³/h\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"6A\", \"identifier\": \"sbl3\"}, {\"name\": \"水表4每小时水量 \", \"unit\": \"m³/h\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"6B\", \"identifier\": \"sbl4\"}, {\"name\": \"水表5每小时水量 \", \"unit\": \"m³/h\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"6C\", \"identifier\": \"sbl5\"}, {\"name\": \"水表6每小时水量 \", \"unit\": \"m³/h\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"6D\", \"identifier\": \"sbl6\"}, {\"name\": \"水表7每小时水量 \", \"unit\": \"m³/h\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"6E\", \"identifier\": \"sbl7\"}, {\"name\": \"水表8每小时水量 \", \"unit\": \"m³/h\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"6F\", \"identifier\": \"sbl8\"}, {\"name\": \"交流A相电压 \", \"unit\": \"V\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"70\", \"identifier\": \"vta\"}, {\"name\": \"交流B相电压 \", \"unit\": \"V\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"71\", \"identifier\": \"vtb\"}, {\"name\": \"交流C相电压 \", \"unit\": \"V\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"72\", \"identifier\": \"vtc\"}, {\"name\": \"交流A相电流 \", \"unit\": \"A\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"73\", \"identifier\": \"via\"}, {\"name\": \"交流B相电流 \", \"unit\": \"A\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"74\", \"identifier\": \"vib\"}, {\"name\": \"交流C相电流 \", \"unit\": \"A\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"75\", \"identifier\": \"vic\"}]', '[{\"quick\": false, \"params\": [], \"paramNum\": 0, \"directiveCode\": \"51\", \"directiveName\": \"中心站查询遥测站时钟\"}, {\"quick\": false, \"params\": [], \"paramNum\": 0, \"directiveCode\": \"37\", \"directiveName\": \"中心站查询遥测站实时数据\"}, {\"quick\": false, \"params\": [], \"paramNum\": 0, \"directiveCode\": \"46\", \"directiveName\": \"中心站查询遥测站状态信息\"}, {\"quick\": false, \"params\": [{\"required\": true, \"paramCode\": \"oldPasswd\", \"paramLabel\": \"旧密码\", \"explanation\": \"4位HEX字符\"}, {\"required\": true, \"paramCode\": \"newPasswd\", \"paramLabel\": \"新密码\", \"explanation\": \"4位HEX字符\"}], \"paramNum\": 2, \"directiveCode\": \"49\", \"directiveName\": \"中心站修改遥测站传输密码\"}, {\"quick\": false, \"params\": [{\"required\": true, \"paramCode\": \"dyp\", \"paramLabel\": \"今日雨量\", \"explanation\": \"6位HEX字符\"}, {\"required\": true, \"paramCode\": \"accp\", \"paramLabel\": \"当月雨量\", \"explanation\": \"6位HEX字符\"}, {\"required\": true, \"paramCode\": \"signal\", \"paramLabel\": \"报警位\", \"explanation\": \"2位HEX字符\"}], \"paramNum\": 3, \"directiveCode\": \"2C\", \"directiveName\": \"中心站下发雨量和报警信息\"}]', '[]', 1099, '2023-12-11 10:45:58', '2023-12-11 10:45:58');
INSERT INTO `dev_protocol_version` VALUES (1734043470645796866, 1734043470494801921, '1.0.0', 1, '', NULL, '{\"factors\": [{\"name\": \"观测时间\", \"unit\": \"\", \"guideCode\": \"F0\", \"expression\": \"TP(10,yyMMddHHmm,yyyy-MM-dd HH:mm)\", \"identifier\": \"tt\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33,e1,e2,e9\", \"selfParseable\": false}, {\"name\": \"机井状态及报警信息\", \"unit\": \"\", \"sublist\": [{\"name\": \"交流电充电状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(0)\", \"identifier\": \"state_elec\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"蓄电池电压状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(1)\", \"identifier\": \"state_battery\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"水位超限报警状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(2)\", \"identifier\": \"state_water_level\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"流量超限报警状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(3)\", \"identifier\": \"state_flow\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"水质超限报警状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(4)\", \"identifier\": \"state_water_quality\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"流量仪表状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(5)\", \"identifier\": \"state_flow_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"水位仪表状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(6)\", \"identifier\": \"state_water_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"终端箱门状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(7)\", \"identifier\": \"state_door\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"存储器状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(8)\", \"identifier\": \"state_memorizer\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"IC卡功能有效\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(9)\", \"identifier\": \"state_card\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"水泵工作状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(10)\", \"identifier\": \"state_pump\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"剩余水量报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(11)\", \"identifier\": \"state_surplus_water\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"倾斜报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(12)\", \"identifier\": \"state_tilt\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"输入断相\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(13)\", \"identifier\": \"state_in_voltage\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"输出断相\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(14)\", \"identifier\": \"state_out_voltage\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"电表脉冲报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(15)\", \"identifier\": \"state_electric_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"过载报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(16)\", \"identifier\": \"state_overload\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"管道压力报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(17)\", \"identifier\": \"state_pressure\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"电能仪表状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(18)\", \"identifier\": \"state_elec_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"盗水报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(19)\", \"identifier\": \"state_steal_water\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"异常关泵\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(20)\", \"identifier\": \"state_close_pump\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"蝶阀状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(21)\", \"identifier\": \"state_bamper\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"DI5状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(22)\", \"identifier\": \"state_di5\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"DI6状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(23)\", \"identifier\": \"state_di6\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}], \"guideCode\": \"45\", \"expression\": \"S(4)\", \"identifier\": \"\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"name\": \"CSQ\", \"unit\": \"\", \"guideCode\": \"FF02\", \"expression\": \"N(2)\", \"identifier\": \"csq\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,e1,e2\", \"selfParseable\": true}, {\"name\": \"版本号\", \"unit\": \"\", \"guideCode\": \"FFFE\", \"expression\": \"S(4)\", \"identifier\": \"ver_num\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,e1,e2,e9\", \"selfParseable\": true}, {\"name\": \"交流A相电压\", \"unit\": \"V\", \"guideCode\": \"70\", \"expression\": \"N(4,1)\", \"identifier\": \"voltage_a\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"name\": \"交流B相电压\", \"unit\": \"V\", \"guideCode\": \"71\", \"expression\": \"N(4,1)\", \"identifier\": \"voltage_b\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1].sublist[15]\"}, {\"name\": \"交流C相电压\", \"unit\": \"V\", \"guideCode\": \"72\", \"expression\": \"N(4,1)\", \"identifier\": \"voltage_c\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1].sublist[19]\"}, {\"$ref\": \"$.factors[1].sublist[4]\"}, {\"$ref\": \"$.factors[1].sublist[17]\"}, {\"name\": \"累计流量\", \"unit\": \"m³\", \"guideCode\": \"FF01\", \"expression\": \"N(10,2)\", \"identifier\": \"qa\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1].sublist[22]\"}, {\"$ref\": \"$.factors[1].sublist[23]\"}, {\"name\": \"用户（年度）累计用电量\", \"unit\": \"kW·h\", \"guideCode\": \"FFAC\", \"expression\": \"N(10,2)\", \"identifier\": \"user_year_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9,d2\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1].sublist[9]\"}, {\"$ref\": \"$.factors[1].sublist[14]\"}, {\"$ref\": \"$.factors[1].sublist[0]\"}, {\"name\": \"本次使用金额\", \"unit\": \"元\", \"guideCode\": \"FF0C\", \"expression\": \"N(10,2)\", \"identifier\": \"use_money\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": true}, {\"name\": \"水位\", \"unit\": \"m\", \"guideCode\": \"3C\", \"expression\": \"N(8,3)\", \"identifier\": \"water_level\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"name\": \"本次使用电量\", \"unit\": \"kW·h\", \"guideCode\": \"FF07\", \"expression\": \"N(8,1)\", \"identifier\": \"use_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1].sublist[13]\"}, {\"name\": \"总使用电量\", \"unit\": \"kW·h\", \"guideCode\": \"FFA8\", \"expression\": \"N(10,2)\", \"identifier\": \"total_use_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9,d2\", \"selfParseable\": true}, {\"name\": \"总充值电量\", \"unit\": \"kW·h\", \"guideCode\": \"FFA5\", \"expression\": \"N(10,2)\", \"identifier\": \"total_pay_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,d1\", \"selfParseable\": true}, {\"name\": \"本次开始时间\", \"unit\": \"\", \"guideCode\": \"FF09\", \"expression\": \"TP(12,yyMMddHHmmss,yyyy-MM-dd HH:mm:ss)\", \"identifier\": \"start_time\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9\", \"selfParseable\": false}, {\"$ref\": \"$.factors[1].sublist[10]\"}, {\"name\": \"管道水压\", \"unit\": \"KPa\", \"guideCode\": \"58\", \"expression\": \"N(6,2)\", \"identifier\": \"pipe_pressure\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"name\": \"工作电压\", \"unit\": \"V\", \"guideCode\": \"38\", \"expression\": \"N(4,2)\", \"identifier\": \"vt\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"name\": \"总使用水量\", \"unit\": \"m³\", \"guideCode\": \"FFA7\", \"expression\": \"N(10,2)\", \"identifier\": \"total_use_water\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9,d2\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1].sublist[5]\"}, {\"$ref\": \"$.factors[1].sublist[12]\"}, {\"$ref\": \"$.factors[1].sublist[1]\"}, {\"$ref\": \"$.factors[1].sublist[6]\"}, {\"name\": \"本次使用水量\", \"unit\": \"m³\", \"guideCode\": \"FF08\", \"expression\": \"N(10,2)\", \"identifier\": \"use_water\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1].sublist[2]\"}, {\"name\": \"总充值金额\", \"unit\": \"元\", \"guideCode\": \"FFA3\", \"expression\": \"N(10,2)\", \"identifier\": \"total_pay_money\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,d1\", \"selfParseable\": true}, {\"name\": \"当前用户\", \"unit\": \"\", \"guideCode\": \"FF06\", \"expression\": \"SUB(16,8)\", \"identifier\": \"active_account\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2,e9,eb,d1,d2,d4,d7\", \"selfParseable\": false}, {\"$ref\": \"$.factors[1].sublist[16]\"}, {\"name\": \"累计电量\", \"unit\": \"°\", \"guideCode\": \"FF05\", \"expression\": \"N(8,1)\", \"identifier\": \"total_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1].sublist[20]\"}, {\"name\": \"交流B相电流\", \"unit\": \"A\", \"guideCode\": \"74\", \"expression\": \"N(4,1)\", \"identifier\": \"elec_b\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"name\": \"交流C相电流\", \"unit\": \"A\", \"guideCode\": \"75\", \"expression\": \"N(4,1)\", \"identifier\": \"elec_c\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"name\": \"总使用金额\", \"unit\": \"元\", \"guideCode\": \"FFA6\", \"expression\": \"N(10,2)\", \"identifier\": \"total_use_money\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9,d2\", \"selfParseable\": true}, {\"name\": \"机井编号\", \"unit\": \"\", \"guideCode\": \"FF0B\", \"expression\": \"S(10)\", \"identifier\": \"rig_num\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,e1,e2,e9\", \"selfParseable\": true}, {\"name\": \"交流A相电流\", \"unit\": \"A\", \"guideCode\": \"73\", \"expression\": \"N(4,1)\", \"identifier\": \"elec_a\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1].sublist[11]\"}, {\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33,e1,e2,e9,4c,eb,d1,4a,e6,d2,d4,d7\", \"selfParseable\": false}, {\"name\": \"本年累计流量\", \"unit\": \"m³\", \"guideCode\": \"FF04\", \"expression\": \"N(10,2)\", \"identifier\": \"year_qa\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"name\": \"总充值水量\", \"unit\": \"m³\", \"guideCode\": \"FFA4\", \"expression\": \"N(10,2)\", \"identifier\": \"total_pay_water\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,d1\", \"selfParseable\": true}, {\"name\": \"本次结束时间\", \"unit\": \"\", \"guideCode\": \"FF0A\", \"expression\": \"TP(12,yyMMddHHmmss,yyyy-MM-dd HH:mm:ss)\", \"identifier\": \"end_time\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9\", \"selfParseable\": false}, {\"name\": \"充值流水号\", \"unit\": \"\", \"guideCode\": \"FFAA\", \"expression\": \"S(4)\", \"identifier\": \"serial_number\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"d1\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1].sublist[21]\"}, {\"$ref\": \"$.factors[1].sublist[18]\"}, {\"name\": \"瞬时流量\", \"unit\": \"m³/s\", \"guideCode\": \"28\", \"expression\": \"N(10,3)\", \"identifier\": \"q\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1].sublist[7]\"}, {\"$ref\": \"$.factors[1].sublist[3]\"}, {\"name\": \"用户（年度）累计用水量\", \"unit\": \"m³\", \"guideCode\": \"FFAB\", \"expression\": \"N(10,2)\", \"identifier\": \"user_year_qa\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9,d2\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1].sublist[8]\"}, {\"name\": \"计划ID\", \"unit\": \"\", \"guideCode\": \"FFAE\", \"expression\": \"S(4)\", \"identifier\": \"plan_id\", \"invalidValue\": \"AAAA\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9\", \"selfParseable\": true}], \"functions\": [{\"effective\": true, \"inboundOnly\": true, \"functionCode\": \"2f\", \"functionName\": \"链路维持报\", \"functionCodes\": [\"2f\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}], \"inboundEffective\": true, \"outboundEffective\": false}, {\"factors\": [{\"name\": \"观测时间\", \"unit\": \"\", \"guideCode\": \"F0\", \"expression\": \"TP(10,yyMMddHHmm,yyyy-MM-dd HH:mm)\", \"identifier\": \"tt\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"版本号\", \"unit\": \"\", \"guideCode\": \"FFFE\", \"expression\": \"S(4)\", \"identifier\": \"ver_num\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"机井编号\", \"unit\": \"\", \"guideCode\": \"FF0B\", \"expression\": \"S(10)\", \"identifier\": \"rig_num\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"水位\", \"unit\": \"m\", \"guideCode\": \"3C\", \"expression\": \"N(8,3)\", \"identifier\": \"water_level\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"管道水压\", \"unit\": \"KPa\", \"guideCode\": \"58\", \"expression\": \"N(6,2)\", \"identifier\": \"pipe_pressure\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"瞬时流量\", \"unit\": \"m³/s\", \"guideCode\": \"28\", \"expression\": \"N(10,3)\", \"identifier\": \"q\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"本年累计流量\", \"unit\": \"m³\", \"guideCode\": \"FF04\", \"expression\": \"N(10,2)\", \"identifier\": \"year_qa\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"累计流量\", \"unit\": \"m³\", \"guideCode\": \"FF01\", \"expression\": \"N(10,2)\", \"identifier\": \"qa\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"累计电量\", \"unit\": \"°\", \"guideCode\": \"FF05\", \"expression\": \"N(8,1)\", \"identifier\": \"total_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"当前用户\", \"unit\": \"\", \"guideCode\": \"FF06\", \"expression\": \"SUB(16,8)\", \"identifier\": \"active_account\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"机井状态及报警信息\", \"unit\": \"\", \"sublist\": [{\"name\": \"交流电充电状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(0)\", \"identifier\": \"state_elec\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"蓄电池电压状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(1)\", \"identifier\": \"state_battery\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"水位超限报警状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(2)\", \"identifier\": \"state_water_level\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"流量超限报警状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(3)\", \"identifier\": \"state_flow\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"水质超限报警状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(4)\", \"identifier\": \"state_water_quality\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"流量仪表状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(5)\", \"identifier\": \"state_flow_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"水位仪表状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(6)\", \"identifier\": \"state_water_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"终端箱门状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(7)\", \"identifier\": \"state_door\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"存储器状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(8)\", \"identifier\": \"state_memorizer\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"IC卡功能有效\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(9)\", \"identifier\": \"state_card\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"水泵工作状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(10)\", \"identifier\": \"state_pump\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"剩余水量报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(11)\", \"identifier\": \"state_surplus_water\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"倾斜报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(12)\", \"identifier\": \"state_tilt\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"输入断相\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(13)\", \"identifier\": \"state_in_voltage\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"输出断相\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(14)\", \"identifier\": \"state_out_voltage\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"电表脉冲报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(15)\", \"identifier\": \"state_electric_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"过载报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(16)\", \"identifier\": \"state_overload\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"管道压力报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(17)\", \"identifier\": \"state_pressure\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"电能仪表状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(18)\", \"identifier\": \"state_elec_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"盗水报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(19)\", \"identifier\": \"state_steal_water\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"异常关泵\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(20)\", \"identifier\": \"state_close_pump\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"蝶阀状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(21)\", \"identifier\": \"state_bamper\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"DI5状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(22)\", \"identifier\": \"state_di5\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}, {\"name\": \"DI6状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(23)\", \"identifier\": \"state_di6\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": false}], \"guideCode\": \"45\", \"expression\": \"S(4)\", \"identifier\": \"\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"交流A相电压\", \"unit\": \"V\", \"guideCode\": \"70\", \"expression\": \"N(4,1)\", \"identifier\": \"voltage_a\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"交流B相电压\", \"unit\": \"V\", \"guideCode\": \"71\", \"expression\": \"N(4,1)\", \"identifier\": \"voltage_b\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"交流C相电压\", \"unit\": \"V\", \"guideCode\": \"72\", \"expression\": \"N(4,1)\", \"identifier\": \"voltage_c\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"交流A相电流\", \"unit\": \"A\", \"guideCode\": \"73\", \"expression\": \"N(4,1)\", \"identifier\": \"elec_a\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"交流B相电流\", \"unit\": \"A\", \"guideCode\": \"74\", \"expression\": \"N(4,1)\", \"identifier\": \"elec_b\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"交流C相电流\", \"unit\": \"A\", \"guideCode\": \"75\", \"expression\": \"N(4,1)\", \"identifier\": \"elec_c\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"工作电压\", \"unit\": \"V\", \"guideCode\": \"38\", \"expression\": \"N(4,2)\", \"identifier\": \"vt\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}, {\"name\": \"CSQ\", \"unit\": \"\", \"guideCode\": \"FF02\", \"expression\": \"N(2)\", \"identifier\": \"csq\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32\", \"selfParseable\": true}], \"effective\": true, \"inboundOnly\": true, \"functionCode\": \"32\", \"functionName\": \"定时报\", \"functionCodes\": [\"32\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"nodeId\": \"0node_clientClassficationCode\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factor\", \"nodeId\": \"0node_observerTime\", \"explain\": \"f0\", \"nodeKey\": \"observerTime\", \"nodeName\": \"观测时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_versionNumber\", \"explain\": \"fffe\", \"nodeKey\": \"versionNumber\", \"nodeName\": \"版本号\"}, {\"type\": \"factors\", \"nodeId\": \"0node_dynamicFactorSet\", \"nodeKey\": \"dynamicFactorSet\", \"nodeName\": \"动态要素集合\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}], \"outboundEffective\": true}, {\"factors\": [{\"name\": \"观测时间\", \"unit\": \"\", \"guideCode\": \"F0\", \"expression\": \"TP(10,yyMMddHHmm,yyyy-MM-dd HH:mm)\", \"identifier\": \"tt\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7\", \"selfParseable\": false}, {\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7\", \"selfParseable\": false}], \"effective\": true, \"inboundOnly\": true, \"functionCode\": \"e7\", \"functionName\": \"登录报\", \"functionCodes\": [\"e7\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"nodeId\": \"0node_clientClassficationCode\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factor\", \"nodeId\": \"0node_observerTime\", \"explain\": \"f0\", \"nodeKey\": \"observerTime\", \"nodeName\": \"观测时间\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}, {\"type\": \"param\", \"notes\": \"1字节HEX码\", \"nodeId\": \"0node_result\", \"nodeKey\": \"result\", \"pattern\": \"00\", \"paramKey\": \"result\", \"required\": true, \"paramName\": \"结果\"}], \"outboundEffective\": true}, {\"factors\": [{\"name\": \"观测时间\", \"unit\": \"\", \"guideCode\": \"F0\", \"expression\": \"TP(10,yyMMddHHmm,yyyy-MM-dd HH:mm)\", \"identifier\": \"tt\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34\", \"selfParseable\": false}, {\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34\", \"selfParseable\": false}, {\"name\": \"版本号\", \"unit\": \"\", \"guideCode\": \"FFFE\", \"expression\": \"S(4)\", \"identifier\": \"ver_num\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"机井编号\", \"unit\": \"\", \"guideCode\": \"FF0B\", \"expression\": \"S(10)\", \"identifier\": \"rig_num\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"水位\", \"unit\": \"m\", \"guideCode\": \"3C\", \"expression\": \"N(8,3)\", \"identifier\": \"water_level\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"管道水压\", \"unit\": \"KPa\", \"guideCode\": \"58\", \"expression\": \"N(6,2)\", \"identifier\": \"pipe_pressure\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"瞬时流量\", \"unit\": \"m³/s\", \"guideCode\": \"28\", \"expression\": \"N(10,3)\", \"identifier\": \"q\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"本年累计流量\", \"unit\": \"m³\", \"guideCode\": \"FF04\", \"expression\": \"N(10,2)\", \"identifier\": \"year_qa\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"累计流量\", \"unit\": \"m³\", \"guideCode\": \"FF01\", \"expression\": \"N(10,2)\", \"identifier\": \"qa\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"累计电量\", \"unit\": \"°\", \"guideCode\": \"FF05\", \"expression\": \"N(8,1)\", \"identifier\": \"total_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"当前用户\", \"unit\": \"\", \"guideCode\": \"FF06\", \"expression\": \"SUB(16,8)\", \"identifier\": \"active_account\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"机井状态及报警信息\", \"unit\": \"\", \"sublist\": [{\"name\": \"交流电充电状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(0)\", \"identifier\": \"state_elec\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"蓄电池电压状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(1)\", \"identifier\": \"state_battery\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"水位超限报警状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(2)\", \"identifier\": \"state_water_level\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"流量超限报警状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(3)\", \"identifier\": \"state_flow\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"水质超限报警状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(4)\", \"identifier\": \"state_water_quality\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"流量仪表状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(5)\", \"identifier\": \"state_flow_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"水位仪表状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(6)\", \"identifier\": \"state_water_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"终端箱门状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(7)\", \"identifier\": \"state_door\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"存储器状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(8)\", \"identifier\": \"state_memorizer\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"IC卡功能有效\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(9)\", \"identifier\": \"state_card\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"水泵工作状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(10)\", \"identifier\": \"state_pump\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"剩余水量报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(11)\", \"identifier\": \"state_surplus_water\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"倾斜报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(12)\", \"identifier\": \"state_tilt\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"输入断相\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(13)\", \"identifier\": \"state_in_voltage\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"输出断相\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(14)\", \"identifier\": \"state_out_voltage\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"电表脉冲报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(15)\", \"identifier\": \"state_electric_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"过载报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(16)\", \"identifier\": \"state_overload\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"管道压力报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(17)\", \"identifier\": \"state_pressure\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"电能仪表状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(18)\", \"identifier\": \"state_elec_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"盗水报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(19)\", \"identifier\": \"state_steal_water\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"异常关泵\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(20)\", \"identifier\": \"state_close_pump\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"蝶阀状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(21)\", \"identifier\": \"state_bamper\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"DI5状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(22)\", \"identifier\": \"state_di5\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}, {\"name\": \"DI6状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(23)\", \"identifier\": \"state_di6\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": false}], \"guideCode\": \"45\", \"expression\": \"S(4)\", \"identifier\": \"\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"交流A相电压\", \"unit\": \"V\", \"guideCode\": \"70\", \"expression\": \"N(4,1)\", \"identifier\": \"voltage_a\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"交流B相电压\", \"unit\": \"V\", \"guideCode\": \"71\", \"expression\": \"N(4,1)\", \"identifier\": \"voltage_b\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"交流C相电压\", \"unit\": \"V\", \"guideCode\": \"72\", \"expression\": \"N(4,1)\", \"identifier\": \"voltage_c\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"交流A相电流\", \"unit\": \"A\", \"guideCode\": \"73\", \"expression\": \"N(4,1)\", \"identifier\": \"elec_a\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"交流B相电流\", \"unit\": \"A\", \"guideCode\": \"74\", \"expression\": \"N(4,1)\", \"identifier\": \"elec_b\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"交流C相电流\", \"unit\": \"A\", \"guideCode\": \"75\", \"expression\": \"N(4,1)\", \"identifier\": \"elec_c\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"工作电压\", \"unit\": \"V\", \"guideCode\": \"38\", \"expression\": \"N(4,2)\", \"identifier\": \"vt\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}, {\"name\": \"CSQ\", \"unit\": \"\", \"guideCode\": \"FF02\", \"expression\": \"N(2)\", \"identifier\": \"csq\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34\", \"selfParseable\": true}], \"effective\": true, \"inboundOnly\": true, \"functionCode\": \"34\", \"functionName\": \"小时报\", \"functionCodes\": [\"34\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"nodeId\": \"0node_clientClassficationCode\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factor\", \"nodeId\": \"0node_observerTime\", \"explain\": \"f0\", \"nodeKey\": \"observerTime\", \"nodeName\": \"观测时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_versionNumber\", \"explain\": \"fffe\", \"nodeKey\": \"versionNumber\", \"nodeName\": \"版本号\"}, {\"type\": \"factors\", \"nodeId\": \"0node_dynamicFactorSet\", \"nodeKey\": \"dynamicFactorSet\", \"nodeName\": \"动态要素集合\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}], \"outboundEffective\": true}, {\"factors\": [{\"name\": \"观测时间\", \"unit\": \"\", \"guideCode\": \"F0\", \"expression\": \"TP(10,yyMMddHHmm,yyyy-MM-dd HH:mm)\", \"identifier\": \"tt\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33\", \"selfParseable\": false}, {\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33\", \"selfParseable\": false}, {\"name\": \"水位\", \"unit\": \"m\", \"guideCode\": \"3C\", \"expression\": \"N(8,3)\", \"identifier\": \"water_level\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"管道水压\", \"unit\": \"KPa\", \"guideCode\": \"58\", \"expression\": \"N(6,2)\", \"identifier\": \"pipe_pressure\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"瞬时流量\", \"unit\": \"m³/s\", \"guideCode\": \"28\", \"expression\": \"N(10,3)\", \"identifier\": \"q\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"本年累计流量\", \"unit\": \"m³\", \"guideCode\": \"FF04\", \"expression\": \"N(10,2)\", \"identifier\": \"year_qa\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"累计流量\", \"unit\": \"m³\", \"guideCode\": \"FF01\", \"expression\": \"N(10,2)\", \"identifier\": \"qa\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"累计电量\", \"unit\": \"°\", \"guideCode\": \"FF05\", \"expression\": \"N(8,1)\", \"identifier\": \"total_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"当前用户\", \"unit\": \"\", \"guideCode\": \"FF06\", \"expression\": \"SUB(16,8)\", \"identifier\": \"active_account\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"机井状态及报警信息\", \"unit\": \"\", \"sublist\": [{\"name\": \"交流电充电状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(0)\", \"identifier\": \"state_elec\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"蓄电池电压状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(1)\", \"identifier\": \"state_battery\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"水位超限报警状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(2)\", \"identifier\": \"state_water_level\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"流量超限报警状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(3)\", \"identifier\": \"state_flow\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"水质超限报警状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(4)\", \"identifier\": \"state_water_quality\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"流量仪表状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(5)\", \"identifier\": \"state_flow_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"水位仪表状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(6)\", \"identifier\": \"state_water_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"终端箱门状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(7)\", \"identifier\": \"state_door\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"存储器状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(8)\", \"identifier\": \"state_memorizer\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"IC卡功能有效\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(9)\", \"identifier\": \"state_card\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"水泵工作状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(10)\", \"identifier\": \"state_pump\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"剩余水量报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(11)\", \"identifier\": \"state_surplus_water\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"倾斜报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(12)\", \"identifier\": \"state_tilt\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"输入断相\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(13)\", \"identifier\": \"state_in_voltage\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"输出断相\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(14)\", \"identifier\": \"state_out_voltage\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"电表脉冲报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(15)\", \"identifier\": \"state_electric_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"过载报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(16)\", \"identifier\": \"state_overload\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"管道压力报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(17)\", \"identifier\": \"state_pressure\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"电能仪表状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(18)\", \"identifier\": \"state_elec_meter\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"盗水报警\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(19)\", \"identifier\": \"state_steal_water\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"异常关泵\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(20)\", \"identifier\": \"state_close_pump\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"蝶阀状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(21)\", \"identifier\": \"state_bamper\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"DI5状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(22)\", \"identifier\": \"state_di5\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}, {\"name\": \"DI6状态\", \"unit\": \"\", \"guideCode\": \"\", \"expression\": \"BIT(23)\", \"identifier\": \"state_di6\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": false}], \"guideCode\": \"45\", \"expression\": \"S(4)\", \"identifier\": \"\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"交流A相电压\", \"unit\": \"V\", \"guideCode\": \"70\", \"expression\": \"N(4,1)\", \"identifier\": \"voltage_a\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"交流B相电压\", \"unit\": \"V\", \"guideCode\": \"71\", \"expression\": \"N(4,1)\", \"identifier\": \"voltage_b\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"交流C相电压\", \"unit\": \"V\", \"guideCode\": \"72\", \"expression\": \"N(4,1)\", \"identifier\": \"voltage_c\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"交流A相电流\", \"unit\": \"A\", \"guideCode\": \"73\", \"expression\": \"N(4,1)\", \"identifier\": \"elec_a\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"交流B相电流\", \"unit\": \"A\", \"guideCode\": \"74\", \"expression\": \"N(4,1)\", \"identifier\": \"elec_b\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"交流C相电流\", \"unit\": \"A\", \"guideCode\": \"75\", \"expression\": \"N(4,1)\", \"identifier\": \"elec_c\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}, {\"name\": \"工作电压\", \"unit\": \"V\", \"guideCode\": \"38\", \"expression\": \"N(4,2)\", \"identifier\": \"vt\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33\", \"selfParseable\": true}], \"effective\": true, \"inboundOnly\": true, \"functionCode\": \"33\", \"functionName\": \"事件上报（加报报）\", \"functionCodes\": [\"33\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"nodeId\": \"0node_clientClassficationCode\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factor\", \"nodeId\": \"0node_observerTime\", \"explain\": \"f0\", \"nodeKey\": \"observerTime\", \"nodeName\": \"观测时间\"}, {\"type\": \"factors\", \"nodeId\": \"0node_dynamicFactorSet\", \"nodeKey\": \"dynamicFactorSet\", \"nodeName\": \"动态要素集合\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}], \"outboundEffective\": true}, {\"factors\": [{\"name\": \"观测时间\", \"unit\": \"\", \"guideCode\": \"F0\", \"expression\": \"TP(10,yyMMddHHmm,yyyy-MM-dd HH:mm)\", \"identifier\": \"tt\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"版本号\", \"unit\": \"\", \"guideCode\": \"FFFE\", \"expression\": \"S(4)\", \"identifier\": \"ver_num\", \"prefixLength\": 0, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,e1,e2\", \"selfParseable\": true}, {\"name\": \"机井编号\", \"unit\": \"\", \"guideCode\": \"FF0B\", \"expression\": \"S(10)\", \"identifier\": \"rig_num\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,e1,e2\", \"selfParseable\": true}, {\"$ref\": \"$.factors[19]\"}, {\"$ref\": \"$.factors[26]\"}, {\"$ref\": \"$.factors[53]\"}, {\"$ref\": \"$.factors[47]\"}, {\"$ref\": \"$.factors[11]\"}, {\"$ref\": \"$.factors[38]\"}, {\"name\": \"当前用户\", \"unit\": \"\", \"guideCode\": \"FF06\", \"expression\": \"SUB(16,8)\", \"identifier\": \"active_account\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2\", \"selfParseable\": false}, {\"name\": \"总充值金额\", \"unit\": \"元\", \"guideCode\": \"FFA3\", \"expression\": \"N(10,2)\", \"identifier\": \"total_pay_money\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": true}, {\"name\": \"总充值水量\", \"unit\": \"m³\", \"guideCode\": \"FFA4\", \"expression\": \"N(10,2)\", \"identifier\": \"total_pay_water\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": true}, {\"name\": \"总充值电量\", \"unit\": \"kW·h\", \"guideCode\": \"FFA5\", \"expression\": \"N(10,2)\", \"identifier\": \"total_pay_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": true}, {\"name\": \"本次使用电量\", \"unit\": \"kW·h\", \"guideCode\": \"FF07\", \"expression\": \"N(8,1)\", \"identifier\": \"use_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": true}, {\"name\": \"本次使用水量\", \"unit\": \"m³\", \"guideCode\": \"FF08\", \"expression\": \"N(10,2)\", \"identifier\": \"use_water\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": true}, {\"$ref\": \"$.factors[18]\"}, {\"name\": \"本次开始时间\", \"unit\": \"\", \"guideCode\": \"FF09\", \"expression\": \"TP(12,yyMMddHHmmss,yyyy-MM-dd HH:mm:ss)\", \"identifier\": \"start_time\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": false}, {\"name\": \"本次结束时间\", \"unit\": \"\", \"guideCode\": \"FF0A\", \"expression\": \"TP(12,yyMMddHHmmss,yyyy-MM-dd HH:mm:ss)\", \"identifier\": \"end_time\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": false}, {\"name\": \"总使用金额\", \"unit\": \"元\", \"guideCode\": \"FFA6\", \"expression\": \"N(10,2)\", \"identifier\": \"total_use_money\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": true}, {\"name\": \"总使用水量\", \"unit\": \"m³\", \"guideCode\": \"FFA7\", \"expression\": \"N(10,2)\", \"identifier\": \"total_use_water\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": true}, {\"name\": \"总使用电量\", \"unit\": \"kW·h\", \"guideCode\": \"FFA8\", \"expression\": \"N(10,2)\", \"identifier\": \"total_use_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": true}, {\"name\": \"用户（年度）累计用水量\", \"unit\": \"m³\", \"guideCode\": \"FFAB\", \"expression\": \"N(10,2)\", \"identifier\": \"user_year_qa\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": true}, {\"name\": \"用户（年度）累计用电量\", \"unit\": \"kW·h\", \"guideCode\": \"FFAC\", \"expression\": \"N(10,2)\", \"identifier\": \"user_year_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": true}, {\"name\": \"计划ID\", \"unit\": \"\", \"guideCode\": \"FFAE\", \"expression\": \"S(4)\", \"identifier\": \"plan_id\", \"invalidValue\": \"AAAA\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2\", \"selfParseable\": true}, {\"$ref\": \"$.factors[1]\"}, {\"$ref\": \"$.factors[4]\"}, {\"$ref\": \"$.factors[5]\"}, {\"$ref\": \"$.factors[7]\"}, {\"$ref\": \"$.factors[44]\"}, {\"$ref\": \"$.factors[40]\"}, {\"$ref\": \"$.factors[41]\"}, {\"$ref\": \"$.factors[27]\"}, {\"$ref\": \"$.factors[2]\"}], \"effective\": true, \"inboundOnly\": true, \"functionCode\": \"e1,e2\", \"functionName\": \"机井开泵上报,机井关泵上报\", \"functionCodes\": [\"e1\", \"e2\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"nodeId\": \"0node_clientClassficationCode\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factor\", \"nodeId\": \"0node_observerTime\", \"explain\": \"f0\", \"nodeKey\": \"observerTime\", \"nodeName\": \"观测时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_versionNumber\", \"explain\": \"fffe\", \"nodeKey\": \"versionNumber\", \"nodeName\": \"版本号\"}, {\"type\": \"factors\", \"nodeId\": \"0node_dynamicFactorSet\", \"nodeKey\": \"dynamicFactorSet\", \"nodeName\": \"动态要素集合\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}], \"outboundEffective\": true}, {\"factors\": [{\"$ref\": \"$.factors[0]\"}, {\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33,e1,e2,e9\", \"selfParseable\": false}, {\"$ref\": \"$.factors[3]\"}, {\"$ref\": \"$.factors[43]\"}, {\"name\": \"当前用户\", \"unit\": \"\", \"guideCode\": \"FF06\", \"expression\": \"SUB(16,8)\", \"identifier\": \"active_account\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2,e9\", \"selfParseable\": false}, {\"$ref\": \"$.factors[20]\"}, {\"$ref\": \"$.factors[33]\"}, {\"$ref\": \"$.factors[24]\"}, {\"$ref\": \"$.factors[49]\"}, {\"name\": \"总使用金额\", \"unit\": \"元\", \"guideCode\": \"FFA6\", \"expression\": \"N(10,2)\", \"identifier\": \"total_use_money\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9\", \"selfParseable\": true}, {\"name\": \"总使用水量\", \"unit\": \"m³\", \"guideCode\": \"FFA7\", \"expression\": \"N(10,2)\", \"identifier\": \"total_use_water\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9\", \"selfParseable\": true}, {\"name\": \"总使用电量\", \"unit\": \"kW·h\", \"guideCode\": \"FFA8\", \"expression\": \"N(10,2)\", \"identifier\": \"total_use_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9\", \"selfParseable\": true}, {\"name\": \"用户（年度）累计用水量\", \"unit\": \"m³\", \"guideCode\": \"FFAB\", \"expression\": \"N(10,2)\", \"identifier\": \"user_year_qa\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9\", \"selfParseable\": true}, {\"name\": \"用户（年度）累计用电量\", \"unit\": \"kW·h\", \"guideCode\": \"FFAC\", \"expression\": \"N(10,2)\", \"identifier\": \"user_year_elec\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"e1,e2,e9\", \"selfParseable\": true}, {\"$ref\": \"$.factors[58]\"}], \"effective\": true, \"inboundOnly\": true, \"functionCode\": \"e9\", \"functionName\": \"实时交易报\", \"functionCodes\": [\"e9\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"nodeId\": \"0node_clientClassficationCode\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factor\", \"nodeId\": \"0node_observerTime\", \"explain\": \"f0\", \"nodeKey\": \"observerTime\", \"nodeName\": \"观测时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_versionNumber\", \"explain\": \"fffe\", \"nodeKey\": \"versionNumber\", \"nodeName\": \"版本号\"}, {\"type\": \"factors\", \"nodeId\": \"0node_dynamicFactorSet\", \"nodeKey\": \"dynamicFactorSet\", \"nodeName\": \"动态要素集合\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}], \"outboundEffective\": true}, {\"effective\": true, \"inboundOnly\": false, \"functionCode\": \"e8\", \"functionName\": \"授权名单更新\", \"functionCodes\": [\"e8\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}, {\"type\": \"list\", \"notes\": \"授权名单列表，多个卡号\", \"nodeId\": \"0node_cardNumList\", \"nodeKey\": \"cardNumList\", \"pattern\": \"\", \"paramKey\": \"cardNumList\", \"required\": true, \"listParam\": {\"type\": \"param\", \"notes\": \"4位HEX字符\", \"nodeId\": \"0node_cardNumber\", \"nodeKey\": \"cardNumber\", \"pattern\": \"\", \"paramKey\": \"cardNumber\", \"required\": true, \"paramName\": \"卡号\"}, \"paramName\": \"授权名单\"}], \"outboundEffective\": true}, {\"factors\": [{\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33,e1,e2,e9,4c\", \"selfParseable\": false}], \"effective\": true, \"inboundOnly\": false, \"functionCode\": \"4c\", \"functionName\": \"远程开关泵\", \"functionCodes\": [\"4c\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"nodeId\": \"0node_result\", \"explain\": \"E(2,00-close,01-open)\", \"nodeKey\": \"result\", \"nodeName\": \"水泵开关机\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}, {\"type\": \"param\", \"notes\": \"2位HEX字符\", \"nodeId\": \"0node_operation\", \"nodeKey\": \"operation\", \"pattern\": \"01{0}\", \"paramKey\": \"operation\", \"required\": true, \"paramName\": \"开关操作\"}], \"outboundEffective\": true}, {\"factors\": [{\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33,e1,e2,e9,4c,eb\", \"selfParseable\": false}, {\"name\": \"当前用户\", \"unit\": \"\", \"guideCode\": \"FF06\", \"expression\": \"SUB(16,8)\", \"identifier\": \"active_account\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2,e9,eb\", \"selfParseable\": false}], \"effective\": true, \"inboundOnly\": false, \"functionCode\": \"eb\", \"functionName\": \"远程开关泵（计费）\", \"functionCodes\": [\"eb\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"nodeId\": \"0node_clientClassficationCode\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factor\", \"nodeId\": \"0node_activeAccount\", \"explain\": \"ff06\", \"nodeKey\": \"activeAccount\", \"nodeName\": \"当前用户\"}, {\"type\": \"value\", \"nodeId\": \"0node_result\", \"explain\": \"E(2,00-fail,01-success)\", \"nodeKey\": \"result\", \"nodeName\": \"结果\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}, {\"type\": \"param\", \"notes\": \"2位HEX字符\", \"nodeId\": \"0node_operation\", \"nodeKey\": \"operation\", \"pattern\": \"{0}\", \"paramKey\": \"operation\", \"required\": true, \"paramName\": \"开关操作\"}, {\"type\": \"param\", \"notes\": \"8字节BCD码\", \"nodeId\": \"0node_cardNumber\", \"nodeKey\": \"cardNumber\", \"pattern\": \"FF0640{0}\", \"paramKey\": \"cardNumber\", \"required\": true, \"paramName\": \"用户卡号\"}, {\"type\": \"param\", \"notes\": \"5字节BCD码\", \"nodeId\": \"0node_balance\", \"nodeKey\": \"balance\", \"pattern\": \"FFA12A{0}\", \"paramKey\": \"balance\", \"required\": true, \"paramName\": \"余额\"}], \"outboundEffective\": true}, {\"factors\": [{\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33,e1,e2,e9,4c,eb,d1\", \"selfParseable\": false}, {\"name\": \"当前用户\", \"unit\": \"\", \"guideCode\": \"FF06\", \"expression\": \"SUB(16,8)\", \"identifier\": \"active_account\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2,e9,eb,d1\", \"selfParseable\": false}, {\"$ref\": \"$.factors[35]\"}, {\"$ref\": \"$.factors[48]\"}, {\"$ref\": \"$.factors[23]\"}, {\"$ref\": \"$.factors[50]\"}], \"effective\": true, \"inboundOnly\": false, \"functionCode\": \"d1\", \"functionName\": \"远程充值\", \"functionCodes\": [\"d1\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"nodeId\": \"0node_clientClassficationCode\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factor\", \"nodeId\": \"0node_activeAccount\", \"explain\": \"ff06\", \"nodeKey\": \"activeAccount\", \"nodeName\": \"当前用户\"}, {\"type\": \"factor\", \"nodeId\": \"0node_totalPayWater\", \"explain\": \"ffa4\", \"nodeKey\": \"totalPayWater\", \"nodeName\": \"总充值水量\"}, {\"type\": \"factor\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"ffaa\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"充值流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_result\", \"explain\": \"E(2,00-success,01-fail)\", \"nodeKey\": \"result\", \"nodeName\": \"结果\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}, {\"type\": \"param\", \"notes\": \"8字节BCD码\", \"nodeId\": \"0node_cardNumber\", \"nodeKey\": \"cardNumber\", \"pattern\": \"FF0640{0}\", \"paramKey\": \"cardNumber\", \"required\": true, \"paramName\": \"用户卡号\"}, {\"type\": \"param\", \"notes\": \"5字节BCD码\", \"nodeId\": \"0node_rechargeValue\", \"nodeKey\": \"rechargeValue\", \"pattern\": \"FFA42A{0}\", \"paramKey\": \"rechargeValue\", \"required\": true, \"paramName\": \"总充值量\"}, {\"type\": \"param\", \"notes\": \"4字节BCD码\", \"nodeId\": \"0node_rechargeSerial\", \"nodeKey\": \"rechargeSerial\", \"pattern\": \"FFAA20{0}\", \"paramKey\": \"rechargeSerial\", \"required\": true, \"paramName\": \"充值流水号\"}], \"outboundEffective\": true}, {\"factors\": [{\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33,e1,e2,e9,4c,eb,d1,4a\", \"selfParseable\": false}], \"effective\": true, \"inboundOnly\": false, \"functionCode\": \"4a\", \"functionName\": \"设置遥测站时钟\", \"functionCodes\": [\"4a\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}], \"outboundEffective\": true}, {\"factors\": [{\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33,e1,e2,e9,4c,eb,d1,4a,e6\", \"selfParseable\": false}], \"effective\": true, \"inboundOnly\": false, \"functionCode\": \"e6\", \"functionName\": \"远程重启\", \"functionCodes\": [\"e6\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}], \"outboundEffective\": true}, {\"factors\": [{\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33,e1,e2,e9,4c,eb,d1,4a,e6,d2\", \"selfParseable\": false}, {\"name\": \"当前用户\", \"unit\": \"\", \"guideCode\": \"FF06\", \"expression\": \"SUB(16,8)\", \"identifier\": \"active_account\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2,e9,eb,d1,d2\", \"selfParseable\": false}, {\"$ref\": \"$.factors[42]\"}, {\"$ref\": \"$.factors[28]\"}, {\"$ref\": \"$.factors[22]\"}, {\"$ref\": \"$.factors[56]\"}, {\"$ref\": \"$.factors[14]\"}], \"effective\": true, \"inboundOnly\": false, \"functionCode\": \"d2\", \"functionName\": \"读取用户余额\", \"functionCodes\": [\"d2\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"nodeId\": \"0node_clientClassficationCode\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factors\", \"nodeId\": \"0node_dynamicFactorSet\", \"nodeKey\": \"dynamicFactorSet\", \"nodeName\": \"动态要素集合\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}, {\"type\": \"param\", \"notes\": \"8字节BCD码\", \"nodeId\": \"0node_cardNumber\", \"nodeKey\": \"cardNumber\", \"pattern\": \"FF0640{0}\", \"paramKey\": \"cardNumber\", \"required\": true, \"paramName\": \"用户卡号\"}, {\"type\": \"param\", \"notes\": \"1字节HEX码\", \"nodeId\": \"0node_queryType\", \"nodeKey\": \"queryType\", \"pattern\": \"{0}\", \"paramKey\": \"queryType\", \"required\": true, \"paramName\": \"余额类型\"}], \"outboundEffective\": true}, {\"factors\": [{\"name\": \"遥测站地址\", \"unit\": \"\", \"guideCode\": \"F1\", \"expression\": \"S(10)\", \"identifier\": \"st\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,e7,34,33,e1,e2,e9,4c,eb,d1,4a,e6,d2,d4\", \"selfParseable\": false}, {\"name\": \"当前用户\", \"unit\": \"\", \"guideCode\": \"FF06\", \"expression\": \"SUB(16,8)\", \"identifier\": \"active_account\", \"prefixLength\": 2, \"suffixLength\": 0, \"functionCodes\": \"primary_32,34,33,e1,e2,e9,eb,d1,d2,d4\", \"selfParseable\": false}], \"effective\": true, \"inboundOnly\": false, \"functionCode\": \"d4\", \"functionName\": \"清除用户信息\", \"functionCodes\": [\"d4\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"nodeId\": \"0node_clientClassficationCode\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factor\", \"nodeId\": \"0node_activeAccount\", \"explain\": \"ff06\", \"nodeKey\": \"activeAccount\", \"nodeName\": \"当前用户\"}, {\"type\": \"value\", \"nodeId\": \"0node_result\", \"explain\": \"E(2,00-success,01-fail)\", \"nodeKey\": \"result\", \"nodeName\": \"结果\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}, {\"type\": \"param\", \"notes\": \"8字节BCD码\", \"nodeId\": \"0node_cardNumber\", \"nodeKey\": \"cardNumber\", \"pattern\": \"FF0640{0}\", \"paramKey\": \"cardNumber\", \"required\": true, \"paramName\": \"用户卡号\"}], \"outboundEffective\": true}, {\"factors\": [{\"$ref\": \"$.factors[46]\"}, {\"$ref\": \"$.factors[36]\"}], \"effective\": true, \"inboundOnly\": false, \"functionCode\": \"d7\", \"functionName\": \"清零用户余额\", \"functionCodes\": [\"d7\"], \"inboundMessages\": [{\"type\": \"serial\", \"nodeId\": \"0node_serialNumber\", \"explain\": \"S(4)\", \"nodeKey\": \"serialNumber\", \"nodeName\": \"流水号\"}, {\"type\": \"value\", \"nodeId\": \"0node_sendTime\", \"explain\": \"T(12,yyMMddHHmmss)\", \"nodeKey\": \"sendTime\", \"nodeName\": \"发报时间\"}, {\"type\": \"factor\", \"nodeId\": \"0node_clientAddress\", \"explain\": \"f1\", \"nodeKey\": \"clientAddress\", \"nodeName\": \"遥测站地址\"}, {\"type\": \"value\", \"nodeId\": \"0node_clientClassficationCode\", \"explain\": \"S(2)\", \"nodeKey\": \"clientClassficationCode\", \"nodeName\": \"遥测站分类码\"}, {\"type\": \"factor\", \"nodeId\": \"0node_activeAccount\", \"explain\": \"ff06\", \"nodeKey\": \"activeAccount\", \"nodeName\": \"当前用户\"}, {\"type\": \"value\", \"nodeId\": \"0node_result\", \"explain\": \"E(2,00-success,01-fail)\", \"nodeKey\": \"result\", \"nodeName\": \"结果\"}], \"inboundEffective\": true, \"outboundMessages\": [{\"type\": \"serial\", \"notes\": \"自动生成的四位流水号,使用serial函数\", \"nodeId\": \"0node_serial\", \"nodeKey\": \"serial\", \"pattern\": \"4\", \"paramKey\": \"serial\", \"required\": true, \"paramName\": \"流水号\"}, {\"type\": \"timestamp\", \"notes\": \"自动生成的yyMMddHHmmss格式的10位字符,使用timestamp函数\", \"nodeId\": \"0node_sendTime\", \"nodeKey\": \"sendTime\", \"pattern\": \"yyMMddHHmmss\", \"paramKey\": \"sendTime\", \"required\": true, \"paramName\": \"发报时间\"}, {\"type\": \"param\", \"notes\": \"8字节BCD码\", \"nodeId\": \"0node_cardNumber\", \"nodeKey\": \"cardNumber\", \"pattern\": \"FF0640{0}\", \"paramKey\": \"cardNumber\", \"required\": true, \"paramName\": \"用户卡号\"}], \"outboundEffective\": true}], \"primayFunctionCode\": \"32\"}', '[{\"name\": \"观测时间\", \"unit\": \"\", \"length\": 16, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"F0\", \"identifier\": \"tt\", \"functionCodes\": \"primary_32,e7,34,33,e1,e2,e9\"}, {\"name\": \"机井状态及报警信息\", \"unit\": \"\", \"length\": 4, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"45\", \"identifier\": \"\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"CSQ\", \"unit\": \"\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"FF02\", \"identifier\": \"csq\", \"functionCodes\": \"primary_32,34,e1,e2\"}, {\"name\": \"版本号\", \"unit\": \"\", \"length\": 4, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"FFFE\", \"identifier\": \"ver_num\", \"functionCodes\": \"primary_32,34,e1,e2,e9\"}, {\"name\": \"交流A相电压\", \"unit\": \"V\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"70\", \"identifier\": \"voltage_a\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"交流B相电压\", \"unit\": \"V\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"71\", \"identifier\": \"voltage_b\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"电表脉冲报警\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_electric_meter\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"交流C相电压\", \"unit\": \"V\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"72\", \"identifier\": \"voltage_c\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"盗水报警\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_steal_water\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"水质超限报警状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_water_quality\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"管道压力报警\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_pressure\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"累计流量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"FF01\", \"identifier\": \"qa\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"DI5状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_di5\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"DI6状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_di6\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"用户（年度）累计用电量\", \"unit\": \"kW·h\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"FFAC\", \"identifier\": \"user_year_elec\", \"functionCodes\": \"e1,e2,e9,d2\"}, {\"name\": \"IC卡功能有效\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_card\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"输出断相\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_out_voltage\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"交流电充电状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_elec\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"本次使用金额\", \"unit\": \"元\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"FF0C\", \"identifier\": \"use_money\", \"functionCodes\": \"e1,e2\"}, {\"name\": \"水位\", \"unit\": \"m\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"3C\", \"identifier\": \"water_level\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"本次使用电量\", \"unit\": \"kW·h\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"FF07\", \"identifier\": \"use_elec\", \"functionCodes\": \"e1,e2,e9\"}, {\"name\": \"输入断相\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_in_voltage\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"总使用电量\", \"unit\": \"kW·h\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"FFA8\", \"identifier\": \"total_use_elec\", \"functionCodes\": \"e1,e2,e9,d2\"}, {\"name\": \"总充值电量\", \"unit\": \"kW·h\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"FFA5\", \"identifier\": \"total_pay_elec\", \"functionCodes\": \"e1,e2,d1\"}, {\"name\": \"本次开始时间\", \"unit\": \"\", \"length\": 19, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"FF09\", \"identifier\": \"start_time\", \"functionCodes\": \"e1,e2,e9\"}, {\"name\": \"水泵工作状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_pump\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"管道水压\", \"unit\": \"KPa\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"58\", \"identifier\": \"pipe_pressure\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"工作电压\", \"unit\": \"V\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"38\", \"identifier\": \"vt\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"总使用水量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"FFA7\", \"identifier\": \"total_use_water\", \"functionCodes\": \"e1,e2,e9,d2\"}, {\"name\": \"流量仪表状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_flow_meter\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"倾斜报警\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_tilt\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"蓄电池电压状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_battery\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"水位仪表状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_water_meter\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"本次使用水量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"FF08\", \"identifier\": \"use_water\", \"functionCodes\": \"e1,e2,e9\"}, {\"name\": \"水位超限报警状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_water_level\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"总充值金额\", \"unit\": \"元\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"FFA3\", \"identifier\": \"total_pay_money\", \"functionCodes\": \"e1,e2,d1\"}, {\"name\": \"当前用户\", \"unit\": \"\", \"length\": 8, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"FF06\", \"identifier\": \"active_account\", \"functionCodes\": \"primary_32,34,33,e1,e2,e9,eb,d1,d2,d4,d7\"}, {\"name\": \"过载报警\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_overload\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"累计电量\", \"unit\": \"°\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"FF05\", \"identifier\": \"total_elec\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"异常关泵\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_close_pump\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"交流B相电流\", \"unit\": \"A\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"74\", \"identifier\": \"elec_b\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"交流C相电流\", \"unit\": \"A\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"75\", \"identifier\": \"elec_c\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"总使用金额\", \"unit\": \"元\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"FFA6\", \"identifier\": \"total_use_money\", \"functionCodes\": \"e1,e2,e9,d2\"}, {\"name\": \"机井编号\", \"unit\": \"\", \"length\": 10, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"FF0B\", \"identifier\": \"rig_num\", \"functionCodes\": \"primary_32,34,e1,e2,e9\"}, {\"name\": \"交流A相电流\", \"unit\": \"A\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"73\", \"identifier\": \"elec_a\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"剩余水量报警\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_surplus_water\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"遥测站地址\", \"unit\": \"\", \"length\": 10, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"F1\", \"identifier\": \"st\", \"functionCodes\": \"primary_32,e7,34,33,e1,e2,e9,4c,eb,d1,4a,e6,d2,d4,d7\"}, {\"name\": \"本年累计流量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"FF04\", \"identifier\": \"year_qa\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"总充值水量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"FFA4\", \"identifier\": \"total_pay_water\", \"functionCodes\": \"e1,e2,d1\"}, {\"name\": \"本次结束时间\", \"unit\": \"\", \"length\": 19, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"FF0A\", \"identifier\": \"end_time\", \"functionCodes\": \"e1,e2,e9\"}, {\"name\": \"充值流水号\", \"unit\": \"\", \"length\": 4, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"FFAA\", \"identifier\": \"serial_number\", \"functionCodes\": \"d1\"}, {\"name\": \"蝶阀状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_bamper\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"电能仪表状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_elec_meter\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"瞬时流量\", \"unit\": \"m³/s\", \"length\": 0, \"accuracy\": 3, \"dataType\": \"number\", \"factorCode\": \"28\", \"identifier\": \"q\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"终端箱门状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_door\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"流量超限报警状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_flow\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"用户（年度）累计用水量\", \"unit\": \"m³\", \"length\": 0, \"accuracy\": 2, \"dataType\": \"number\", \"factorCode\": \"FFAB\", \"identifier\": \"user_year_qa\", \"functionCodes\": \"e1,e2,e9,d2\"}, {\"name\": \"存储器状态\", \"unit\": \"\", \"length\": 1, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"\", \"identifier\": \"state_memorizer\", \"functionCodes\": \"primary_32,34,33,e1,e2\"}, {\"name\": \"计划ID\", \"unit\": \"\", \"length\": 4, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"FFAE\", \"identifier\": \"plan_id\", \"functionCodes\": \"e1,e2,e9\"}]', '[{\"quick\": false, \"params\": [{\"required\": true, \"paramCode\": \"cardNumList\", \"paramLabel\": \"授权名单\", \"explanation\": \"授权名单列表，多个卡号\"}], \"paramNum\": 1, \"directiveCode\": \"e8\", \"directiveName\": \"授权名单更新\"}, {\"quick\": false, \"params\": [{\"required\": true, \"paramCode\": \"operation\", \"paramLabel\": \"开关操作\", \"explanation\": \"2位HEX字符\"}], \"paramNum\": 1, \"directiveCode\": \"4c\", \"directiveName\": \"远程开关泵\"}, {\"quick\": false, \"params\": [{\"required\": true, \"paramCode\": \"operation\", \"paramLabel\": \"开关操作\", \"explanation\": \"2位HEX字符\"}, {\"required\": true, \"paramCode\": \"cardNumber\", \"paramLabel\": \"用户卡号\", \"explanation\": \"8字节BCD码\"}, {\"required\": true, \"paramCode\": \"balance\", \"paramLabel\": \"余额\", \"explanation\": \"5字节BCD码\"}], \"paramNum\": 3, \"directiveCode\": \"eb\", \"directiveName\": \"远程开关泵（计费）\"}, {\"quick\": false, \"params\": [{\"required\": true, \"paramCode\": \"cardNumber\", \"paramLabel\": \"用户卡号\", \"explanation\": \"8字节BCD码\"}, {\"required\": true, \"paramCode\": \"rechargeValue\", \"paramLabel\": \"总充值量\", \"explanation\": \"5字节BCD码\"}, {\"required\": true, \"paramCode\": \"rechargeSerial\", \"paramLabel\": \"充值流水号\", \"explanation\": \"4字节BCD码\"}], \"paramNum\": 3, \"directiveCode\": \"d1\", \"directiveName\": \"远程充值\"}, {\"quick\": false, \"params\": [], \"paramNum\": 0, \"directiveCode\": \"4a\", \"directiveName\": \"设置遥测站时钟\"}, {\"quick\": false, \"params\": [], \"paramNum\": 0, \"directiveCode\": \"e6\", \"directiveName\": \"远程重启\"}, {\"quick\": false, \"params\": [{\"required\": true, \"paramCode\": \"cardNumber\", \"paramLabel\": \"用户卡号\", \"explanation\": \"8字节BCD码\"}, {\"required\": true, \"paramCode\": \"queryType\", \"paramLabel\": \"余额类型\", \"explanation\": \"1字节HEX码\"}], \"paramNum\": 2, \"directiveCode\": \"d2\", \"directiveName\": \"读取用户余额\"}, {\"quick\": false, \"params\": [{\"required\": true, \"paramCode\": \"cardNumber\", \"paramLabel\": \"用户卡号\", \"explanation\": \"8字节BCD码\"}], \"paramNum\": 1, \"directiveCode\": \"d4\", \"directiveName\": \"清除用户信息\"}, {\"quick\": false, \"params\": [{\"required\": true, \"paramCode\": \"cardNumber\", \"paramLabel\": \"用户卡号\", \"explanation\": \"8字节BCD码\"}], \"paramNum\": 1, \"directiveCode\": \"d7\", \"directiveName\": \"清零用户余额\"}]', '[]', 1099, '2023-12-11 10:52:35', '2023-12-11 10:52:35');
INSERT INTO `dev_protocol_version` VALUES (1734043641060368386, 1734043640997453825, '1.0.0', 1, '', NULL, '{\"factors\": [{\"name\": \"电源电压\", \"unit\": \"v\", \"guideCode\": \"38\", \"expression\": \"N(4,1)\", \"identifier\": \"power_voltage\", \"prefixLength\": 0, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"被盗报警\", \"unit\": \"\", \"guideCode\": \"76\", \"expression\": \"N(2,0)\", \"identifier\": \"stolen_alarm\", \"prefixLength\": 0, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"箱门报警\", \"unit\": \"\", \"guideCode\": \"77\", \"expression\": \"N(2,0)\", \"identifier\": \"cabinet_door_alarm\", \"prefixLength\": 0, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"系统状态\", \"unit\": \"\", \"guideCode\": \"79\", \"expression\": \"N(2,0)\", \"identifier\": \"system_status\", \"prefixLength\": 0, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"GPRS信号强度\", \"unit\": \"\", \"guideCode\": \"80\", \"expression\": \"N(2,0)\", \"identifier\": \"gprs_signal_strength\", \"prefixLength\": 0, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"播放状态\", \"unit\": \"\", \"guideCode\": \"81\", \"expression\": \"N(2,0)\", \"identifier\": \"playback_status\", \"prefixLength\": 0, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"使用电源\", \"unit\": \"\", \"guideCode\": \"78_0\", \"expression\": \"S(2)\", \"identifier\": \"use_power\", \"prefixLength\": 0, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"电源充电状态\", \"unit\": \"\", \"guideCode\": \"78_1\", \"expression\": \"S(2)\", \"identifier\": \"battery_status\", \"prefixLength\": 0, \"suffixLength\": 0, \"selfParseable\": true}, {\"name\": \"电源电压状态\", \"unit\": \"\", \"guideCode\": \"78_2\", \"expression\": \"S(2)\", \"identifier\": \"voltage_status\", \"prefixLength\": 0, \"suffixLength\": 0, \"selfParseable\": true}], \"atParams\": [{\"paramCode\": \"0001\", \"paramName\": \"预置内容1\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+LRMSETTXT1\"}, {\"paramCode\": \"0002\", \"paramName\": \"预置内容2\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+LRMSETTXT2\"}, {\"paramCode\": \"0003\", \"paramName\": \"预置内容3\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+LRMSETTXT3\"}, {\"paramCode\": \"0004\", \"paramName\": \"电话预警优先级\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMPHNPRIO\"}, {\"paramCode\": \"0005\", \"paramName\": \"短信预警优先级\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMSMSPRIO\"}, {\"paramCode\": \"0006\", \"paramName\": \"GPRS数据预警优先级\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMGPRSPRIO\"}, {\"paramCode\": \"0007\", \"paramName\": \"本地麦克风预警优先级\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMMICPRIO\"}, {\"paramCode\": \"0008\", \"paramName\": \"对讲机预警优先级\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMINPHNPRIO\"}, {\"paramCode\": \"0009\", \"paramName\": \"FM调频预警优先级\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMFMPRIO\"}, {\"paramCode\": \"000A\", \"paramName\": \"MP3预警优先级\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMMP3PRIO\"}, {\"paramCode\": \"000B\", \"paramName\": \"预置内容预警优先级\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMLCLLRMPRIO\"}, {\"paramCode\": \"000C\", \"paramName\": \"Line in输入预警优先级\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMLINEPRIO\"}, {\"paramCode\": \"000D\", \"paramName\": \"短信预警播报次数\", \"paramType\": \"unsigned short\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMSMSPLYNUM\"}, {\"paramCode\": \"000E\", \"paramName\": \"GPRS预警播放次数\", \"paramType\": \"unsigned short\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMGPRSPLYNUM\"}, {\"paramCode\": \"000F\", \"paramName\": \"本地预警播报次数\", \"paramType\": \"unsigned short\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMLCLLRMPLYNUM\"}, {\"paramCode\": \"0010\", \"paramName\": \"数据中心数目\", \"paramType\": \"unsigned int\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+SVRCNT\"}, {\"paramCode\": \"0011\", \"paramName\": \"GPRS主中心地址\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+IPAD\"}, {\"paramCode\": \"0012\", \"paramName\": \"GPRS主中心端口\", \"paramType\": \"unsigned short\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+PORT\"}, {\"paramCode\": \"0013\", \"paramName\": \"GPRS备份中心地址\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+IPSEC\"}, {\"paramCode\": \"0014\", \"paramName\": \"GPRS备份中心端口\", \"paramType\": \"unsigned short\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+PTSEC\"}, {\"paramCode\": \"0015\", \"paramName\": \"主中心DNS服务器IP\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+DNSSVR\"}, {\"paramCode\": \"0016\", \"paramName\": \"备份中心DNS服务器IP\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+DNSSV2\"}, {\"paramCode\": \"0017\", \"paramName\": \"调试等级\", \"paramType\": \"unsigned short\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+DEBUG\"}, {\"paramCode\": \"0018\", \"paramName\": \"是否自动返回主中心\", \"paramType\": \"unsigned short\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+RETMAIN\"}, {\"paramCode\": \"0019\", \"paramName\": \"设备ID号码\", \"paramType\": \"unsigned long\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+IDNT\"}, {\"paramCode\": \"001A\", \"paramName\": \"设备SIM号码\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+PHON\"}, {\"paramCode\": \"001B\", \"paramName\": \"重连时尝试次数\", \"paramType\": \"unsigned short\", \"paramCharset\": \"Hex\", \"atCommandCode\": \"atCommandCode+RETRY\"}, {\"paramCode\": \"001C\", \"paramName\": \"重连任务之间的间隔\", \"paramType\": \"unsigned short\", \"paramCharset\": \"Hex\", \"atCommandCode\": \"atCommandCode+RDLWT\"}, {\"paramCode\": \"001D\", \"paramName\": \"无线网络APN\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+APN\"}, {\"paramCode\": \"001E\", \"paramName\": \"APN用户名\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+USERNAME\"}, {\"paramCode\": \"001F\", \"paramName\": \"APN密码\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+PASSWORD\"}, {\"paramCode\": \"0020\", \"paramName\": \"APN拨号中心号码\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+CENT\"}, {\"paramCode\": \"0021\", \"paramName\": \"短信中心号码（+86）\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+SMSC\"}, {\"paramCode\": \"0022\", \"paramName\": \"心跳包时间\", \"paramType\": \"unsigned short\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+POLLTIME\"}, {\"paramCode\": \"0023\", \"paramName\": \"PIN码\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+SETPASSWORD\"}, {\"paramCode\": \"0024\", \"paramName\": \"是否开启录音\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMRECORD\"}, {\"paramCode\": \"0025\", \"paramName\": \"录音码率（KPS）\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMRECORDCODERatCommandCodeE\"}, {\"paramCode\": \"0026\", \"paramName\": \"是否短信回执\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMSMSRSP\"}, {\"paramCode\": \"0027\", \"paramName\": \"是否短信预警备份\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMSMSBK\"}, {\"paramCode\": \"0028\", \"paramName\": \"状态短信发送时间间隔（分钟）\", \"paramType\": \"unsigned short\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMSTatCommandCodeESMSTIME\"}, {\"paramCode\": \"0029\", \"paramName\": \"FM接收频率（MHz）\", \"paramType\": \"unsigned short\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMFMFREQ\"}, {\"paramCode\": \"002A\", \"paramName\": \"FM接收信噪比\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMFMSNR\"}, {\"paramCode\": \"002B\", \"paramName\": \"FM音量\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMFMVOICE\"}, {\"paramCode\": \"002C\", \"paramName\": \"是否启用FM接收\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMFMRECEN\"}, {\"paramCode\": \"002D\", \"paramName\": \"MP3播放模式\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMMP3PLYMODE\"}, {\"paramCode\": \"002E\", \"paramName\": \"MP3播放音量\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMMP3LVL\"}, {\"paramCode\": \"002F\", \"paramName\": \"TTS语音模式\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMTTSVOICE\"}, {\"paramCode\": \"0030\", \"paramName\": \"TTS播放音量\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMTTSLVL\"}, {\"paramCode\": \"0031\", \"paramName\": \"TTS播放语速\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMTTSSPEED\"}, {\"paramCode\": \"0032\", \"paramName\": \"TTS播放语调\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMTTSTONE\"}, {\"paramCode\": \"0033\", \"paramName\": \"是否带通讯模块\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMMCUFUN\"}, {\"paramCode\": \"0034\", \"paramName\": \"是否开启对讲机模块\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMSETINPHNOPEN\"}, {\"paramCode\": \"0035\", \"paramName\": \"是否开启拾音器\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMAUDIOFUNOPEN\"}, {\"paramCode\": \"0036\", \"paramName\": \"管理号码\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+LRMADDADMINNO\"}, {\"paramCode\": \"0037\", \"paramName\": \"授权号码\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+LRMADDLRMNO\"}, {\"paramCode\": \"0038\", \"paramName\": \"备份号码\", \"paramType\": \"char\", \"paramCharset\": \"GBK\", \"atCommandCode\": \"atCommandCode+LRMADDBKNO\"}, {\"paramCode\": \"0039\", \"paramName\": \"喇叭防盗报警是否发送到备份号码池中的号码\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMLDSSMS\"}, {\"paramCode\": \"0040\", \"paramName\": \"预警设备防盗报警是否发送备份号码池中的号码\", \"paramType\": \"char\", \"paramCharset\": \"HEX\", \"atCommandCode\": \"atCommandCode+LRMSAFESMS\"}], \"versionName\": \"预警广播协议\", \"versionLowBit\": \"02\", \"versionHighBit\": \"11\", \"collectMessages\": [{\"name\": \"山洪预警\", \"inCode\": \"0001\", \"inBody1\": [], \"inBody2\": [{\"valueCode\": \"isSuccess\", \"valueName\": \"是否成功\", \"valueExpression\": \"E(2,01-成功,00-失败)\"}], \"outCode\": \"8001\", \"outBody1\": [], \"outBody2\": [{\"argCode\": \"broadcastText\", \"argName\": \"广播文本\", \"argNotes\": \"广播文本\", \"argCharset\": \"GBK\"}]}, {\"name\": \"播放MP3\", \"inCode\": \"0101\", \"inBody1\": [], \"inBody2\": [{\"valueCode\": \"isSuccess\", \"valueName\": \"是否成功\", \"valueExpression\": \"E(2,01-成功,00-失败)\"}], \"outCode\": \"8101\", \"outBody1\": [], \"outBody2\": [{\"argCode\": \"songName\", \"argName\": \"歌曲名称\", \"argNotes\": \"5位数值歌曲名称,例如00001\", \"argCharset\": \"GBK\"}]}, {\"name\": \"停止播放MP3\", \"inCode\": \"0102\", \"inBody1\": [], \"inBody2\": [{\"valueCode\": \"isSuccess\", \"valueName\": \"是否成功\", \"valueExpression\": \"E(2,01-成功,00-失败)\"}], \"outCode\": \"8102\", \"outBody1\": [], \"outBody2\": []}, {\"name\": \"预置预警, 停止预警, 设置音频流\", \"inCode\": \"0225\", \"inBody1\": [], \"inBody2\": [{\"valueCode\": \"replyMessage\", \"valueName\": \"响应内容\", \"valueExpression\": \"HS(0)\"}], \"outCode\": \"8225\", \"outBody1\": [], \"outBody2\": [{\"argCode\": \"message\", \"argName\": \"AT指令内容\", \"argNotes\": \"<SETALARMRELAY=10,2,30;>\", \"argCharset\": \"GBK\"}]}], \"configureMessages\": [{\"name\": \"重启设备\", \"inCode\": \"01A0\", \"inBody1\": [], \"inBody2\": [], \"outCode\": \"81A0\", \"outBody1\": [], \"outBody2\": []}, {\"name\": \"查询设备版本\", \"inCode\": \"0201\", \"inBody1\": [], \"inBody2\": [{\"valueCode\": \"appVersion\", \"valueName\": \"APP版本\", \"valueExpression\": \"HS(80)\"}, {\"valueCode\": \"bootVersion\", \"valueName\": \"BOOT版本\", \"valueExpression\": \"HS(80)\"}], \"outCode\": \"8201\", \"outBody1\": [], \"outBody2\": []}, {\"name\": \"中心下发配置查询\", \"inCode\": \"0224\", \"inBody1\": [], \"inBody2\": [{\"valueCode\": \"paramNumber\", \"valueName\": \"参数个数\", \"valueExpression\": \"HN(2)\"}, {\"valueCode\": \"configParam\", \"valueName\": \"配置参数\", \"valueExpression\": \"AT-P()\"}], \"outCode\": \"8224\", \"outBody1\": [], \"outBody2\": [], \"requestReport\": true}, {\"name\": \"定时报\", \"inCode\": \"0202\", \"inBody1\": [], \"inBody2\": [{\"type\": \"factor\", \"explain\": \"38\", \"valueCode\": \"power_voltage\", \"valueName\": \"电源电压\", \"valueExpression\": \"N(4,1)\"}, {\"type\": \"factor\", \"explain\": \"76\", \"valueCode\": \"stolen_alarm\", \"valueName\": \"被盗报警\", \"valueExpression\": \"N(2,0)\"}, {\"type\": \"factor\", \"explain\": \"77\", \"valueCode\": \"cabinet_door_alarm\", \"valueName\": \"箱门报警\", \"valueExpression\": \"N(2,0)\"}, {\"type\": \"factor\", \"explain\": [{\"guideCode\": \"78_0\", \"expression\": \"S(2)\", \"identifier\": \"use_power\", \"prefixLength\": 0, \"suffixLength\": 0}, {\"guideCode\": \"78_1\", \"expression\": \"S(2)\", \"identifier\": \"battery_status\", \"prefixLength\": 0, \"suffixLength\": 0}, {\"guideCode\": \"78_2\", \"expression\": \"S(2)\", \"identifier\": \"voltage_status\", \"prefixLength\": 0, \"suffixLength\": 0}, {\"guideCode\": \"78_3\", \"expression\": \"S(2)\", \"identifier\": \"mode\", \"prefixLength\": 0, \"suffixLength\": 0}], \"valueCode\": \"power_status\", \"valueName\": \"电源状态\", \"valueExpression\": \"S(2)\"}, {\"type\": \"factor\", \"explain\": \"79\", \"valueCode\": \"system_status\", \"valueName\": \"系统状态\", \"valueExpression\": \"N(2,0)\"}, {\"type\": \"factor\", \"explain\": \"80\", \"valueCode\": \"gprs_signal_strength\", \"valueName\": \"GPRS信号强度\", \"valueExpression\": \"N(2,0)\"}, {\"type\": \"factor\", \"explain\": \"81\", \"valueCode\": \"playback_status\", \"valueName\": \"播放状态\", \"valueExpression\": \"N(2,0)\"}], \"outCode\": \"8202\", \"outBody1\": [], \"outBody2\": [], \"requestReport\": true}, {\"name\": \"终端录音文件FTP上传成功通知\", \"inCode\": \"0307\", \"inBody1\": [], \"inBody2\": [{\"valueCode\": \"upload_path\", \"valueName\": \"filePath\", \"valueExpression\": \"HS(0)\"}], \"outCode\": \"8307\", \"outBody1\": [], \"outBody2\": [], \"requestReport\": true}]}', '[{\"name\": \"电源电压\", \"unit\": \"v\", \"length\": 0, \"accuracy\": 1, \"dataType\": \"number\", \"factorCode\": \"38\", \"identifier\": \"power_voltage\"}, {\"name\": \"被盗报警\", \"unit\": \"\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"76\", \"identifier\": \"stolen_alarm\"}, {\"name\": \"箱门报警\", \"unit\": \"\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"77\", \"identifier\": \"cabinet_door_alarm\"}, {\"name\": \"系统状态\", \"unit\": \"\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"79\", \"identifier\": \"system_status\"}, {\"name\": \"GPRS信号强度\", \"unit\": \"\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"80\", \"identifier\": \"gprs_signal_strength\"}, {\"name\": \"播放状态\", \"unit\": \"\", \"length\": 0, \"accuracy\": 0, \"dataType\": \"number\", \"factorCode\": \"81\", \"identifier\": \"playback_status\"}, {\"name\": \"使用电源\", \"unit\": \"\", \"length\": 2, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"78_0\", \"identifier\": \"use_power\"}, {\"name\": \"电源充电状态\", \"unit\": \"\", \"length\": 2, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"78_1\", \"identifier\": \"battery_status\"}, {\"name\": \"电源电压状态\", \"unit\": \"\", \"length\": 2, \"accuracy\": 0, \"dataType\": \"char\", \"factorCode\": \"78_2\", \"identifier\": \"voltage_status\"}]', '[{\"quick\": false, \"params\": [{\"required\": true, \"paramCode\": \"broadcastText\", \"paramLabel\": \"广播文本\", \"explanation\": \"广播文本\"}], \"paramNum\": 1, \"explanation\": \"山洪预警\", \"directiveCode\": \"8001\", \"directiveName\": \"山洪预警\"}, {\"quick\": false, \"params\": [{\"required\": true, \"paramCode\": \"songName\", \"paramLabel\": \"歌曲名称\", \"explanation\": \"5位数值歌曲名称,例如00001\"}], \"paramNum\": 1, \"explanation\": \"播放MP3\", \"directiveCode\": \"8101\", \"directiveName\": \"播放MP3\"}, {\"quick\": false, \"params\": [], \"paramNum\": 0, \"explanation\": \"停止播放MP3\", \"directiveCode\": \"8102\", \"directiveName\": \"停止播放MP3\"}, {\"quick\": false, \"params\": [{\"required\": true, \"paramCode\": \"message\", \"paramLabel\": \"AT指令内容\", \"explanation\": \"<SETALARMRELAY=10,2,30;>\"}], \"paramNum\": 1, \"explanation\": \"预置预警, 停止预警, 设置音频流\", \"directiveCode\": \"8225\", \"directiveName\": \"预置预警, 停止预警, 设置音频流\"}]', '[{\"quick\": true, \"params\": [], \"paramNum\": 0, \"explanation\": \"重启设备\", \"directiveCode\": \"81A0\", \"directiveName\": \"重启设备\"}, {\"quick\": true, \"params\": [], \"paramNum\": 0, \"explanation\": \"查询设备版本\", \"directiveCode\": \"8201\", \"directiveName\": \"查询设备版本\"}]', 1099, '2023-12-11 10:53:16', '2023-12-11 10:53:16');
INSERT INTO `dev_protocol_version` VALUES (1734043887630917634, 1734043887630917633, '1.0.0', 1, '', NULL, NULL, '[]', '[]', '[]', 1099, '2023-12-11 10:54:14', '2023-12-11 10:54:14');

-- ----------------------------
-- Table structure for dev_report_pic_history
-- ----------------------------
DROP TABLE IF EXISTS `dev_report_pic_history`;
CREATE TABLE `dev_report_pic_history`  (
  `id` bigint(0) NOT NULL COMMENT 'id',
  `unique_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联合唯一索引，用于防止重复数据',
  `tenant_id` bigint(0) NULL DEFAULT NULL COMMENT '租户id',
  `access_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备接入id',
  `camera_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '摄像头id',
  `channel` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '通道, 格式为设备accessId_摄像头id',
  `picture_type` tinyint(1) NULL DEFAULT NULL COMMENT '图片类型 01-抓拍 02-报警 03-定时',
  `picture_flag` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片标识',
  `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片路径',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `index_unique_key`(`unique_key`) USING BTREE,
  INDEX `index_channel`(`channel`) USING BTREE,
  INDEX `index_accessid`(`access_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '水文图片报-历史记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_report_pic_history
-- ----------------------------

-- ----------------------------
-- Table structure for dev_report_pic_last
-- ----------------------------
DROP TABLE IF EXISTS `dev_report_pic_last`;
CREATE TABLE `dev_report_pic_last`  (
  `id` bigint(0) NOT NULL COMMENT 'id',
  `unique_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联合唯一索引，用于防止重复数据',
  `tenant_id` bigint(0) NULL DEFAULT NULL COMMENT '租户id',
  `access_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备接入id',
  `camera_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '摄像头id',
  `channel` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '通道, 格式为设备accessId_摄像头id',
  `picture_type` tinyint(1) NULL DEFAULT NULL COMMENT '图片类型 01-抓拍 02-报警 03-定时',
  `picture_flag` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片标识',
  `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片路径',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `index_unique_key`(`unique_key`) USING BTREE,
  INDEX `index_channel`(`channel`) USING BTREE,
  INDEX `index_accessid`(`access_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '水文图片报-最新记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_report_pic_last
-- ----------------------------

-- ----------------------------
-- Table structure for dev_template
-- ----------------------------
DROP TABLE IF EXISTS `dev_template`;
CREATE TABLE `dev_template`  (
  `id` bigint(0) NOT NULL COMMENT 'id',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '模板名称',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '模板说明',
  `product_id` bigint(0) NULL DEFAULT NULL COMMENT '所属产品',
  `protocol_id` bigint(0) NULL DEFAULT NULL COMMENT '协议id',
  `protocol_version_id` bigint(0) NULL DEFAULT NULL COMMENT '协议版本id',
  `status` tinyint(1) NULL DEFAULT NULL COMMENT '状态(0-未发布,1-已发布)',
  `publish_time` datetime(0) NULL DEFAULT NULL COMMENT '发布时间',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  `type` tinyint(0) UNSIGNED NULL DEFAULT 0 COMMENT '模板类型(0-通用模板,1-专属模板)',
  `exclusive_tenant_id` bigint(0) NULL DEFAULT NULL COMMENT '专属租户ID',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `function_codes` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '功能码，多个以“,”隔开',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备模板表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_template
-- ----------------------------
INSERT INTO `dev_template` VALUES (1734052386754633730, '新预警协议(大广播V2)', '', 1679700269684776962, 1734043640997453825, 1734043641060368386, 0, NULL, 1099, 0, NULL, '2023-12-11 11:28:01', '2023-12-11 14:41:09', NULL);
INSERT INTO `dev_template` VALUES (1734052579864584193, '新预警协议(小广播V2)', '', 1679677823455879170, 1734043640997453825, 1734043641060368386, 0, NULL, 1099, 0, NULL, '2023-12-11 11:28:47', '2023-12-11 14:41:27', NULL);
INSERT INTO `dev_template` VALUES (1734056630249431041, 'JC100机井模板', '', 1632677336341045249, 1734043470494801921, 1734043470645796866, 0, NULL, 1099, 0, NULL, '2023-12-11 11:44:53', '2023-12-11 11:44:53', '33,34,e7,e9,e1,e2,d1,primary_32,d2');
INSERT INTO `dev_template` VALUES (1734100321743773697, '水文模板', '', 1592491573452500994, 1734041806035550209, 1734041806111047681, 0, NULL, 1099, 0, NULL, '2023-12-11 14:38:29', '2023-12-11 14:39:41', NULL);

-- ----------------------------
-- Table structure for dev_template_command_pannel_conf
-- ----------------------------
DROP TABLE IF EXISTS `dev_template_command_pannel_conf`;
CREATE TABLE `dev_template_command_pannel_conf`  (
  `id` bigint(0) NOT NULL,
  `template_id` bigint(0) NOT NULL COMMENT '设备模板id',
  `command_pannel_id` bigint(0) NOT NULL COMMENT '指令面板id',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建人id',
  `create_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备模板绑定的指令面板关系表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_template_command_pannel_conf
-- ----------------------------
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734056630316539926, 1734056630249431041, 1734055796937695234, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734056630316539927, 1734056630249431041, 1734055904370597889, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734056630316539928, 1734056630249431041, 1734055994548133890, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734100625436549121, 1734100321743773697, 1734061616882622466, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734100625436549122, 1734100321743773697, 1734062003421290497, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734100625436549123, 1734100321743773697, 1734062107922374658, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734100625436549124, 1734100321743773697, 1734062297131622401, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734100994333974529, 1734052386754633730, 1734052155312939010, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734100994333974530, 1734052386754633730, 1734052266562658305, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734100994333974531, 1734052386754633730, 1734052350926888961, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734100994333974532, 1734052386754633730, 1734061616882622466, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734101068447326210, 1734052579864584193, 1734052155312939010, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734101068447326211, 1734052579864584193, 1734052266562658305, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734101068447326212, 1734052579864584193, 1734052350926888961, 1099, NULL);
INSERT INTO `dev_template_command_pannel_conf` VALUES (1734101068447326213, 1734052579864584193, 1734061616882622466, 1099, NULL);

-- ----------------------------
-- Table structure for dev_template_factor_conf_release
-- ----------------------------
DROP TABLE IF EXISTS `dev_template_factor_conf_release`;
CREATE TABLE `dev_template_factor_conf_release`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `template_id` bigint(0) NULL DEFAULT NULL COMMENT '设备模板id',
  `identifier` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '要素标识符',
  `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '要素名称',
  `unit` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '计量单位',
  `data_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数据类型',
  `accuracy` int(0) NULL DEFAULT NULL COMMENT '精度',
  `range_start` double NULL DEFAULT NULL COMMENT '量程开始',
  `range_end` double NULL DEFAULT NULL COMMENT '量程结束',
  `length` int(0) NULL DEFAULT NULL COMMENT '长度',
  `publish_time` datetime(0) NULL DEFAULT NULL COMMENT '发布时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `factor_group` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '要素分组',
  `factor_label` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '要素标签',
  `factor_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '要素编码',
  `function_codes` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属功能码，多个以“,”隔开',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1734100321806688283 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备模板监测要素配置-发布版' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_template_factor_conf_release
-- ----------------------------
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052386884657154, 1734052386754633730, 'power_voltage', '电源电压', 'v', 'number', 1, NULL, NULL, 0, '2023-12-11 14:41:12', '2023-12-11 11:28:01', '2023-12-11 14:41:09', '实时监测信息', NULL, '38', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052386884657155, 1734052386754633730, 'stolen_alarm', '被盗报警', '', 'number', 0, NULL, NULL, 0, '2023-12-11 14:41:12', '2023-12-11 11:28:01', '2023-12-11 14:41:09', '实时监测信息', NULL, '76', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052386884657156, 1734052386754633730, 'cabinet_door_alarm', '箱门报警', '', 'number', 0, NULL, NULL, 0, '2023-12-11 14:41:12', '2023-12-11 11:28:01', '2023-12-11 14:41:09', '实时监测信息', NULL, '77', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052386884657157, 1734052386754633730, 'system_status', '系统状态', '', 'number', 0, NULL, NULL, 0, '2023-12-11 14:41:12', '2023-12-11 11:28:01', '2023-12-11 14:41:09', '实时监测信息', NULL, '79', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052386884657158, 1734052386754633730, 'gprs_signal_strength', 'GPRS信号强度', '', 'number', 0, NULL, NULL, 0, '2023-12-11 14:41:12', '2023-12-11 11:28:01', '2023-12-11 14:41:09', '实时监测信息', NULL, '80', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052386884657159, 1734052386754633730, 'playback_status', '播放状态', '', 'number', 0, NULL, NULL, 0, '2023-12-11 14:41:12', '2023-12-11 11:28:01', '2023-12-11 14:41:09', '实时监测信息', NULL, '81', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052386884657160, 1734052386754633730, 'use_power', '使用电源', '', 'char', 0, NULL, NULL, 2, '2023-12-11 14:41:12', '2023-12-11 11:28:01', '2023-12-11 14:41:09', '实时监测信息', NULL, '78_0', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052386884657161, 1734052386754633730, 'battery_status', '电源充电状态', '', 'char', 0, NULL, NULL, 2, '2023-12-11 14:41:12', '2023-12-11 11:28:01', '2023-12-11 14:41:09', '实时监测信息', NULL, '78_1', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052386884657162, 1734052386754633730, 'voltage_status', '电源电压状态', '', 'char', 0, NULL, NULL, 2, '2023-12-11 14:41:12', '2023-12-11 11:28:01', '2023-12-11 14:41:09', '实时监测信息', NULL, '78_2', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052579864584194, 1734052579864584193, 'power_voltage', '电源电压', 'v', 'number', 1, NULL, NULL, 0, '2023-12-11 14:41:30', '2023-12-11 11:28:47', '2023-12-11 14:41:27', '实时监测信息', NULL, '38', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052579864584195, 1734052579864584193, 'stolen_alarm', '被盗报警', '', 'number', 0, NULL, NULL, 0, '2023-12-11 14:41:30', '2023-12-11 11:28:47', '2023-12-11 14:41:27', '实时监测信息', NULL, '76', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052579864584196, 1734052579864584193, 'cabinet_door_alarm', '箱门报警', '', 'number', 0, NULL, NULL, 0, '2023-12-11 14:41:30', '2023-12-11 11:28:47', '2023-12-11 14:41:27', '实时监测信息', NULL, '77', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052579864584197, 1734052579864584193, 'system_status', '系统状态', '', 'number', 0, NULL, NULL, 0, '2023-12-11 14:41:30', '2023-12-11 11:28:47', '2023-12-11 14:41:27', '实时监测信息', NULL, '79', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052579864584198, 1734052579864584193, 'gprs_signal_strength', 'GPRS信号强度', '', 'number', 0, NULL, NULL, 0, '2023-12-11 14:41:30', '2023-12-11 11:28:47', '2023-12-11 14:41:27', '实时监测信息', NULL, '80', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052579864584199, 1734052579864584193, 'playback_status', '播放状态', '', 'number', 0, NULL, NULL, 0, '2023-12-11 14:41:30', '2023-12-11 11:28:47', '2023-12-11 14:41:27', '实时监测信息', NULL, '81', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052579864584200, 1734052579864584193, 'use_power', '使用电源', '', 'char', 0, NULL, NULL, 2, '2023-12-11 14:41:30', '2023-12-11 11:28:47', '2023-12-11 14:41:27', '实时监测信息', NULL, '78_0', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052579864584201, 1734052579864584193, 'battery_status', '电源充电状态', '', 'char', 0, NULL, NULL, 2, '2023-12-11 14:41:30', '2023-12-11 11:28:47', '2023-12-11 14:41:27', '实时监测信息', NULL, '78_1', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734052579864584202, 1734052579864584193, 'voltage_status', '电源电压状态', '', 'char', 0, NULL, NULL, 2, '2023-12-11 14:41:30', '2023-12-11 11:28:47', '2023-12-11 14:41:27', '实时监测信息', NULL, '78_2', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431042, 1734056630249431041, 'tt', '观测时间', '', 'char', 0, NULL, NULL, 16, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '工况信息', NULL, 'F0', 'primary_32,e7,34,33,e1,e2,e9');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431043, 1734056630249431041, 'csq', 'CSQ', '', 'number', 0, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '工况信息', NULL, 'FF02', 'primary_32,34,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431044, 1734056630249431041, 'voltage_a', '交流A相电压', 'V', 'number', 1, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '70', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431045, 1734056630249431041, 'voltage_b', '交流B相电压', 'V', 'number', 1, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '71', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431046, 1734056630249431041, 'state_electric_meter', '电表脉冲报警', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431047, 1734056630249431041, 'voltage_c', '交流C相电压', 'V', 'number', 1, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '72', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431048, 1734056630249431041, 'state_steal_water', '盗水报警', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431049, 1734056630249431041, 'state_water_quality', '水质超限报警状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431050, 1734056630249431041, 'state_pressure', '管道压力报警', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431051, 1734056630249431041, 'qa', '累计流量', 'm³', 'number', 2, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, 'FF01', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431052, 1734056630249431041, 'state_di5', 'DI5状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431053, 1734056630249431041, 'state_di6', 'DI6状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431054, 1734056630249431041, 'user_year_elec', '用户（年度）累计用电量', 'kW·h', 'number', 2, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, 'FFAC', 'e1,e2,e9,d2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431055, 1734056630249431041, 'state_card', 'IC卡功能有效', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431056, 1734056630249431041, 'state_elec', '交流电充电状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431057, 1734056630249431041, 'water_level', '水位', 'm', 'number', 3, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '3C', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431058, 1734056630249431041, 'use_elec', '本次使用电量', 'kW·h', 'number', 1, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, 'FF07', 'e1,e2,e9');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431059, 1734056630249431041, 'total_use_elec', '总使用电量', 'kW·h', 'number', 2, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, 'FFA8', 'e1,e2,e9,d2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431060, 1734056630249431041, 'total_pay_elec', '总充值电量', 'kW·h', 'number', 2, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, 'FFA5', 'e1,e2,d1');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431061, 1734056630249431041, 'state_pump', '水泵工作状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431062, 1734056630249431041, 'pipe_pressure', '管道水压', 'KPa', 'number', 2, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '58', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431063, 1734056630249431041, 'vt', '工作电压', 'V', 'number', 2, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '38', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431064, 1734056630249431041, 'total_use_water', '总使用水量', 'm³', 'number', 2, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, 'FFA7', 'e1,e2,e9,d2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630249431065, 1734056630249431041, 'state_flow_meter', '流量仪表状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539905, 1734056630249431041, 'state_tilt', '倾斜报警', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539906, 1734056630249431041, 'state_battery', '蓄电池电压状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539907, 1734056630249431041, 'state_water_meter', '水位仪表状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539908, 1734056630249431041, 'use_water', '本次使用水量', 'm³', 'number', 2, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, 'FF08', 'e1,e2,e9');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539909, 1734056630249431041, 'state_water_level', '水位超限报警状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539910, 1734056630249431041, 'total_elec', '累计电量', '°', 'number', 1, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, 'FF05', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539911, 1734056630249431041, 'elec_b', '交流B相电流', 'A', 'number', 1, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '74', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539912, 1734056630249431041, 'elec_c', '交流C相电流', 'A', 'number', 1, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '75', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539913, 1734056630249431041, 'state_surplus_water', '剩余水量报警', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539914, 1734056630249431041, 'year_qa', '本年累计流量', 'm³', 'number', 2, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, 'FF04', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539915, 1734056630249431041, 'state_bamper', '蝶阀状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539916, 1734056630249431041, 'state_elec_meter', '电能仪表状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539917, 1734056630249431041, 'q', '瞬时流量', 'm³/s', 'number', 3, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '28', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539918, 1734056630249431041, 'state_door', '终端箱门状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539919, 1734056630249431041, 'state_flow', '流量超限报警状态', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539920, 1734056630249431041, 'user_year_qa', '用户（年度）累计用水量', 'm³', 'number', 2, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, 'FFAB', 'e1,e2,e9,d2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539921, 1734056630249431041, 'state_close_pump', '异常关泵', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539922, 1734056630249431041, 'state_out_voltage', '输出断相', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539923, 1734056630249431041, 'state_in_voltage', '输入断相', '', 'char', 0, NULL, NULL, 1, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539924, 1734056630249431041, 'rig_num', '机井编号', '', 'char', 0, NULL, NULL, 10, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '工况信息', NULL, 'FF0B', 'primary_32,34,e1,e2,e9');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734056630316539925, 1734056630249431041, 'elec_a', '交流A相电流', 'A', 'number', 1, NULL, NULL, 0, '2023-12-11 11:44:55', '2023-12-11 11:44:53', '2023-12-11 11:44:53', '实时监测信息', NULL, '73', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321743773698, 1734100321743773697, 'tt', '观测时间', '', 'char', 0, NULL, NULL, 16, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, 'F0', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688258, 1734100321743773697, 'st', '遥测站地址', '', 'char', 0, NULL, NULL, 10, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, 'F1', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688259, 1734100321743773697, 'pn05', '5分钟时段降水量', 'mm', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '22', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688260, 1734100321743773697, 'pj', '当前降水量', 'mm', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '20', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688261, 1734100321743773697, 'fl', '气压', 'hPa', 'number', 0, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '08', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688262, 1734100321743773697, 'ai', '瞬时气温', '℃', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '02', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688263, 1734100321743773697, 'c', '瞬时水温', '℃', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '03', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688264, 1734100321743773697, 'qa', '总出库流量、过闸总流量', 'm³/s', 'number', 3, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '30', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688265, 1734100321743773697, 'mst', '湿度', '%', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '18', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688266, 1734100321743773697, 'uc', '风向', '', 'char', 0, NULL, NULL, 4, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '33', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688267, 1734100321743773697, 'ue', '风力', '级', 'char', 0, NULL, NULL, 4, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '34', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688268, 1734100321743773697, 'us', '风速', 'm/s', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '35', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688269, 1734100321743773697, 'ed', '日蒸发量', 'mm', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '06', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688270, 1734100321743773697, 'ej', '当前蒸发', 'mm', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '07', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688271, 1734100321743773697, 'gtp', '地温 ', '℃', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '0D', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688272, 1734100321743773697, 'm10', '10cm处土壤含水量', '%', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '10', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688273, 1734100321743773697, 'm20', '20cm处土壤含水量', '%', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '11', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688274, 1734100321743773697, 'm30', '30cm处土壤含水量', '%', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '12', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688275, 1734100321743773697, 'm40', '40cm处土壤含水量', '%', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '13', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688276, 1734100321743773697, 'm50', '50cm处土壤含水量', '%', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '14', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688277, 1734100321743773697, 'm60', '60cm处土壤含水量', '%', 'number', 1, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '15', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688278, 1734100321743773697, 'ph', 'pH值', '', 'number', 2, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '46', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688279, 1734100321743773697, 'vt', '电源电压', 'V', 'number', 2, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '38', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688280, 1734100321743773697, 'va', '断面平均流速', 'm/s', 'number', 3, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '36', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688281, 1734100321743773697, 'vj', '当前瞬时流速', 'm/s', 'number', 3, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '37', NULL);
INSERT INTO `dev_template_factor_conf_release` VALUES (1734100321806688282, 1734100321743773697, 'q', '瞬时流量、抽水流量', 'm³/s', 'number', 3, NULL, NULL, 0, '2023-12-11 14:39:44', '2023-12-11 14:38:29', '2023-12-11 14:39:41', '实时监测信息', NULL, '27', NULL);

-- ----------------------------
-- Table structure for dev_template_factor_conf_snap
-- ----------------------------
DROP TABLE IF EXISTS `dev_template_factor_conf_snap`;
CREATE TABLE `dev_template_factor_conf_snap`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `template_id` bigint(0) NULL DEFAULT NULL COMMENT '设备模板id',
  `identifier` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '要素标识符',
  `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '要素名称',
  `unit` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '计量单位',
  `data_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '数据类型',
  `accuracy` int(0) NULL DEFAULT NULL COMMENT '精度',
  `range_start` double NULL DEFAULT NULL COMMENT '量程开始',
  `range_end` double NULL DEFAULT NULL COMMENT '量程结束',
  `length` int(0) NULL DEFAULT NULL COMMENT '长度',
  `used` tinyint(1) NULL DEFAULT 0 COMMENT '是否配置(0-否,1-是)',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `custom` tinyint(1) NULL DEFAULT 0 COMMENT '是否自定义（0否不可修改 1是可修改）',
  `factor_group` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '要素分组',
  `factor_label` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '要素标签',
  `factor_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '要素编码',
  `function_codes` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '所属功能码，多个以“,”隔开',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1734100321806688283 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '设备模板监测要素配置-快照版' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dev_template_factor_conf_snap
-- ----------------------------
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052386884657154, 1734052386754633730, 'power_voltage', '电源电压', 'v', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 11:28:01', '2023-12-11 14:41:09', 0, '实时监测信息', NULL, '38', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052386884657155, 1734052386754633730, 'stolen_alarm', '被盗报警', '', 'number', 0, NULL, NULL, 0, 1, '2023-12-11 11:28:01', '2023-12-11 14:41:09', 0, '实时监测信息', NULL, '76', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052386884657156, 1734052386754633730, 'cabinet_door_alarm', '箱门报警', '', 'number', 0, NULL, NULL, 0, 1, '2023-12-11 11:28:01', '2023-12-11 14:41:09', 0, '实时监测信息', NULL, '77', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052386884657157, 1734052386754633730, 'system_status', '系统状态', '', 'number', 0, NULL, NULL, 0, 1, '2023-12-11 11:28:01', '2023-12-11 14:41:09', 0, '实时监测信息', NULL, '79', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052386884657158, 1734052386754633730, 'gprs_signal_strength', 'GPRS信号强度', '', 'number', 0, NULL, NULL, 0, 1, '2023-12-11 11:28:01', '2023-12-11 14:41:09', 0, '实时监测信息', NULL, '80', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052386884657159, 1734052386754633730, 'playback_status', '播放状态', '', 'number', 0, NULL, NULL, 0, 1, '2023-12-11 11:28:01', '2023-12-11 14:41:09', 0, '实时监测信息', NULL, '81', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052386884657160, 1734052386754633730, 'use_power', '使用电源', '', 'char', 0, NULL, NULL, 2, 1, '2023-12-11 11:28:01', '2023-12-11 14:41:09', 0, '实时监测信息', NULL, '78_0', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052386884657161, 1734052386754633730, 'battery_status', '电源充电状态', '', 'char', 0, NULL, NULL, 2, 1, '2023-12-11 11:28:01', '2023-12-11 14:41:09', 0, '实时监测信息', NULL, '78_1', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052386884657162, 1734052386754633730, 'voltage_status', '电源电压状态', '', 'char', 0, NULL, NULL, 2, 1, '2023-12-11 11:28:01', '2023-12-11 14:41:09', 0, '实时监测信息', NULL, '78_2', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052579864584194, 1734052579864584193, 'power_voltage', '电源电压', 'v', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 11:28:47', '2023-12-11 14:41:27', 0, '实时监测信息', NULL, '38', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052579864584195, 1734052579864584193, 'stolen_alarm', '被盗报警', '', 'number', 0, NULL, NULL, 0, 1, '2023-12-11 11:28:47', '2023-12-11 14:41:27', 0, '实时监测信息', NULL, '76', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052579864584196, 1734052579864584193, 'cabinet_door_alarm', '箱门报警', '', 'number', 0, NULL, NULL, 0, 1, '2023-12-11 11:28:47', '2023-12-11 14:41:27', 0, '实时监测信息', NULL, '77', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052579864584197, 1734052579864584193, 'system_status', '系统状态', '', 'number', 0, NULL, NULL, 0, 1, '2023-12-11 11:28:47', '2023-12-11 14:41:27', 0, '实时监测信息', NULL, '79', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052579864584198, 1734052579864584193, 'gprs_signal_strength', 'GPRS信号强度', '', 'number', 0, NULL, NULL, 0, 1, '2023-12-11 11:28:47', '2023-12-11 14:41:27', 0, '实时监测信息', NULL, '80', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052579864584199, 1734052579864584193, 'playback_status', '播放状态', '', 'number', 0, NULL, NULL, 0, 1, '2023-12-11 11:28:47', '2023-12-11 14:41:27', 0, '实时监测信息', NULL, '81', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052579864584200, 1734052579864584193, 'use_power', '使用电源', '', 'char', 0, NULL, NULL, 2, 1, '2023-12-11 11:28:47', '2023-12-11 14:41:27', 0, '实时监测信息', NULL, '78_0', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052579864584201, 1734052579864584193, 'battery_status', '电源充电状态', '', 'char', 0, NULL, NULL, 2, 1, '2023-12-11 11:28:47', '2023-12-11 14:41:27', 0, '实时监测信息', NULL, '78_1', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734052579864584202, 1734052579864584193, 'voltage_status', '电源电压状态', '', 'char', 0, NULL, NULL, 2, 1, '2023-12-11 11:28:47', '2023-12-11 14:41:27', 0, '实时监测信息', NULL, '78_2', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431042, 1734056630249431041, 'tt', '观测时间', '', 'char', 0, NULL, NULL, 16, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '工况信息', NULL, 'F0', 'primary_32,e7,34,33,e1,e2,e9');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431043, 1734056630249431041, 'csq', 'CSQ', '', 'number', 0, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '工况信息', NULL, 'FF02', 'primary_32,34,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431044, 1734056630249431041, 'voltage_a', '交流A相电压', 'V', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '70', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431045, 1734056630249431041, 'voltage_b', '交流B相电压', 'V', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '71', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431046, 1734056630249431041, 'state_electric_meter', '电表脉冲报警', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431047, 1734056630249431041, 'voltage_c', '交流C相电压', 'V', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '72', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431048, 1734056630249431041, 'state_steal_water', '盗水报警', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431049, 1734056630249431041, 'state_water_quality', '水质超限报警状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431050, 1734056630249431041, 'state_pressure', '管道压力报警', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431051, 1734056630249431041, 'qa', '累计流量', 'm³', 'number', 2, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, 'FF01', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431052, 1734056630249431041, 'state_di5', 'DI5状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431053, 1734056630249431041, 'state_di6', 'DI6状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431054, 1734056630249431041, 'user_year_elec', '用户（年度）累计用电量', 'kW·h', 'number', 2, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, 'FFAC', 'e1,e2,e9,d2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431055, 1734056630249431041, 'state_card', 'IC卡功能有效', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431056, 1734056630249431041, 'state_elec', '交流电充电状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431057, 1734056630249431041, 'water_level', '水位', 'm', 'number', 3, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '3C', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431058, 1734056630249431041, 'use_elec', '本次使用电量', 'kW·h', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, 'FF07', 'e1,e2,e9');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431059, 1734056630249431041, 'total_use_elec', '总使用电量', 'kW·h', 'number', 2, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, 'FFA8', 'e1,e2,e9,d2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431060, 1734056630249431041, 'total_pay_elec', '总充值电量', 'kW·h', 'number', 2, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, 'FFA5', 'e1,e2,d1');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431061, 1734056630249431041, 'state_pump', '水泵工作状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431062, 1734056630249431041, 'pipe_pressure', '管道水压', 'KPa', 'number', 2, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '58', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431063, 1734056630249431041, 'vt', '工作电压', 'V', 'number', 2, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '38', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431064, 1734056630249431041, 'total_use_water', '总使用水量', 'm³', 'number', 2, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, 'FFA7', 'e1,e2,e9,d2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630249431065, 1734056630249431041, 'state_flow_meter', '流量仪表状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539905, 1734056630249431041, 'state_tilt', '倾斜报警', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539906, 1734056630249431041, 'state_battery', '蓄电池电压状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539907, 1734056630249431041, 'state_water_meter', '水位仪表状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539908, 1734056630249431041, 'use_water', '本次使用水量', 'm³', 'number', 2, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, 'FF08', 'e1,e2,e9');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539909, 1734056630249431041, 'state_water_level', '水位超限报警状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539910, 1734056630249431041, 'total_elec', '累计电量', '°', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, 'FF05', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539911, 1734056630249431041, 'elec_b', '交流B相电流', 'A', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '74', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539912, 1734056630249431041, 'elec_c', '交流C相电流', 'A', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '75', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539913, 1734056630249431041, 'state_surplus_water', '剩余水量报警', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539914, 1734056630249431041, 'year_qa', '本年累计流量', 'm³', 'number', 2, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, 'FF04', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539915, 1734056630249431041, 'state_bamper', '蝶阀状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539916, 1734056630249431041, 'state_elec_meter', '电能仪表状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539917, 1734056630249431041, 'q', '瞬时流量', 'm³/s', 'number', 3, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '28', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539918, 1734056630249431041, 'state_door', '终端箱门状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539919, 1734056630249431041, 'state_flow', '流量超限报警状态', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539920, 1734056630249431041, 'user_year_qa', '用户（年度）累计用水量', 'm³', 'number', 2, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, 'FFAB', 'e1,e2,e9,d2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539921, 1734056630249431041, 'state_close_pump', '异常关泵', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539922, 1734056630249431041, 'state_out_voltage', '输出断相', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539923, 1734056630249431041, 'state_in_voltage', '输入断相', '', 'char', 0, NULL, NULL, 1, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539924, 1734056630249431041, 'rig_num', '机井编号', '', 'char', 0, NULL, NULL, 10, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '工况信息', NULL, 'FF0B', 'primary_32,34,e1,e2,e9');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734056630316539925, 1734056630249431041, 'elec_a', '交流A相电流', 'A', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 11:44:53', '2023-12-11 11:44:53', 0, '实时监测信息', NULL, '73', 'primary_32,34,33,e1,e2');
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321743773698, 1734100321743773697, 'tt', '观测时间', '', 'char', 0, NULL, NULL, 16, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, 'F0', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688258, 1734100321743773697, 'st', '遥测站地址', '', 'char', 0, NULL, NULL, 10, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, 'F1', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688259, 1734100321743773697, 'pn05', '5分钟时段降水量', 'mm', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '22', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688260, 1734100321743773697, 'pj', '当前降水量', 'mm', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '20', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688261, 1734100321743773697, 'fl', '气压', 'hPa', 'number', 0, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '08', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688262, 1734100321743773697, 'ai', '瞬时气温', '℃', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '02', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688263, 1734100321743773697, 'c', '瞬时水温', '℃', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '03', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688264, 1734100321743773697, 'qa', '总出库流量、过闸总流量', 'm³/s', 'number', 3, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '30', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688265, 1734100321743773697, 'mst', '湿度', '%', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '18', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688266, 1734100321743773697, 'uc', '风向', '', 'char', 0, NULL, NULL, 4, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '33', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688267, 1734100321743773697, 'ue', '风力', '级', 'char', 0, NULL, NULL, 4, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '34', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688268, 1734100321743773697, 'us', '风速', 'm/s', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '35', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688269, 1734100321743773697, 'ed', '日蒸发量', 'mm', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '06', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688270, 1734100321743773697, 'ej', '当前蒸发', 'mm', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '07', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688271, 1734100321743773697, 'gtp', '地温 ', '℃', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '0D', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688272, 1734100321743773697, 'm10', '10cm处土壤含水量', '%', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '10', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688273, 1734100321743773697, 'm20', '20cm处土壤含水量', '%', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '11', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688274, 1734100321743773697, 'm30', '30cm处土壤含水量', '%', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '12', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688275, 1734100321743773697, 'm40', '40cm处土壤含水量', '%', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '13', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688276, 1734100321743773697, 'm50', '50cm处土壤含水量', '%', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '14', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688277, 1734100321743773697, 'm60', '60cm处土壤含水量', '%', 'number', 1, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '15', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688278, 1734100321743773697, 'ph', 'pH值', '', 'number', 2, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '46', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688279, 1734100321743773697, 'vt', '电源电压', 'V', 'number', 2, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '38', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688280, 1734100321743773697, 'va', '断面平均流速', 'm/s', 'number', 3, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '36', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688281, 1734100321743773697, 'vj', '当前瞬时流速', 'm/s', 'number', 3, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '37', NULL);
INSERT INTO `dev_template_factor_conf_snap` VALUES (1734100321806688282, 1734100321743773697, 'q', '瞬时流量、抽水流量', 'm³/s', 'number', 3, NULL, NULL, 0, 1, '2023-12-11 14:38:29', '2023-12-11 14:39:41', 0, '实时监测信息', NULL, '27', NULL);

-- ----------------------------
-- Table structure for emqx_account
-- ----------------------------
DROP TABLE IF EXISTS `emqx_account`;
CREATE TABLE `emqx_account`  (
  `id` bigint(0) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'id',
  `username` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名',
  `clientid` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'clientid',
  `password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '密码',
  `salt` varchar(35) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '盐值',
  `is_superuser` tinyint(1) NULL DEFAULT 0 COMMENT '是否超级管理员',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `index_emqx_account_clientid`(`clientid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of emqx_account
-- ----------------------------
INSERT INTO `emqx_account` VALUES (1, 'emqx-client', 'emqx-client', 'whmx2022', NULL, 0, '2023-06-30 16:23:31', '2023-06-30 16:23:31');
INSERT INTO `emqx_account` VALUES (2, 'emqx-kafka', 'emqx-kafka', 'mx123456', NULL, 0, '2023-06-30 16:23:31', '2023-06-30 16:23:31');
INSERT INTO `emqx_account` VALUES (3, 'emqx-gnss', 'emqx-gnss_customer', 'mx123456', NULL, 1, '2023-06-30 16:23:31', '2023-06-30 16:23:31');
INSERT INTO `emqx_account` VALUES (4, 'emqx-gnss', 'emqx-gnss_producer', 'mx123456', NULL, 1, '2023-06-30 16:23:31', '2023-06-30 16:23:31');
INSERT INTO `emqx_account` VALUES (5, 'emqx-dz', 'emqx-dz_consumer', 'mx123456', NULL, 1, '2023-06-30 16:23:31', '2023-06-30 16:23:31');
INSERT INTO `emqx_account` VALUES (6, 'emqx-dz', 'emqx-dz_producer', 'mx123456', NULL, 1, '2023-06-30 16:23:31', '2023-06-30 16:23:31');

-- ----------------------------
-- Table structure for oper_debug_online_record
-- ----------------------------
DROP TABLE IF EXISTS `oper_debug_online_record`;
CREATE TABLE `oper_debug_online_record`  (
  `id` bigint(0) NOT NULL COMMENT '调试id，连接时生成，重连时绑定',
  `device_sn` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备sn号',
  `operator_id` bigint(0) NULL DEFAULT NULL COMMENT '调试人id',
  `start_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '结束时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '运维-在线调试记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of oper_debug_online_record
-- ----------------------------

-- ----------------------------
-- Table structure for oper_debug_online_record_log
-- ----------------------------
DROP TABLE IF EXISTS `oper_debug_online_record_log`;
CREATE TABLE `oper_debug_online_record_log`  (
  `id` bigint(0) NOT NULL,
  `record_id` bigint(0) NOT NULL COMMENT '记录id',
  `log_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '记录时间',
  `log_serial_number` varchar(0) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '序列号,可能是排序依据',
  `log_message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '日志消息内容',
  `log_forward` tinyint(1) NOT NULL COMMENT '日志发送方向 0 下行 1 上行',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '运维-在线调试日志表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of oper_debug_online_record_log
-- ----------------------------

-- ----------------------------
-- Table structure for oper_dev_info
-- ----------------------------
DROP TABLE IF EXISTS `oper_dev_info`;
CREATE TABLE `oper_dev_info`  (
  `id` bigint(0) NOT NULL COMMENT '记录id',
  `sn` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '设备sn',
  `init_product_id` bigint(0) NULL DEFAULT NULL COMMENT '初始设备产品型号id, 绑定后以新的产品id为准',
  `firmware_version` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '固件版本',
  `online` int(0) NOT NULL DEFAULT 2 COMMENT '设备在线状态(0-不在线,1-在线, 2未激活)',
  `auth` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '配置连接秘钥',
  `anomal_flag` tinyint(1) NULL DEFAULT 0 COMMENT '异常标识(0-正常,1-异常)',
  `connect_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '连接id_可能为空',
  `channel_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '管道id',
  `online_change_time` datetime(0) NULL DEFAULT NULL COMMENT '在线状态变更时间',
  `creator_id` bigint(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  `update_time` datetime(0) NULL DEFAULT NULL,
  `monitor_flag` tinyint(1) NULL DEFAULT 0 COMMENT '可业务监控  0否 1是',
  `operate_flag` tinyint(1) NULL DEFAULT 1 COMMENT '可运维配置 0否 1是',
  `tenant_id` bigint(0) NULL DEFAULT NULL COMMENT '租户ID',
  `active_time` datetime(0) NULL DEFAULT NULL COMMENT '初次上线时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '运维-设备配置信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of oper_dev_info
-- ----------------------------

-- ----------------------------
-- Table structure for oper_firmware
-- ----------------------------
DROP TABLE IF EXISTS `oper_firmware`;
CREATE TABLE `oper_firmware`  (
  `id` bigint(0) NOT NULL,
  `firmware_name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件名',
  `firmware_original_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件原始名',
  `firmware_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件地址',
  `firmware_bytes_size` bigint(0) NULL DEFAULT NULL COMMENT '文件字节大小',
  `firmware_md5` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件md5',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态(0-未发布,1-已发布)',
  `remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注',
  `creator_id` bigint(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  `update_time` datetime(0) NULL DEFAULT NULL,
  `firmware_version` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '固件包版本',
  `updater_id` bigint(0) NULL DEFAULT NULL COMMENT '更新者id',
  `type` tinyint(0) NULL DEFAULT 0 COMMENT '升级包类型(0:通用,1:定制)',
  `tenant_id` bigint(0) NULL DEFAULT NULL COMMENT '所属租户ID',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '运维-固件升级包表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of oper_firmware
-- ----------------------------

-- ----------------------------
-- Table structure for oper_firmware_upgrade_task
-- ----------------------------
DROP TABLE IF EXISTS `oper_firmware_upgrade_task`;
CREATE TABLE `oper_firmware_upgrade_task`  (
  `id` bigint(0) NOT NULL COMMENT '升级任务id',
  `task_batch_id` bigint(0) NULL DEFAULT NULL COMMENT '批次id',
  `length` int(0) NULL DEFAULT 1024 COMMENT '帧大小',
  `conf_device_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '配置设备sn号',
  `previous_firmware_version` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备先前固件版本',
  `status` int(0) NOT NULL COMMENT '升级任务状态 00:等待下载 10:下载中 11:等待升级  20:升级成功 21:升级失败 22:升级终止        ',
  `creator_id` bigint(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  `update_time` datetime(0) NULL DEFAULT NULL,
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `stoping` tinyint(1) NULL DEFAULT 0 COMMENT '是否停止中标识',
  `protocol_type` tinyint(1) NULL DEFAULT 0 COMMENT '协议类型 0 GPRS-tcp,  1 GPRS-udp,  2 LAN-tcp,  3 LAN-udp',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '运维-固件升级任务表\r\n\r\nstatus 升级任务状态    \r\n首位表示 批次状态 都为0 则未开始， 任何不为0则表示进行中，都为2则表示已结束\r\n\r\n00:等待下载 \r\n\r\n10:下载中 11:等待升级 \r\n\r\n20:升级成功 21:升级失败 22:升级终止' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of oper_firmware_upgrade_task
-- ----------------------------

-- ----------------------------
-- Table structure for oper_firmware_upgrade_task_batch
-- ----------------------------
DROP TABLE IF EXISTS `oper_firmware_upgrade_task_batch`;
CREATE TABLE `oper_firmware_upgrade_task_batch`  (
  `id` bigint(0) NOT NULL,
  `firmware_id` bigint(0) NOT NULL COMMENT '固件id',
  `firmware_name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '固件文件名, 如文件名可修改，该字段弃用',
  `batch_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '批次名称',
  `product_id` bigint(0) NULL DEFAULT NULL COMMENT '产品id 冗余',
  `device_count` int(0) NULL DEFAULT NULL COMMENT '升级设备数量',
  `creator_id` bigint(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  `update_time` datetime(0) NULL DEFAULT NULL,
  `finish_time` datetime(0) NULL DEFAULT NULL COMMENT '任务结束时间',
  `application_id` bigint(0) NULL DEFAULT NULL COMMENT '应用id',
  `creator_from` tinyint(0) NULL DEFAULT 0 COMMENT '创建者来源:0设备管家 1运维助手',
  `tenant_id` bigint(0) NULL DEFAULT NULL COMMENT '创建者租户id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '运维-固件升级批次表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of oper_firmware_upgrade_task_batch
-- ----------------------------

-- ----------------------------
-- Table structure for oper_firmware_version_dep_conf
-- ----------------------------
DROP TABLE IF EXISTS `oper_firmware_version_dep_conf`;
CREATE TABLE `oper_firmware_version_dep_conf`  (
  `id` bigint(0) NOT NULL,
  `firmware_id` bigint(0) NOT NULL COMMENT '固件升级包文件id',
  `product_id` bigint(0) NOT NULL COMMENT '产品id',
  `upgradeable_firmware_version` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '可被升级的固件版本',
  `creator_id` bigint(0) NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '运维-固件文件版本依赖配置表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of oper_firmware_version_dep_conf
-- ----------------------------

-- ----------------------------
-- Table structure for oper_mount_upgrade_firmware
-- ----------------------------
DROP TABLE IF EXISTS `oper_mount_upgrade_firmware`;
CREATE TABLE `oper_mount_upgrade_firmware`  (
  `id` bigint(0) NOT NULL COMMENT '主键',
  `firmware_id` bigint(0) NULL DEFAULT NULL COMMENT '固件升级包id',
  `firmware_name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '固件文件名',
  `mount_task_id` bigint(0) NULL DEFAULT NULL COMMENT '挂测任务id',
  `sort` int(0) NULL DEFAULT NULL COMMENT '排序值',
  `upgrade_count` int(0) NULL DEFAULT 0 COMMENT '已升级次数',
  `length` int(0) NULL DEFAULT 1024 COMMENT '帧长度',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '运维-升级挂测任务固件' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of oper_mount_upgrade_firmware
-- ----------------------------

-- ----------------------------
-- Table structure for oper_mount_upgrade_log
-- ----------------------------
DROP TABLE IF EXISTS `oper_mount_upgrade_log`;
CREATE TABLE `oper_mount_upgrade_log`  (
  `id` bigint(0) NOT NULL COMMENT '主键',
  `mount_task_id` bigint(0) NULL DEFAULT NULL COMMENT '挂测任务id',
  `mount_firmware_id` bigint(0) NULL DEFAULT NULL COMMENT '挂测任务固件id',
  `stage` int(0) NULL DEFAULT NULL COMMENT '升级环节',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '日志内容',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '运维-升级挂测任务日志' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of oper_mount_upgrade_log
-- ----------------------------

-- ----------------------------
-- Table structure for oper_mount_upgrade_task
-- ----------------------------
DROP TABLE IF EXISTS `oper_mount_upgrade_task`;
CREATE TABLE `oper_mount_upgrade_task`  (
  `id` bigint(0) NOT NULL COMMENT '主键',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备sn',
  `previous_firmware_version` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '设备先前固件版本',
  `loop_count` int(0) NULL DEFAULT NULL COMMENT '循环次数',
  `pack_count` int(0) NULL DEFAULT NULL COMMENT '升级包数量',
  `upgrade_count` int(0) NULL DEFAULT 0 COMMENT '已升级次数',
  `status` int(0) NULL DEFAULT 0 COMMENT '状态：0未开始 10进行中 15暂停 20成功 21失败 22终止',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '创建者',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `finish_time` datetime(0) NULL DEFAULT NULL COMMENT '结束时间',
  `protocol_type` tinyint(1) NULL DEFAULT 0 COMMENT '协议类型 0 GPRS-tcp,  1 GPRS-udp,  2 LAN-tcp,  3 LAN-udp',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '运维-升级挂测任务' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of oper_mount_upgrade_task
-- ----------------------------

-- ----------------------------
-- Table structure for oper_product_secret_conf
-- ----------------------------
DROP TABLE IF EXISTS `oper_product_secret_conf`;
CREATE TABLE `oper_product_secret_conf`  (
  `id` bigint(0) NOT NULL,
  `product_id` bigint(0) NULL DEFAULT NULL COMMENT '产品id',
  `def_sn` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '默认sn号',
  `def_passwd` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '默认秘钥',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '运维-产品秘钥配置表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of oper_product_secret_conf
-- ----------------------------
INSERT INTO `oper_product_secret_conf` VALUES (1, NULL, '202001010001', 'F9103D');
INSERT INTO `oper_product_secret_conf` VALUES (2, NULL, '202001010001', 'F9164N_V3');
INSERT INTO `oper_product_secret_conf` VALUES (3, NULL, '202001010001', 'F9164_V3');
INSERT INTO `oper_product_secret_conf` VALUES (4, NULL, '202001010001', 'F9164-M');
INSERT INTO `oper_product_secret_conf` VALUES (5, NULL, '202001010001', 'F-CD100');
INSERT INTO `oper_product_secret_conf` VALUES (6, NULL, '202001010001', 'F-UB100');
INSERT INTO `oper_product_secret_conf` VALUES (7, NULL, '202001010001', 'F-BD100');
INSERT INTO `oper_product_secret_conf` VALUES (8, NULL, '202001010001', 'F-IYL200');
INSERT INTO `oper_product_secret_conf` VALUES (9, NULL, '202001010001', 'F-LP100');
INSERT INTO `oper_product_secret_conf` VALUES (10, NULL, '202001010001', 'F-HJ100_V2');
INSERT INTO `oper_product_secret_conf` VALUES (11, NULL, '202001010001', 'F-HJ110_V2');
INSERT INTO `oper_product_secret_conf` VALUES (12, NULL, '202001010001', 'F-JC110');
INSERT INTO `oper_product_secret_conf` VALUES (13, NULL, '202001010001', 'F-JC100_V2');
INSERT INTO `oper_product_secret_conf` VALUES (14, NULL, '202001010001', 'F-YT3301');
INSERT INTO `oper_product_secret_conf` VALUES (15, NULL, '202001010001', 'F-YT3301_V2');
INSERT INTO `oper_product_secret_conf` VALUES (16, NULL, '202001010001', 'F-LD100_V3');
INSERT INTO `oper_product_secret_conf` VALUES (17, NULL, '202001010001', 'F9164-DZ200');
INSERT INTO `oper_product_secret_conf` VALUES (18, NULL, '202001010001', 'F-DW100');
INSERT INTO `oper_product_secret_conf` VALUES (1734093016982880256, 1658393968807796737, '202001010001', 'F9164_V3');
INSERT INTO `oper_product_secret_conf` VALUES (1734093142568730624, 1632667789471801346, '202001010001', 'F9164N_V3');
INSERT INTO `oper_product_secret_conf` VALUES (1734093721999245312, 1604673930284523522, '202001010001', 'F9164-LP100');
INSERT INTO `oper_product_secret_conf` VALUES (1734093765146050560, 1727860909225824257, '202001010001', 'F9164-LP100_V2');
INSERT INTO `oper_product_secret_conf` VALUES (1734093853822025728, 1664168463397052418, '202001010001', 'F9164-V200');
INSERT INTO `oper_product_secret_conf` VALUES (1734094132277673984, 1679700269684776962, '202001010001', 'F9103X-100_V2');
INSERT INTO `oper_product_secret_conf` VALUES (1734094177777483776, 1679677823455879170, '202001010001', 'F9103D-15X_V2');
INSERT INTO `oper_product_secret_conf` VALUES (1734094612689059840, 1732286658678706177, '202001010001', 'F9164-A');
INSERT INTO `oper_product_secret_conf` VALUES (1734095252156841984, 1654755352655192065, '202001010001', 'F9103-205');
INSERT INTO `oper_product_secret_conf` VALUES (1734095535599517696, 1632677069608476673, '202001010001', 'F9164-DZ200');
INSERT INTO `oper_product_secret_conf` VALUES (1734095730936643584, 1592721290206146561, '202001010001', 'F9164-DZ');
INSERT INTO `oper_product_secret_conf` VALUES (1734095836591161344, 1592491573452500994, '202001010001', 'F9164');
INSERT INTO `oper_product_secret_conf` VALUES (1734107387368833024, 1628240876602040322, '202001010001', 'F-DW100-h');
INSERT INTO `oper_product_secret_conf` VALUES (1734107947086118912, 1632665299212853250, '202001010001', 'F9164A_V3');
INSERT INTO `oper_product_secret_conf` VALUES (1734108028086517760, 1632676789475106817, '202001010001', 'F9164-M_V2');
INSERT INTO `oper_product_secret_conf` VALUES (1734108086261514240, 1632677201955545089, '202001010001', 'F9164-DZ201');
INSERT INTO `oper_product_secret_conf` VALUES (1734108200992505856, 1681101976310403073, '202001010001', 'F9103');

-- ----------------------------
-- Table structure for sys_dict
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict`;
CREATE TABLE `sys_dict`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `type_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '类型标识符',
  `type_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '类型名称',
  `order_no` int(0) NULL DEFAULT 0 COMMENT '排序号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '数据字典类型表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_dict
-- ----------------------------
INSERT INTO `sys_dict` VALUES (2, 'product_type', '产品类型', 2, '2022-06-14 10:08:56', '2022-06-14 10:08:58');
INSERT INTO `sys_dict` VALUES (3, 'industry', '所属行业', 3, '2022-06-14 10:09:32', '2022-06-14 10:09:35');
INSERT INTO `sys_dict` VALUES (4, 'factor_group', '要素分组', 4, '2022-09-08 10:26:01', '2022-09-08 10:26:04');
INSERT INTO `sys_dict` VALUES (5, 'factor_label', '要素标签', 5, '2023-10-19 18:13:07', '2023-10-19 18:13:09');

-- ----------------------------
-- Table structure for sys_dict_item
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_item`;
CREATE TABLE `sys_dict_item`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT,
  `type_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '类型标识符',
  `value_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字典值标识符',
  `value_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字典值显示名称',
  `order_no` int(0) NULL DEFAULT 0 COMMENT '排序号',
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 45 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '数据字典值表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_dict_item
-- ----------------------------
INSERT INTO `sys_dict_item` VALUES (20, 'product_type', 'DTU', 'DTU', 1, NULL, '2022-06-14 10:12:41', '2022-06-14 10:12:44');
INSERT INTO `sys_dict_item` VALUES (21, 'product_type', 'RTU', 'RTU', 2, NULL, '2022-06-14 10:12:41', '2022-06-14 10:12:44');
INSERT INTO `sys_dict_item` VALUES (22, 'product_type', 'router', '路由器', 3, NULL, '2022-06-14 10:12:41', '2022-06-14 10:12:44');
INSERT INTO `sys_dict_item` VALUES (23, 'product_type', 'sensor', '传感器', 4, NULL, '2022-06-14 10:12:41', '2022-06-14 10:12:44');
INSERT INTO `sys_dict_item` VALUES (30, 'industry', 'iot', '物联网', 1, NULL, '2022-06-14 10:13:44', '2022-06-14 10:13:48');
INSERT INTO `sys_dict_item` VALUES (31, 'industry', 'fileControl', '消防', 2, NULL, '2022-06-14 10:13:44', '2022-06-14 10:13:48');
INSERT INTO `sys_dict_item` VALUES (32, 'industry', 'electricity', '电力', 3, NULL, '2022-06-14 10:13:44', '2022-06-14 10:13:48');
INSERT INTO `sys_dict_item` VALUES (33, 'industry', 'waterAffairs', '水务', 4, NULL, '2022-06-14 10:13:44', '2022-06-14 10:13:48');
INSERT INTO `sys_dict_item` VALUES (34, 'industry', 'communication', '通信', 5, NULL, '2022-06-14 10:13:44', '2022-06-14 10:13:48');
INSERT INTO `sys_dict_item` VALUES (40, 'factor_group', 'monitorInfo', '实时监测信息', 2, NULL, '2022-09-08 10:27:39', '2022-09-08 10:27:42');
INSERT INTO `sys_dict_item` VALUES (41, 'factor_group', 'workingInfo', '工况信息', 1, NULL, '2022-09-08 10:27:39', '2022-09-08 10:27:42');
INSERT INTO `sys_dict_item` VALUES (42, 'product_type', 'broadcast', '广播', 5, '', '2023-02-16 15:44:59', '2023-02-16 15:44:59');
INSERT INTO `sys_dict_item` VALUES (43, 'factor_label', 'signal', '信号', 1, '', '2023-10-19 18:13:09', '2023-10-19 18:13:09');
INSERT INTO `sys_dict_item` VALUES (44, 'factor_label', 'voltage', '电压', 2, '', '2023-10-19 18:13:09', '2023-10-19 18:13:09');

-- ----------------------------
-- Table structure for sys_operate_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_operate_log`;
CREATE TABLE `sys_operate_log`  (
  `id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `creator_id` bigint(0) NULL DEFAULT NULL COMMENT '操作人',
  `creator_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作人姓名',
  `operate_module` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作模块',
  `log_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作类型',
  `request_ip` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '请求ip',
  `log_context` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '日志内容',
  `is_success` tinyint(1) NULL DEFAULT NULL COMMENT '是否成功（0否1是）',
  `msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '响应信息',
  `month` int(0) NULL DEFAULT NULL COMMENT '年月',
  `log_time` datetime(0) NULL DEFAULT NULL COMMENT '日志时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '操作日志' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_operate_log
-- ----------------------------

SET FOREIGN_KEY_CHECKS = 1;
