20260408:经纬度调整&sql维护
This commit is contained in:
parent
9a75a727c4
commit
676215eca8
@ -298,7 +298,7 @@ public class DeviceServiceImpl implements IDeviceService {
|
||||
if (!oldDevice.getSerialNumber().equals(device.getSerialNumber())) {
|
||||
Device existDevice = deviceMapper.selectDeviceBySerialNumber(device.getSerialNumber());
|
||||
if (existDevice != null) {
|
||||
log.error("设备编号:" + device.getSerialNumber() + " 已经存在,新增设备失败");
|
||||
log.error("设备编号:{} 已经存在,新增设备失败", device.getSerialNumber());
|
||||
return AjaxResult.error("设备编号:" + device.getSerialNumber() + " 已经存在,修改失败", 0);
|
||||
}
|
||||
}
|
||||
|
||||
@ -60,7 +60,7 @@ CREATE TABLE IF NOT EXISTS `iot_push_user` (
|
||||
-- ============================================================
|
||||
|
||||
INSERT INTO `sys_menu` (menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
|
||||
VALUES (3430, '数据联动', 3343, 9, 'pushConfig', 'iot/push/index', NULL, 1, 0, 'C', '0', '0', 'iot:push:list', 'notification', 'admin', now(), 'admin', now(), '微信服务号物模型数据推送');
|
||||
VALUES (3430, '数据联动', 3343, 9, 'pushConfig', 'iot/push/index', NULL, 1, 0, 'C', '0', '0', 'iot:push:list', 'guide', 'admin', now(), 'admin', now(), '微信服务号物模型数据推送');
|
||||
|
||||
INSERT INTO `sys_menu` (menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
|
||||
VALUES (3431, '推送配置查询', 3430, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:push:query', '#', 'admin', now(), 'admin', now(), '');
|
||||
|
||||
@ -1079,7 +1079,10 @@ CREATE TABLE `iot_things_model` (
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='物模型';
|
||||
|
||||
|
||||
-- ============================================================
|
||||
-- fastbee.iot_things_model_template definition
|
||||
-- TRUNCATE TABLE iot_things_model_template;速度极快,不记录单行删除日志。表中的自增主键(Identity/Auto_increment)会被重置
|
||||
-- ============================================================
|
||||
|
||||
CREATE TABLE `iot_things_model_template` (
|
||||
`template_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '物模型ID',
|
||||
@ -1109,6 +1112,287 @@ CREATE TABLE `iot_things_model_template` (
|
||||
KEY `iot_things_model_template_index_tenant_id` (`tenant_id`) USING BTREE,
|
||||
KEY `iot_things_model_template_index_model_order` (`model_order`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='物模型模板';
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('设备开关', 1, 'admin', 'switch', 2, 'bool', '{"type": "bool", "trueText": "打开", "falseText": "关闭"}', 1, 0, 0, 1, 0, 0, 5, '0', 'admin', '2022-03-09 17:41:49', 'admin', '2023-04-10 01:11:48', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('运行档位', 1, 'admin', 'gear', 2, 'enum', '{"type": "enum", "showWay": "select", "enumList": [{"text": "低速档位", "value": "0"}, {"text": "中速档位", "value": "1"}, {"text": "中高速档位", "value": "2"}, {"text": "高速档位", "value": "3"}]}', 1, 0, 0, 1, 0, 0, 6, '0', 'admin', '2022-03-09 17:41:49', 'admin', '2023-04-10 01:11:43', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('灯光色值', 1, 'admin', 'light_color', 2, 'array', '{"type": "array", "arrayType": "integer", "arrayCount": "3"}', 1, 0, 0, 1, 0, 0, 2, '0', 'admin', '2022-03-09 17:41:49', 'admin', '2023-04-10 01:11:38', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('屏显消息', 1, 'admin', 'message', 2, 'string', '{"type": "string", "maxLength": 1024}', 1, 0, 0, 1, 0, 0, 1, '0', 'admin', '2022-03-09 17:41:49', 'admin', '2023-04-10 01:11:32', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('上报监测数据', 1, 'admin', 'report_monitor', 2, 'integer', '{"max": 10, "min": 1, "step": 1, "type": "integer", "unit": "次数"}', 1, 0, 0, 0, 0, 0, 9, '0', 'admin', '2022-03-09 17:41:49', 'admin', '2023-04-10 01:11:25', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('环境温度过高', 1, 'admin', 'height_temperature', 3, 'decimal', '{"max": 100, "min": 0, "step": 0.1, "type": "decimal", "unit": "℃"}', 1, 0, 0, 1, 0, 0, 8, '0', 'admin', '2022-03-09 17:41:49', 'admin', '2023-04-10 01:11:19', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('设备发生异常', 1, 'admin', 'exception', 3, 'string', '{"type": "string", "maxLength": 1024}', 1, 0, 0, 1, 0, 0, 7, '0', 'admin', '2022-03-09 17:41:49', 'admin', '2023-04-10 01:11:16', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('光照', 1, 'admin', 'light', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mm"}', 0, 1, 1, 1, 1, 0, 0, '0', 'wumei', '2022-05-07 09:41:17', 'admin', '2023-04-10 01:11:12', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('压力', 1, 'admin', 'pressure', 1, 'decimal', '{"max": 200, "min": 0, "step": 0.1, "type": "decimal", "unit": "帕斯卡"}', 1, 1, 1, 1, 1, 0, 0, '0', 'admin', '2023-02-20 22:39:18', 'admin', '2023-04-10 01:11:05', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('设备重启', 1, 'admin', 'reset', 2, 'enum', '{"type": "enum", "showWay": "button", "enumList": [{"text": "重启", "value": "restart"}]}', 1, 0, 0, 1, 0, 0, 0, '0', 'admin', '2023-02-20 23:15:25', 'admin', '2023-04-10 01:11:08', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('电池电压', 1, 'admin', 'voltage', 1, 'decimal', '{"max": 5, "min": 0, "step": 0.001, "type": "decimal", "unit": "V"}', 1, 1, 1, 1, 1, 0, 0, '0', 'admin', '2023-02-20 23:17:43', 'admin', '2023-04-10 01:10:56', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('饮水量', 1, 'admin', 'shuiliang', 1, 'integer', '{"max": 500, "min": 80, "step": 1, "type": "integer", "unit": "ML"}', 1, 1, 1, 1, 1, 0, 0, '0', 'admin', '2023-02-20 23:18:39', 'admin', '2023-04-10 01:10:52', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('灯光', 1, 'admin', 'light', 1, 'integer', '{"max": 1000, "min": 0, "step": 1, "type": "integer", "unit": "Lux"}', 1, 1, 1, 1, 1, 0, 0, '0', 'admin', '2023-02-20 23:19:23', 'admin', '2023-04-10 01:10:49', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('长度', 1, 'admin', 'length', 1, 'integer', '{"max": 2000, "min": 1, "step": 5, "type": "integer", "unit": "M"}', 1, 1, 1, 1, 1, 0, 0, '0', 'admin', '2023-02-20 23:20:03', 'admin', '2023-04-10 01:10:44', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('心率', 1, 'admin', 'heart_rate', 1, 'integer', '{"max": 250, "min": 0, "step": 1, "type": "integer", "unit": "次数"}', 1, 1, 1, 1, 1, 0, 0, '0', 'admin', '2023-02-20 23:21:46', 'admin', '2023-04-10 01:12:40', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('光照强度', 1, 'admin', 'light_level', 1, 'integer', '{"max": 89.2, "min": 2.5, "step": 0.1, "type": "integer", "unit": "L/g"}', 1, 1, 1, 1, 1, 0, 0, '0', 'admin', '2023-02-20 23:24:36', 'admin', '2023-04-10 01:10:35', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('状态灯色', 1, 'admin', 'color', 2, 'enum', '{"type": "enum", "showWay": "select", "enumList": [{"text": "红色", "value": "0"}, {"text": "绿色", "value": "1"}, {"text": "蓝色", "value": "2"}, {"text": "黄色", "value": "3"}]}', 1, 0, 0, 1, 0, 0, 0, '0', 'admin', '2023-02-20 23:26:24', 'admin', '2023-04-10 01:10:32', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('子设备', 1, 'admin', 'device', 2, 'array', '{"type": "array", "params": [{"id": "device_co2", "name": "二氧化碳", "order": 0, "isChart": 1, "datatype": {"max": 6000, "min": 100, "step": 1, "type": "integer", "unit": "ppm", "enumList": [{"text": "", "value": ""}], "arrayType": "int"}, "isHistory": 1, "isMonitor": 1, "isReadonly": 1}, {"id": "device_temperature", "name": "空气温度-只读", "order": 4, "isChart": 0, "datatype": {"max": 120, "min": -20, "step": 0.1, "type": "decimal", "unit": "℃", "enumList": [{"text": "", "value": ""}], "arrayType": "int"}, "isMonitor": 0, "isReadonly": 1}, {"id": "device_gear", "name": "运行档位", "order": 6, "datatype": {"type": "enum", "showWay": "select", "enumList": [{"text": "低速档位", "value": "0"}, {"text": "中速档位", "value": "1"}, {"text": "中高速档位", "value": "2"}, {"text": "高速档位", "value": "3"}]}, "isMonitor": 0, "isReadonly": 0}, {"id": "device_switch", "name": "设备开关", "order": 5, "datatype": {"type": "bool", "enumList": [{"text": "", "value": ""}], "trueText": "打开", "arrayType": "int", "falseText": "关闭"}, "isMonitor": 0, "isReadonly": 0}, {"id": "device_report_monitor", "name": "上报监测数据", "order": 9, "datatype": {"max": 10, "min": 1, "step": 1, "type": "integer", "unit": "次数", "enumList": [{"text": "", "value": ""}], "arrayType": "int"}, "isHistory": 0, "isMonitor": 0, "isReadonly": 0}], "arrayType": "object", "arrayCount": 5}', 1, 0, 0, 0, 0, 0, 10, '0', 'admin', '2023-02-24 01:10:43', 'admin', '2023-04-13 01:33:38', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('功能分组', 1, 'admin', 'group', 2, 'object', '{"type": "object", "params": [{"id": "group_light", "name": "光照", "order": 1, "isChart": 1, "datatype": {"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mm"}, "isHistory": 1, "isMonitor": 1, "isReadonly": 1}, {"id": "group_humidity", "name": "空气湿度", "order": 2, "isChart": 1, "datatype": {"max": 100, "min": 0, "step": 0.1, "type": "decimal", "unit": "%"}, "isMonitor": 1, "isReadonly": 1}, {"id": "group_temperature", "name": "空气温度-只读", "order": 3, "isChart": 0, "datatype": {"max": 120, "min": -20, "step": 0.1, "type": "decimal", "unit": "℃"}, "isMonitor": 0, "isReadonly": 1}, {"id": "group_report_monitor", "name": "上报监测数据", "order": 7, "datatype": {"max": 10, "min": 1, "step": 1, "type": "integer", "unit": "次数"}, "isHistory": 0, "isMonitor": 0, "isReadonly": 0}, {"id": "group_gear", "name": "运行档位", "order": 5, "datatype": {"type": "enum", "showWay": "select", "enumList": [{"text": "低速档位", "value": "0"}, {"text": "中速档位", "value": "1"}, {"text": "中高速档位", "value": "2"}, {"text": "高速档位", "value": "3"}]}, "isHistory": 1, "isMonitor": 0, "isReadonly": 0}, {"id": "group_switch", "name": "设备开关", "order": 4, "datatype": {"type": "bool", "trueText": "打开", "falseText": "关闭"}, "isMonitor": 0, "isReadonly": 0}, {"id": "group_irc", "name": "红外遥控", "order": 6, "isChart": 0, "datatype": {"type": "enum", "showWay": "button", "enumList": [{"text": "遥控学习", "value": "FFXX01"}, {"text": "遥控清码", "value": "FFXX02"}, {"text": "打开开关", "value": "FFXX03"}, {"text": "关闭开关", "value": "FFXX04"}, {"text": "暂停", "value": "FFXX05"}, {"text": "锁定", "value": "FFXX06"}]}, "isHistory": 1, "isMonitor": 0, "isReadonly": 0}]}', 1, 0, 0, 0, 0, 0, 11, '0', 'admin', '2023-02-25 22:41:43', 'admin', '2023-08-30 15:29:34', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率 ', 1, 'admin', 'frequency', 2, 'integer', '{"max": 65535, "min": 0, "step": 1, "type": "integer", "unit": "0.001Hz"}', 1, 0, 0, 1, 0, 0, 0, '0', '', '2023-02-28 16:08:06', 'admin', '2023-04-10 03:37:11', NULL, '%s*0.001', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('校验位', 1, 'admin', 'check', 2, 'enum', '{"type": "enum", "showWay": "select", "enumList": [{"text": "N", "value": "0"}, {"text": "O", "value": "1"}, {"text": "E", "value": "2"}]}', 1, 0, 0, 1, 1, 0, 0, '0', '', '2023-02-28 16:08:08', 'admin', '2023-04-10 21:36:01', NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('波特率', 1, 'admin', 'baud', 2, 'enum', '{"type": "enum", "showWay": "select", "enumList": [{"text": "1200", "value": "0"}, {"text": "2400", "value": "1"}, {"text": "4800", "value": "2"}, {"text": "9600", "value": "3"}, {"text": "19200", "value": "4"}]}', 1, 0, 0, 1, 1, 0, 0, '0', '', '2023-02-28 16:08:09', 'admin', '2023-04-10 03:37:32', NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('电压', 1, 'admin', 'voltage', 1, 'integer', '{"max": 6, "min": 0.1, "step": 0.1, "type": "integer", "unit": "v"}', 1, 1, 1, 1, 1, 0, 0, '0', '', '2023-02-28 16:08:09', 'admin', '2023-04-10 03:37:16', NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('射频遥控', 1, 'admin', 'irc', 2, 'enum', '{"type": "enum", "showWay": "button", "enumList": [{"text": "遥控学习", "value": "FFXX01"}, {"text": "遥控清码", "value": "FFXX02"}, {"text": "打开开关", "value": "FFXX03"}, {"text": "关闭开关", "value": "FFXX04"}, {"text": "暂停", "value": "FFXX05"}, {"text": "锁定", "value": "FFXX06"}]}', 1, 0, 0, 1, 0, 0, 0, '0', 'admin', '2023-03-31 23:46:20', 'admin', '2023-04-10 01:09:46', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('漏水值', 1, 'admin', '0', 1, 'integer', '{"max": 100, "min": 1, "step": 1, "type": "integer", "unit": "度"}', 1, 0, 0, 1, 0, 0, 0, '0', '', '2023-04-11 22:35:36', '', '2023-09-13 23:32:34', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度', 1, 'admin', '0', 1, 'integer', '{"max": 100, "min": 1, "step": 1, "type": "integer", "unit": "°"}', 1, 0, 0, 1, 0, 0, 0, '0', '', '2023-04-11 22:36:10', '', '2023-09-13 23:32:51', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('电量', 1, 'admin', '1', 1, 'integer', '{"max": 100, "min": 1, "step": 1, "type": "integer", "unit": ""}', 1, 0, 0, 1, 0, 0, 0, '0', '', '2023-04-11 22:36:27', '', '2023-09-13 23:33:11', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('上报状态', 1, 'admin', 'status', 2, 'enum', '{"type": "enum", "showWay": "button", "enumList": [{"text": "更新状态", "value": "update_status"}]}', 1, 0, 0, 0, 0, 1, 0, '0', 'admin', '2023-04-13 01:35:42', 'admin', '2023-09-03 10:50:16', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X位移', 1, 'admin', 'x-shift', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mm"}', 1, 1, 1, 1, 1, 0, 0, '0', '', '2023-08-26 19:36:58', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y位移', 1, 'admin', 'y-shift', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mm"}', 1, 1, 1, 1, 1, 0, 0, '0', '', '2023-08-26 19:37:23', '', '2023-08-26 19:37:32', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X位移', 1, 'admin', 'x-shift', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mm"}', 1, 1, 1, 1, 1, 0, 0, '0', '', '2023-08-26 19:38:31', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y位移', 1, 'admin', 'y-shift', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mm"}', 1, 1, 1, 1, 1, 0, 0, '0', '', '2023-08-26 19:38:51', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('图片', 1, 'admin', 'image', 1, 'string', '{"type": "string", "maxLength": 10240}', 1, 0, 0, 1, 1, 0, 0, '0', '', '2023-08-28 23:19:30', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('湿度', 1, 'admin', '0', 1, 'integer', '{"max": 100, "min": 0, "step": 1, "type": "integer", "unit": ""}', 1, 0, 0, 1, 1, 0, 0, '0', '', '2023-08-30 14:05:38', '', '2023-08-30 14:58:28', NULL, '%s/10', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度', 1, 'admin', '1', 1, 'integer', '{"max": 100, "min": 0, "step": 1, "type": "integer", "unit": "°C"}', 1, 0, 0, 1, 1, 0, 0, '0', '', '2023-08-30 14:06:05', '', '2023-08-30 14:58:38', NULL, '%s/10', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('视频', 1, 'admin', 'video', 1, 'integer', '{"max": 100, "min": 0, "step": 1, "type": "integer", "unit": ""}', 1, 0, 0, 1, 1, 0, 0, '0', '', '2023-08-30 23:08:51', '', '2023-08-30 23:25:15', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('图片', 1, 'admin', 'image', 1, 'string', '{"type": "string", "maxLength": 1024}', 1, 0, 0, 1, 1, 0, 0, '0', '', '2023-08-30 23:21:48', '', '2023-08-30 23:25:22', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('状态', 1, 'admin', 'status', 1, 'integer', '{"max": 100, "min": 0, "step": 1, "type": "integer", "unit": ""}', 1, 0, 0, 1, 1, 0, 0, '0', '', '2023-08-30 23:28:00', '', '2023-08-30 23:28:17', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相电压', 1, 'admin', '1', 1, 'integer', '{"max": 220, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 1, 0, '0', '', '2023-12-08 08:48:34', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相电压', 1, 'admin', '2', 1, 'integer', '{"max": 220, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 1, 0, '0', '', '2023-12-08 08:48:34', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相电流', 1, 'admin', '3', 1, 'integer', '{"max": 220, "min": 0, "step": 0, "type": "integer", "unit": "A"}', 1, 0, 0, 0, 1, 1, 0, '0', '', '2023-12-08 08:48:34', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相电流', 1, 'admin', '4', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": "A"}', 1, 0, 0, 0, 1, 1, 0, '0', '', '2023-12-08 08:48:34', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相电流', 1, 'admin', '5', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": "A"}', 1, 0, 0, 0, 1, 1, 0, '0', '', '2023-12-08 08:48:34', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('DI-1', 1, 'admin', '0', 1, 'integer', '{"max": 100, "min": 0, "step": 1, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2023-12-11 10:39:15', '', '2023-12-11 11:07:07', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('DI', 1, 'admin', '0', 1, 'enum', '{"type": "enum", "showWay": "select", "enumList": [{"text": "0", "value": "DI-1"}, {"text": "1", "value": "DI-2"}, {"text": "2", "value": "DI-3"}, {"text": "3", "value": "DI-4"}, {"text": "4", "value": "DI-5"}, {"text": "5", "value": "DI-6"}, {"text": "6", "value": "DI-7"}, {"text": "7", "value": "DI-8"}]}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2023-12-11 13:31:14', '', '2023-12-12 09:34:33', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('DI', 1, 'admin', '0', 1, 'enum', '{"type": "enum", "showWay": "select", "enumList": [{"text": "0", "value": "DI-1"}, {"text": "1", "value": "DI-2"}, {"text": "2", "value": "DI-3"}, {"text": "3", "value": "DI-4"}, {"text": "4", "value": "DI-5"}, {"text": "5", "value": "DI-6"}, {"text": "6", "value": "DI-7"}, {"text": "7", "value": "DI-8"}]}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2023-12-11 13:40:03', '', '2023-12-12 10:33:21', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('data-1', 1, 'admin', 'keystr-1', 1, 'integer', '{"max": 100, "min": 0, "step": 1, "type": "integer", "unit": ""}', 1, 1, 1, 1, 1, 0, 0, '0', '', '2023-12-20 15:36:05', '', '2023-12-20 15:36:32', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('data-2', 1, 'admin', 'keystr-2', 1, 'integer', '{"max": 100, "min": 0, "step": 1, "type": "integer", "unit": ""}', 1, 1, 1, 1, 1, 0, 0, '0', '', '2023-12-20 15:36:25', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相电压', 1, 'admin', 'k18', 1, 'integer', '{"max": 999.9, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:42', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相电压', 1, 'admin', 'k19', 1, 'integer', '{"max": 999.9, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:42', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相电流', 1, 'admin', 'k20', 1, 'integer', '{"max": 200, "min": 0, "step": 0, "type": "integer", "unit": "A"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:42', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相电流', 1, 'admin', 'k21', 1, 'integer', '{"max": 200, "min": 0, "step": 0, "type": "integer", "unit": "A"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相电流', 1, 'admin', 'k22', 1, 'integer', '{"max": 200, "min": 0, "step": 0, "type": "integer", "unit": "A"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('U12线电压', 1, 'admin', 'k29', 1, 'integer', '{"max": 999.9, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('U23线电压', 1, 'admin', 'k30', 1, 'integer', '{"max": 999.9, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('U31线电压', 1, 'admin', 'k31', 1, 'integer', '{"max": 999.9, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率', 1, 'admin', 'k32', 1, 'integer', '{"max": 99.99, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路-总有功功率', 1, 'admin', 'k33', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路-总无功功率', 1, 'admin', 'k36', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相正(市电)有功电能高字节', 1, 'admin', 'k39', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相正(市电)有功电能低字节', 1, 'admin', 'k40', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相正(市电)有功电能高字节', 1, 'admin', 'k41', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相正(市电)有功电能低字节', 1, 'admin', 'k42', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相正(市电)有功电能高字节', 1, 'admin', 'k43', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相正(市电)有功电能低字节', 1, 'admin', 'k44', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相有功功率', 1, 'admin', 'k57', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相有功功率', 1, 'admin', 'k58', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相有功功率', 1, 'admin', 'k59', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相无功功率', 1, 'admin', 'k66', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相无功功率', 1, 'admin', 'k67', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相无功功率', 1, 'admin', 'k68', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相视在功率', 1, 'admin', 'k69', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相视在功率', 1, 'admin', 'k70', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相视在功率', 1, 'admin', 'k71', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相总视在功率', 1, 'admin', 'k72', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相功率因数', 1, 'admin', 'k75', 1, 'integer', '{"max": 1, "min": -1, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相功率因数', 1, 'admin', 'k76', 1, 'integer', '{"max": 1, "min": -1, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相功率因数', 1, 'admin', 'k77', 1, 'integer', '{"max": 1, "min": -1, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相正(市电)无功电能高字节', 1, 'admin', 'k84', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相正(市电)无功电能低字节', 1, 'admin', 'k85', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相正(市电)无功电能高字节', 1, 'admin', 'k86', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相正(市电)无功电能低字节', 1, 'admin', 'k87', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相正(市电)无功电能高字节', 1, 'admin', 'k88', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相正(市电)无功电能低字节', 1, 'admin', 'k89', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路正(市电)总有功电能高字节', 1, 'admin', 'k112', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:43', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路正(市电)总有功电能低字节', 1, 'admin', 'k113', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:44', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路正(市电)总无功电能高字节', 1, 'admin', 'k118', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:44', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路正(市电)总无功电能低字节', 1, 'admin', 'k119', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:34:44', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('密码', 1, 'admin', 'k0', 1, 'integer', '{"max": 9999, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 0, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('地址', 1, 'admin', 'k1', 1, 'integer', '{"max": 247, "min": 1, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 0, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('波特率', 1, 'admin', 'k2', 1, 'integer', '{"max": 38400, "min": 1920, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 0, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('5A输入CT变比/10mA输入为一次电流', 1, 'admin', 'k3', 1, 'integer', '{"max": 9999, "min": 1, "step": 0, "type": "integer", "unit": "A"}', 1, 0, 0, 0, 0, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Pt变比', 1, 'admin', 'k5', 1, 'integer', '{"max": 9999, "min": 1, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 0, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('额定电压', 1, 'admin', 'k6', 1, 'integer', '{"max": 220, "min": 100, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 0, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('额定电流', 1, 'admin', 'k7', 1, 'integer', '{"max": 100, "min": 1, "step": 0, "type": "integer", "unit": "A"}', 1, 0, 0, 0, 0, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路-总功率因数', 1, 'admin', 'k13', 1, 'integer', '{"max": 1, "min": -1, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相电压', 1, 'admin', 'k17', 1, 'integer', '{"max": 999.9, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相电压', 1, 'admin', 'k18', 1, 'integer', '{"max": 999.9, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相电压', 1, 'admin', 'k19', 1, 'integer', '{"max": 999.9, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相电流', 1, 'admin', 'k20', 1, 'integer', '{"max": 200, "min": 0, "step": 0, "type": "integer", "unit": "A"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相电流', 1, 'admin', 'k21', 1, 'integer', '{"max": 200, "min": 0, "step": 0, "type": "integer", "unit": "A"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相电流', 1, 'admin', 'k22', 1, 'integer', '{"max": 200, "min": 0, "step": 0, "type": "integer", "unit": "A"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('U12线电压', 1, 'admin', 'k29', 1, 'integer', '{"max": 999.9, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('U23线电压', 1, 'admin', 'k30', 1, 'integer', '{"max": 999.9, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('U31线电压', 1, 'admin', 'k31', 1, 'integer', '{"max": 999.9, "min": 0, "step": 0, "type": "integer", "unit": "V"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率', 1, 'admin', 'k32', 1, 'integer', '{"max": 99.99, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路-总有功功率', 1, 'admin', 'k33', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路-总无功功率', 1, 'admin', 'k36', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:16', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相正(市电)有功电能高字节', 1, 'admin', 'k39', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相正(市电)有功电能低字节', 1, 'admin', 'k40', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相正(市电)有功电能高字节', 1, 'admin', 'k41', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相正(市电)有功电能低字节', 1, 'admin', 'k42', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相正(市电)有功电能高字节', 1, 'admin', 'k43', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相正(市电)有功电能低字节', 1, 'admin', 'k44', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相有功功率', 1, 'admin', 'k57', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相有功功率', 1, 'admin', 'k58', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相有功功率', 1, 'admin', 'k59', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相无功功率', 1, 'admin', 'k66', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相无功功率', 1, 'admin', 'k67', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相无功功率', 1, 'admin', 'k68', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相视在功率', 1, 'admin', 'k69', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相视在功率', 1, 'admin', 'k70', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相视在功率', 1, 'admin', 'k71', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相总视在功率', 1, 'admin', 'k72', 1, 'integer', '{"max": 44, "min": 0, "step": 0, "type": "integer", "unit": "kW"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相功率因数', 1, 'admin', 'k75', 1, 'integer', '{"max": 1, "min": -1, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相功率因数', 1, 'admin', 'k76', 1, 'integer', '{"max": 1, "min": -1, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相功率因数', 1, 'admin', 'k77', 1, 'integer', '{"max": 1, "min": -1, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相正(市电)无功电能高字节', 1, 'admin', 'k84', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('A相正(市电)无功电能低字节', 1, 'admin', 'k85', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相正(市电)无功电能高字节', 1, 'admin', 'k86', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('B相正(市电)无功电能低字节', 1, 'admin', 'k87', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相正(市电)无功电能高字节', 1, 'admin', 'k88', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('C相正(市电)无功电能低字节', 1, 'admin', 'k89', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路正(市电)总有功电能高字节', 1, 'admin', 'k112', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路正(市电)总有功电能低字节', 1, 'admin', 'k113', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路正(市电)总无功电能高字节', 1, 'admin', 'k118', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('三相回路正(市电)总无功电能低字节', 1, 'admin', 'k119', 1, 'integer', '{"max": 1, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 15:46:17', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('DS18B20温度数据 ', 1, 'admin', '0', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": "摄氏度"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '%s*0.01', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('CO2二氧化碳数据 ', 1, 'admin', '1', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('ADC1的AD值 ', 1, 'admin', '2', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('光照值高16位', 1, 'admin', '3', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('光照值低16位', 1, 'admin', '4', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('空气温度', 1, 'admin', '5', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '%s*0.01', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('空气湿度', 1, 'admin', '6', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '%s*0.01', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('485的地址 ', 1, 'admin', '7', 1, 'integer', '{"max": 254, "min": 1, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('RSSI ', 1, 'admin', '8', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 0, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('CO2补偿 ', 1, 'admin', '9', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('PM25', 1, 'admin', '10', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('PM10', 1, 'admin', '11', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('电池电压ADC值', 1, 'admin', '12', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('输入电压ADC值', 1, 'admin', '13', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": ""}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '%s*10', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('系统运行模式 ', 1, 'admin', '14', 1, 'enum', '{"type": "enum", "enumList": [{"text": "一直运行", "value": "1"}, {"text": "定时运行", "value": "0"}, {"text": "立即进入低功耗定时运行", "value": "2"}]}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('定时运行时间秒 ', 1, 'admin', '15', 2, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": "秒"}', 1, 0, 0, 0, 0, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('定时睡眠时间秒', 1, 'admin', '16', 2, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": "秒"}', 1, 0, 0, 0, 0, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('低功耗模式中当前的运行时间', 1, 'admin', '17', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": "秒"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('低功耗模式中当前的睡眠时间', 1, 'admin', '18', 1, 'integer', '{"max": 100, "min": 0, "step": 0, "type": "integer", "unit": "秒"}', 1, 0, 0, 0, 1, 0, 0, '0', '', '2024-01-08 17:03:03', '', NULL, NULL, '', NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('vbat', 1, 'admin', 'vbat', 1, 'integer', '{"max": 100, "min": 0, "step": 1, "type": "integer", "unit": "V"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-07-07 22:54:51', 'admin', '2025-07-08 15:32:38', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('electricity', 1, 'admin', 'electricity', 1, 'string', '{"type": "string", "maxLength": 1024}', 1, 0, 0, 1, 1, 1, 0, '0', 'admin', '2025-07-07 22:56:13', 'admin', '2025-07-08 14:49:09', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('version', 1, 'admin', 'version', 1, 'string', '{"type": "string", "maxLength": 1024}', 1, 0, 0, 1, 1, 1, 0, '0', 'admin', '2025-07-07 22:56:32', 'admin', '2025-07-08 14:48:44', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('data_from', 1, 'admin', 'data_from', 1, 'string', '{"type": "string", "maxLength": 1024}', 1, 0, 0, 1, 1, 1, 0, '0', 'admin', '2025-07-07 22:58:58', 'admin', '2025-07-08 14:48:23', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('gprs', 1, 'admin', 'gprs', 1, 'integer', '{"max": 100, "min": 2, "step": 1, "type": "integer", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-07-07 22:59:24', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('satellite', 1, 'admin', 'satellite', 1, 'integer', '{"max": 80, "min": 0, "step": 1, "type": "integer", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-07-07 22:59:46', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('imei', 1, 'admin', 'imei', 1, 'string', '{"type": "string", "maxLength": 1024}', 1, 0, 0, 1, 1, 1, 0, '0', 'admin', '2025-07-07 23:00:21', 'admin', '2025-07-08 14:46:30', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('reporttime', 1, 'admin', 'reporttime', 1, 'string', '{"type": "string", "maxLength": 1024}', 1, 0, 0, 1, 1, 1, 0, '0', 'admin', '2025-07-07 23:01:10', 'admin', '2025-07-08 14:46:49', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('latitude', 1, 'admin', 'latitude', 1, 'string', '{"type": "string", "maxLength": 1024}', 1, 0, 0, 1, 1, 1, 0, '0', 'admin', '2025-07-07 23:04:35', 'admin', '2025-07-08 14:48:05', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('temperature', 1, 'admin', 'temperature', 1, 'decimal', '{"max": 80, "min": -20, "step": 0.001, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-07-08 14:35:49', 'admin', '2025-12-03 13:10:32', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('humidiy', 1, 'admin', 'humidity', 1, 'integer', '{"max": 100, "min": 0, "step": 0.001, "type": "integer", "unit": "%"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-07-08 14:36:21', 'admin', '2025-08-03 21:53:56', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('cmdtype', 1, 'admin', 'cmdtype', 1, 'string', '{"type": "string", "maxLength": 1024}', 1, 0, 0, 1, 1, 1, 0, '0', 'admin', '2025-07-08 14:49:38', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('电压', 1, 'admin', 'Vol', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "V"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-04 20:54:58', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度', 1, 'admin', 'T', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-04 20:55:12', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴角度', 1, 'admin', 'AngX', 1, 'decimal', '{"max": 90, "min": -90, "step": 1, "type": "decimal", "unit": "°"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-04 20:55:39', 'admin', '2025-12-04 20:56:17', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴角度', 1, 'admin', 'AngY', 1, 'decimal', '{"max": 90, "min": -90, "step": 1, "type": "decimal", "unit": "°"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-04 20:56:07', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴角度', 1, 'admin', 'AngZ', 1, 'decimal', '{"max": 90, "min": -90, "step": 1, "type": "decimal", "unit": "°"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-04 20:56:40', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率', 1, 'admin', 'F', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-05 00:08:13', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('模数', 1, 'admin', 'E', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-05 00:08:23', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴角度偏移量', 1, 'admin', 'Dif_X', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "°"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-05 20:29:05', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴角度偏移量', 1, 'admin', 'Dif_Y', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "°"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-05 20:29:20', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴角度偏移量', 1, 'admin', 'Dif_Z', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "°"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-05 20:29:36', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH1', 1, 'admin', 'E_CH1', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:50:13', 'admin', '2025-12-08 11:17:57', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH1', 1, 'admin', 'F_CH1', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:50:28', 'admin', '2025-12-08 11:18:08', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH1', 1, 'admin', 'T_CH1', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:51:26', 'admin', '2025-12-08 11:20:47', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH2', 1, 'admin', 'E_CH2', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:51:42', 'admin', '2025-12-08 11:17:53', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH2', 1, 'admin', 'F_CH2', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:51:59', 'admin', '2025-12-08 11:20:39', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH2', 1, 'admin', 'T_CH2', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:52:10', 'admin', '2025-12-08 11:20:54', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH3', 1, 'admin', 'E_CH3', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:52:22', 'admin', '2025-12-08 11:17:49', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH3', 1, 'admin', 'F_CH3', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:52:37', 'admin', '2025-12-08 11:21:02', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH3', 1, 'admin', 'T_CH3', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:52:58', 'admin', '2025-12-08 11:21:10', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH4', 1, 'admin', ' E_CH4', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:54:27', 'admin', '2025-12-08 11:17:43', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH4', 1, 'admin', 'F_CH4', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:54:47', 'admin', '2025-12-08 11:21:17', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH4', 1, 'admin', 'T_CH4', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:55:09', 'admin', '2025-12-08 11:21:22', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH5', 1, 'admin', 'E_CH5', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:55:20', 'admin', '2025-12-08 11:17:40', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH5', 1, 'admin', 'F_CH5', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:55:32', 'admin', '2025-12-08 11:21:28', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH5', 1, 'admin', 'T_CH5', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:55:45', 'admin', '2025-12-08 11:21:31', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH6', 1, 'admin', 'E_CH6', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:55:59', 'admin', '2025-12-08 11:17:36', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH6', 1, 'admin', 'F_CH6', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:56:08', 'admin', '2025-12-08 11:21:36', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH6', 1, 'admin', 'T_CH6', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:56:17', 'admin', '2025-12-08 11:21:40', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH7', 1, 'admin', 'E_CH7', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:56:37', 'admin', '2025-12-08 11:17:31', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH7', 1, 'admin', 'F_CH7', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:56:50', 'admin', '2025-12-08 11:22:10', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH7', 1, 'admin', 'T_CH7', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:57:01', 'admin', '2025-12-08 11:22:06', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH8', 1, 'admin', 'E_CH8', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:57:10', 'admin', '2025-12-08 11:17:27', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH8', 1, 'admin', 'F_CH8', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:57:22', 'admin', '2025-12-08 11:22:01', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH8', 1, 'admin', 'T_CH8', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:57:36', 'admin', '2025-12-08 11:21:57', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH9', 1, 'admin', 'E_CH9', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:57:51', 'admin', '2025-12-08 11:17:23', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH9', 1, 'admin', 'F_CH9', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:58:02', 'admin', '2025-12-08 11:21:53', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH9', 1, 'admin', 'T_CH9', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:58:19', 'admin', '2025-12-08 11:21:48', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH10', 1, 'admin', 'E_CH10', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:58:35', 'admin', '2025-12-08 11:17:19', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH10', 1, 'admin', 'F_CH10', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:59:02', 'admin', '2025-12-08 11:22:45', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH10', 1, 'admin', 'T_CH10', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:59:17', 'admin', '2025-12-08 11:22:40', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH11', 1, 'admin', 'E_CH11', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:59:28', 'admin', '2025-12-08 11:16:12', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH11', 1, 'admin', 'F_CH11', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:59:40', 'admin', '2025-12-08 11:22:36', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH11', 1, 'admin', 'T_CH11', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:59:50', 'admin', '2025-12-08 11:22:32', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH12', 1, 'admin', 'E_CH12', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 10:59:59', 'admin', '2025-12-08 11:16:04', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH12', 1, 'admin', 'F_CH12', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:00:10', 'admin', '2025-12-08 11:22:28', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH12', 1, 'admin', 'T_CH12', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:00:21', 'admin', '2025-12-08 11:22:23', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES(' 应力应变CH13', 1, 'admin', 'E_CH13', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:00:34', 'admin', '2025-12-08 11:16:00', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH13', 1, 'admin', 'F_CH13', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:00:46', 'admin', '2025-12-08 11:22:17', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH13', 1, 'admin', 'T_CH13', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:00:55', 'admin', '2025-12-08 11:23:39', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH14', 1, 'admin', 'E_CH14', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:01:05', 'admin', '2025-12-08 11:15:50', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH14', 1, 'admin', 'F_CH14', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:01:14', 'admin', '2025-12-08 11:23:44', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH14', 1, 'admin', 'T_CH14', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:01:23', 'admin', '2025-12-08 11:23:48', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH15', 1, 'admin', 'E_CH15', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:01:33', 'admin', '2025-12-08 11:15:46', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH15', 1, 'admin', 'F_CH15', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:01:43', 'admin', '2025-12-08 11:23:53', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH15', 1, 'admin', 'T_CH15', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:01:52', 'admin', '2025-12-08 11:23:56', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('应力应变CH16', 1, 'admin', 'E_CH16', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "με"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:02:03', 'admin', '2025-12-08 11:15:21', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('频率CH16', 1, 'admin', 'F_CH16', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:02:12', 'admin', '2025-12-08 11:11:49', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度CH16', 1, 'admin', 'T_CH16', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-08 11:02:21', 'admin', '2025-12-08 11:23:33', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('纬度', 1, 'admin', 'Lat', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "°"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 22:53:16', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('经度', 1, 'admin', 'Lont', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "°"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 22:53:31', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴加速度有效值', 1, 'admin', 'Vax', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 22:54:18', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴加速度有效值', 1, 'admin', 'Vay', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 22:54:38', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴加速度有效值', 1, 'admin', 'Vaz', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 22:54:53', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴加速度最大值', 1, 'admin', 'Max', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 22:55:10', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴加速度最大值', 1, 'admin', 'May', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 22:55:24', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴加速度最大值', 1, 'admin', 'Maz', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 22:55:37', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴主频', 1, 'admin', 'Mfx', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 22:55:56', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴主频', 1, 'admin', 'Mfy', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 22:56:15', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴主频', 1, 'admin', 'Mfz', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 22:56:28', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴主频频幅', 1, 'admin', 'MFAx', 1, 'integer', '{"max": 100, "min": 0, "step": 1, "type": "integer", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 23:01:21', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴主频频幅', 1, 'admin', 'MFAy', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 23:01:37', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴主频频幅', 1, 'admin', 'MFAz', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 23:01:51', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴直流频幅', 1, 'admin', 'DCAx', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 23:02:17', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴直流频幅', 1, 'admin', 'DCAy', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 23:02:31', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴直流频幅', 1, 'admin', 'DCAz', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-14 23:02:45', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('计算值1', 1, 'admin', 'OP1', 1, 'integer', '{"max": 100, "min": 0, "step": 1, "type": "integer", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-23 10:47:59', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('设备电压', 1, 'admin', 'Dev_Vol', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "V"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-24 17:31:01', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('位移', 1, 'admin', 'Dis', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "cm"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-29 17:40:12', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('位移变化量', 1, 'admin', 'Diff_Dis', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2025-12-29 17:57:07', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴相对变化量', 1, 'admin', 'DifX', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-01-23 23:26:36', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴相对变化量', 1, 'admin', 'DifY', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-01-23 23:26:52', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴相对变化量', 1, 'admin', 'DifZ', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-01-23 23:27:05', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('水位', 1, 'admin', 'WaterH', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "cm"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-01-28 18:49:40', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('水温', 1, 'admin', 'WaterT', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-01-28 18:50:04', 'admin', '2026-01-28 18:50:29', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('水位电压', 1, 'admin', 'WaterVol', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mV"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-01-28 18:50:21', 'admin', '2026-01-29 17:09:43', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('RTUID', 1, 'admin', 'RTUID', 1, 'integer', '{"max": 100, "min": 0, "step": 1, "type": "integer", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-01-31 20:03:45', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('设备编号', 1, 'admin', 'DeviceSN', 2, 'string', '{"type": "string", "maxLength": 1024}', 1, 0, 0, 1, 0, 1, 0, '0', 'admin', '2026-01-31 20:04:31', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴角度', 1, 'admin', 'Ang_x', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-01-31 20:05:06', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴角度', 1, 'admin', 'Ang_y', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-01-31 20:05:20', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('温度', 1, 'admin', 'Temp', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "℃"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 11:56:36', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴角度', 1, 'admin', 'Ang_z', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": ""}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 11:58:49', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴加速度有效值', 1, 'admin', 'VVa_x', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 11:59:17', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴加速度有效值', 1, 'admin', 'VVa_y', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 11:59:34', 'admin', '2026-02-13 11:59:39', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴加速度有效值', 1, 'admin', 'VVa_z', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 11:59:58', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴加速度最大值', 1, 'admin', 'PPa_x', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:00:21', 'admin', '2026-02-13 12:01:03', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴加速度最大值', 1, 'admin', 'PPa_y', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:00:38', 'admin', '2026-02-13 12:00:55', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴加速度最大值', 1, 'admin', 'PPa_z', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:02:12', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴主频', 1, 'admin', 'MFf_x', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:02:36', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴主频', 1, 'admin', 'MFf_y', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:02:50', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴主频', 1, 'admin', 'MFf_z', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "Hz"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:03:03', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴主频频幅', 1, 'admin', 'MFA_x', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:03:33', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴主频频幅', 1, 'admin', 'MFA_y', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:03:54', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴主频频幅', 1, 'admin', 'MFA_z', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:04:12', 'admin', '2026-02-13 12:04:18', NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴直流频幅', 1, 'admin', 'DCA_x', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:04:43', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴直流频幅', 1, 'admin', 'DCA_y', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:04:58', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴直流频幅', 1, 'admin', 'DCA_z', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mg"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:05:13', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴速度有效值', 1, 'admin', 'VVv_x', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mm/s"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:05:53', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴速度有效值', 1, 'admin', 'VVv_y', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mm/s"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:06:10', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴速度有效值', 1, 'admin', 'VVv_z', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "mm/s"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:06:29', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('X轴位移最大值', 1, 'admin', 'Dis_x', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "um"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:06:48', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Y轴位移最大值', 1, 'admin', 'Dis_y', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "um"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:07:01', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('Z轴位移最大值', 1, 'admin', 'Dis_z', 1, 'decimal', '{"max": 100, "min": 0, "step": 1, "type": "decimal", "unit": "um"}', 1, 1, 1, 1, 1, 1, 0, '0', 'admin', '2026-02-13 12:07:19', '', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO fastbee.iot_things_model_template (template_name, tenant_id, tenant_name, identifier, `type`, datatype, specs, is_sys, is_chart, is_monitor, is_history, is_readonly, is_share_perm, model_order, del_flag, create_by, create_time, update_by, update_time, remark, formula, is_app) VALUES('版本号', 1, 'admin', 'DEV_VER', 2, 'string', '{"type": "string", "maxLength": 1024}', 1, 0, 0, 1, 0, 1, 0, '0', 'admin', '2026-02-13 12:09:14', 'admin', '2026-02-13 12:25:03', NULL, NULL, NULL);
|
||||
|
||||
|
||||
-- fastbee.iot_things_model_template_translate definition
|
||||
@ -1132,6 +1416,64 @@ CREATE TABLE `iot_things_model_translate` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='物模型翻译表';
|
||||
|
||||
|
||||
-- ============================================================
|
||||
-- 物模型数据推送配置 (微信服务号模板消息)
|
||||
-- 执行顺序:在主库 fastbee 中执行
|
||||
-- ============================================================
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `iot_things_model_push_config` (
|
||||
`id` BIGINT NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||
`config_name` VARCHAR(128) NOT NULL COMMENT '配置名称',
|
||||
`product_id` BIGINT NOT NULL COMMENT '产品ID',
|
||||
`device_id` BIGINT DEFAULT NULL COMMENT '设备ID(必须指定具体设备)',
|
||||
`serial_number` VARCHAR(64) DEFAULT NULL COMMENT '设备编号',
|
||||
`template_id` BIGINT NOT NULL COMMENT '通知模板ID(关联 notify_template.id)',
|
||||
`push_interval` INT DEFAULT 60 COMMENT '推送间隔(分钟),0=仅手动推送',
|
||||
`last_push_time` DATETIME DEFAULT NULL COMMENT '最近一次推送时间',
|
||||
`status` TINYINT DEFAULT 1 COMMENT '状态:0=停用 1=启用',
|
||||
`tenant_id` BIGINT DEFAULT NULL COMMENT '租户ID',
|
||||
`tenant_name` VARCHAR(64) DEFAULT NULL COMMENT '租户名称',
|
||||
`user_id` BIGINT DEFAULT NULL COMMENT '配置归属用户ID',
|
||||
`create_by` VARCHAR(64) DEFAULT NULL COMMENT '创建者',
|
||||
`create_time` DATETIME DEFAULT NULL COMMENT '创建时间',
|
||||
`update_by` VARCHAR(64) DEFAULT NULL COMMENT '更新者',
|
||||
`update_time` DATETIME DEFAULT NULL COMMENT '更新时间',
|
||||
`del_flag` CHAR(1) DEFAULT '0' COMMENT '删除标志(0代表存在 2代表删除)',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_device_id` (`device_id`),
|
||||
KEY `idx_template_id` (`template_id`),
|
||||
KEY `idx_user_id` (`user_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='物模型数据推送配置';
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `iot_push_model_item` (
|
||||
`id` BIGINT NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||
`config_id` BIGINT NOT NULL COMMENT '推送配置ID',
|
||||
`model_id` BIGINT DEFAULT NULL COMMENT '物模型ID(iot_things_model.model_id)',
|
||||
`identifier` VARCHAR(128) NOT NULL COMMENT '物模型标识符',
|
||||
`model_name` VARCHAR(128) DEFAULT NULL COMMENT '物模型名称(冗余展示用)',
|
||||
`unit` VARCHAR(32) DEFAULT NULL COMMENT '单位(冗余展示用)',
|
||||
`green_min` VARCHAR(64) DEFAULT NULL COMMENT '绿色(正常)下限,NULL表示不限',
|
||||
`green_max` VARCHAR(64) DEFAULT NULL COMMENT '绿色(正常)上限,NULL表示不限',
|
||||
`yellow_min` VARCHAR(64) DEFAULT NULL COMMENT '黄色(告警)下限,NULL表示不限',
|
||||
`yellow_max` VARCHAR(64) DEFAULT NULL COMMENT '黄色(告警)上限,NULL表示不限',
|
||||
`sort_order` INT DEFAULT 0 COMMENT '排列顺序',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_config_id` (`config_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='推送物模型项及等级阈值配置';
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `iot_push_user` (
|
||||
`id` BIGINT NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||||
`config_id` BIGINT NOT NULL COMMENT '推送配置ID',
|
||||
`user_id` BIGINT NOT NULL COMMENT '系统用户ID(需已绑定微信公众号)',
|
||||
`user_name` VARCHAR(64) DEFAULT NULL COMMENT '用户名(冗余展示用)',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_config_id` (`config_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='推送接收用户';
|
||||
|
||||
|
||||
|
||||
-- fastbee.iot_var_temp definition
|
||||
|
||||
CREATE TABLE `iot_var_temp` (
|
||||
@ -1968,7 +2310,8 @@ CREATE TABLE `sys_dept` (
|
||||
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||
`email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
|
||||
`dept_type` tinyint(4) DEFAULT NULL COMMENT '机构类型',
|
||||
PRIMARY KEY (`dept_id`) USING BTREE
|
||||
`logo` VARCHAR(500) DEFAULT NULL COMMENT '机构Logo URL',
|
||||
PRIMARY KEY (`dept_id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='机构表';
|
||||
INSERT INTO fastbee.sys_dept (dept_id, dept_user_id, parent_id, ancestors, dept_name, order_num, leader, phone, status, del_flag, create_by, create_time, update_by, update_time, email, dept_type) VALUES(100, 1, 0, '0', '岩安测控', 0, 'YACK', '18773611336', '0', '0', 'admin', now(), 'admin', now(), '308554276@qq.com', 1);
|
||||
|
||||
@ -3868,6 +4211,13 @@ INSERT INTO fastbee.sys_menu (menu_id, menu_name, parent_id, order_num, `path`,
|
||||
INSERT INTO fastbee.sys_menu (menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) VALUES(3418, 'Air780数据记录导出', 3413, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:iotDeviceAirLog:export', '#', 'admin', now(), '', NULL, '');
|
||||
INSERT INTO fastbee.sys_menu (menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) VALUES(3428, '图表管理', 3372, 2, 'echart', 'scada/echart/index', NULL, 1, 0, 'C', '0', '0', 'scada:echart:list', '#', 'admin', now(), '', NULL, '图表管理菜单');
|
||||
INSERT INTO fastbee.sys_menu (menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) VALUES(3429, '数据管理', 3343, 3, 'dataRepair', 'dataCenter/dataRepair', NULL, 1, 0, 'C', '0', '0', 'dataCenter:repair:list', 'data-analysis', 'admin', now(), 'admin', now(), '');
|
||||
-- 20260326 新增
|
||||
INSERT INTO `sys_menu` (menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)VALUES (3430, '数据联动', 3343, 9, 'pushConfig', 'iot/push/index', NULL, 1, 0, 'C', '0', '0', 'iot:push:list', 'guide', 'admin', now(), 'admin', now(), '微信服务号物模型数据推送');
|
||||
INSERT INTO `sys_menu` (menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)VALUES (3431, '推送配置查询', 3430, 1, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:push:query', '#', 'admin', now(), 'admin', now(), '');
|
||||
INSERT INTO `sys_menu` (menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)VALUES (3432, '推送配置新增', 3430, 2, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:push:add', '#', 'admin', now(), 'admin', now(), '');
|
||||
INSERT INTO `sys_menu` (menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)VALUES (3433, '推送配置修改', 3430, 3, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:push:edit', '#', 'admin', now(), 'admin', now(), '');
|
||||
INSERT INTO `sys_menu` (menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)VALUES (3434, '推送配置删除', 3430, 4, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:push:remove', '#', 'admin', now(), 'admin', now(), '');
|
||||
INSERT INTO `sys_menu` (menu_id, menu_name, parent_id, order_num, `path`, component, query, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)VALUES (3435, '手动立即推送', 3430, 5, '#', '', NULL, 1, 0, 'F', '0', '0', 'iot:push:push', '#', 'admin', now(), 'admin', now(), '');
|
||||
|
||||
|
||||
-- fastbee.sys_menu_translate definition
|
||||
|
||||
@ -28,36 +28,13 @@
|
||||
IMEI
|
||||
</template>
|
||||
<div class="cell-flex nowrap">
|
||||
<el-input v-model="deviceInfo.imei"
|
||||
size="mini"
|
||||
placeholder="请输入IMEI"
|
||||
style="flex: 1; min-width: 160px;"
|
||||
@keyup.enter.native="saveImeiIccid('imei')"
|
||||
/>
|
||||
<el-popover
|
||||
v-model="imeiPopoverVisible"
|
||||
placement="bottom"
|
||||
width="360"
|
||||
trigger="click"
|
||||
popper-class="atcmd-popover"
|
||||
>
|
||||
<el-input v-model="deviceInfo.imei" size="mini" placeholder="请输入IMEI" style="flex: 1; min-width: 160px" @keyup.enter.native="saveImeiIccid('imei')" />
|
||||
<el-popover v-model="imeiPopoverVisible" placement="bottom" width="360" trigger="click" popper-class="atcmd-popover">
|
||||
<div class="atcmd-title">编辑下发指令,回车即可发送</div>
|
||||
<el-input
|
||||
v-model="imeiCmd"
|
||||
size="mini"
|
||||
placeholder="例如:AT+IMEI\\r\\n (回车下发)"
|
||||
@keyup.enter.native="handleEnterSend('imei')"
|
||||
/>
|
||||
<el-input v-model="imeiCmd" size="mini" placeholder="例如:AT+IMEI\\r\\n (回车下发)" @keyup.enter.native="handleEnterSend('imei')" />
|
||||
<el-button slot="reference" size="mini" type="default">编辑指令</el-button>
|
||||
</el-popover>
|
||||
<el-button
|
||||
type="primary"
|
||||
size="mini"
|
||||
:disabled="deviceInfo.status != 3"
|
||||
@click="sendAt('imei')"
|
||||
:loading="imeiLoading"
|
||||
title="默认指令:AT+IMEI\r\n"
|
||||
>从设备读取</el-button>
|
||||
<el-button type="primary" size="mini" :disabled="deviceInfo.status != 3" @click="sendAt('imei')" :loading="imeiLoading" title="默认指令:AT+IMEI\r\n">从设备读取</el-button>
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
|
||||
@ -68,37 +45,13 @@
|
||||
ICCID
|
||||
</template>
|
||||
<div class="cell-flex nowrap">
|
||||
<el-input
|
||||
v-model="deviceInfo.iccid"
|
||||
size="mini"
|
||||
placeholder="请输入ICCID"
|
||||
style="flex: 1; min-width: 160px;"
|
||||
@keyup.enter.native="saveImeiIccid('iccid')"
|
||||
/>
|
||||
<el-popover
|
||||
v-model="iccidPopoverVisible"
|
||||
placement="bottom"
|
||||
width="360"
|
||||
trigger="click"
|
||||
popper-class="atcmd-popover"
|
||||
>
|
||||
<el-input v-model="deviceInfo.iccid" size="mini" placeholder="请输入ICCID" style="flex: 1; min-width: 160px" @keyup.enter.native="saveImeiIccid('iccid')" />
|
||||
<el-popover v-model="iccidPopoverVisible" placement="bottom" width="360" trigger="click" popper-class="atcmd-popover">
|
||||
<div class="atcmd-title">编辑下发指令,回车即可发送</div>
|
||||
<el-input
|
||||
v-model="iccidCmd"
|
||||
size="mini"
|
||||
placeholder="例如:AT+ICCID\\r\\n (回车下发)"
|
||||
@keyup.enter.native="handleEnterSend('iccid')"
|
||||
/>
|
||||
<el-input v-model="iccidCmd" size="mini" placeholder="例如:AT+ICCID\\r\\n (回车下发)" @keyup.enter.native="handleEnterSend('iccid')" />
|
||||
<el-button slot="reference" size="mini" type="default">编辑指令</el-button>
|
||||
</el-popover>
|
||||
<el-button
|
||||
type="primary"
|
||||
size="mini"
|
||||
:disabled="deviceInfo.status != 3"
|
||||
@click="sendAt('iccid')"
|
||||
:loading="iccidLoading"
|
||||
title="默认指令:AT+ICCID\r\n"
|
||||
>从设备读取</el-button>
|
||||
<el-button type="primary" size="mini" :disabled="deviceInfo.status != 3" @click="sendAt('iccid')" :loading="iccidLoading" title="默认指令:AT+ICCID\r\n">从设备读取</el-button>
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
|
||||
@ -109,37 +62,15 @@
|
||||
LBS获取经纬度
|
||||
</template>
|
||||
<div class="cell-flex nowrap">
|
||||
<el-input
|
||||
v-model="lbsInput"
|
||||
size="mini"
|
||||
placeholder="纬度,经度(设备回复后自动刷新,可手动修改后回车保存)"
|
||||
style="flex: 1; min-width: 160px;"
|
||||
@keyup.enter.native="saveLbsCoords"
|
||||
/>
|
||||
<el-popover
|
||||
v-model="lbsPopoverVisible"
|
||||
placement="bottom"
|
||||
width="360"
|
||||
trigger="click"
|
||||
popper-class="atcmd-popover"
|
||||
>
|
||||
<el-input v-model="lbsInput" size="mini" placeholder="经度,纬度(设备回复后自动刷新,可手动修改后回车保存)" style="flex: 1; min-width: 160px" @keyup.enter.native="saveLbsCoords" />
|
||||
<el-popover v-model="lbsPopoverVisible" placement="bottom" width="360" trigger="click" popper-class="atcmd-popover">
|
||||
<div class="atcmd-title">编辑下发指令,回车即可发送</div>
|
||||
<el-input
|
||||
v-model="lbsCmd"
|
||||
size="mini"
|
||||
placeholder="例如:AT+LBS\\r\\n 或 Hex:41 54 2b 4c 42 53 0d 0a (回车下发)"
|
||||
@keyup.enter.native="handleEnterSend('lbs')"
|
||||
/>
|
||||
<el-input v-model="lbsCmd" size="mini" placeholder="例如:AT+LBS\\r\\n 或 Hex:41 54 2b 4c 42 53 0d 0a (回车下发)" @keyup.enter.native="handleEnterSend('lbs')" />
|
||||
<el-button slot="reference" size="mini" type="default">编辑指令</el-button>
|
||||
</el-popover>
|
||||
<el-button
|
||||
type="primary"
|
||||
size="mini"
|
||||
:disabled="deviceInfo.status != 3"
|
||||
@click="sendAt('lbs')"
|
||||
:loading="lbsLoading"
|
||||
title="默认指令:AT+LBS\r\n(ASCII 转 Hex 为 41542B4C42530D0A)"
|
||||
>从设备读取</el-button>
|
||||
<el-button type="primary" size="mini" :disabled="deviceInfo.status != 3" @click="sendAt('lbs')" :loading="lbsLoading" title="默认指令:AT+LBS\r\n(ASCII 转 Hex 为 41542B4C42530D0A)">
|
||||
从设备读取
|
||||
</el-button>
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
|
||||
@ -738,7 +669,6 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
// 新增方法:处理弹窗内回车下发指令
|
||||
handleEnterSend(type) {
|
||||
// 关闭对应的弹窗
|
||||
@ -769,7 +699,7 @@ export default {
|
||||
const lat = this.deviceInfo.latitude;
|
||||
const lng = this.deviceInfo.longitude;
|
||||
if (lat != null && lat !== '' && lng != null && lng !== '') {
|
||||
this.lbsInput = `${lat},${lng}`;
|
||||
this.lbsInput = `${lng},${lat}`;
|
||||
} else {
|
||||
this.lbsInput = '';
|
||||
}
|
||||
@ -777,14 +707,7 @@ export default {
|
||||
|
||||
async sendAt(type) {
|
||||
try {
|
||||
const cmd =
|
||||
type === 'imei'
|
||||
? this.imeiCmd
|
||||
: type === 'iccid'
|
||||
? this.iccidCmd
|
||||
: type === 'lbs'
|
||||
? this.lbsCmd
|
||||
: '';
|
||||
const cmd = type === 'imei' ? this.imeiCmd : type === 'iccid' ? this.iccidCmd : type === 'lbs' ? this.lbsCmd : '';
|
||||
if (!cmd) {
|
||||
this.$message({ type: 'warning', message: '指令不能为空' });
|
||||
return;
|
||||
@ -799,9 +722,7 @@ export default {
|
||||
// 1) 用户输入 AT+IMEI\\r\\n 这类带转义的 ASCII:会先还原成真实 \r\n,再转 hex(不带空格)
|
||||
// 2) 用户直接输入 41 54 ... 或 41542b...:会清理空格后直接使用(后端也会再次清理)
|
||||
const trimmed = String(cmd).trim();
|
||||
const hexMessage = this.isHexLike(trimmed)
|
||||
? this.normalizeHexString(trimmed)
|
||||
: this.asciiCommandToHex(trimmed);
|
||||
const hexMessage = this.isHexLike(trimmed) ? this.normalizeHexString(trimmed) : this.asciiCommandToHex(trimmed);
|
||||
|
||||
await messagePost({
|
||||
message: hexMessage,
|
||||
@ -832,10 +753,7 @@ export default {
|
||||
|
||||
normalizeHexString(hexStr) {
|
||||
if (!hexStr) return '';
|
||||
return String(hexStr)
|
||||
.trim()
|
||||
.replace(/\s+/g, '')
|
||||
.replace(/^0x/i, '');
|
||||
return String(hexStr).trim().replace(/\s+/g, '').replace(/^0x/i, '');
|
||||
},
|
||||
|
||||
asciiCommandToHex(asciiStr) {
|
||||
@ -884,25 +802,28 @@ export default {
|
||||
if (!this.deviceInfo || !this.deviceInfo.deviceId) return;
|
||||
const raw = String(this.lbsInput || '').trim();
|
||||
if (!raw) {
|
||||
this.$message({ type: 'warning', message: '请输入 纬度,经度' });
|
||||
this.$message({ type: 'warning', message: '请输入 经度,纬度' });
|
||||
return;
|
||||
}
|
||||
const parts = raw.split(',').map((s) => s.trim()).filter(Boolean);
|
||||
const parts = raw
|
||||
.split(',')
|
||||
.map((s) => s.trim())
|
||||
.filter(Boolean);
|
||||
if (parts.length !== 2) {
|
||||
this.$message({ type: 'warning', message: '格式应为:纬度,经度' });
|
||||
this.$message({ type: 'warning', message: '格式应为:经度,纬度' });
|
||||
return;
|
||||
}
|
||||
const lat = parseFloat(parts[0]);
|
||||
const lng = parseFloat(parts[1]);
|
||||
const lng = parseFloat(parts[0]);
|
||||
const lat = parseFloat(parts[1]);
|
||||
if (Number.isNaN(lat) || Number.isNaN(lng)) {
|
||||
this.$message({ type: 'warning', message: '纬度、经度必须为数字' });
|
||||
this.$message({ type: 'warning', message: '经度、纬度必须为数字' });
|
||||
return;
|
||||
}
|
||||
const res = await updateDevice({
|
||||
deviceId: this.deviceInfo.deviceId,
|
||||
serialNumber: this.deviceInfo.serialNumber,
|
||||
latitude: lat,
|
||||
longitude: lng,
|
||||
latitude: lat,
|
||||
});
|
||||
if (res && res.code === 200) {
|
||||
this.$message({ type: 'success', message: '保存成功' });
|
||||
@ -1063,7 +984,8 @@ export default {
|
||||
];
|
||||
|
||||
// 更新图表配置,包括detail部分
|
||||
this.monitorChart[m].chart.setOption({
|
||||
this.monitorChart[m].chart.setOption(
|
||||
{
|
||||
series: [
|
||||
{
|
||||
data: chartData,
|
||||
@ -1072,7 +994,9 @@ export default {
|
||||
},
|
||||
},
|
||||
],
|
||||
}, false); // false表示不合并,完全替换
|
||||
},
|
||||
false
|
||||
); // false表示不合并,完全替换
|
||||
|
||||
// 强制刷新图表
|
||||
this.$nextTick(() => {
|
||||
@ -1107,7 +1031,8 @@ export default {
|
||||
];
|
||||
|
||||
// 更新图表配置,包括detail部分
|
||||
this.monitorChart[m].chart.setOption({
|
||||
this.monitorChart[m].chart.setOption(
|
||||
{
|
||||
series: [
|
||||
{
|
||||
data: chartData,
|
||||
@ -1116,7 +1041,9 @@ export default {
|
||||
},
|
||||
},
|
||||
],
|
||||
}, false); // false表示不合并,完全替换
|
||||
},
|
||||
false
|
||||
); // false表示不合并,完全替换
|
||||
|
||||
// 强制刷新图表
|
||||
this.$nextTick(() => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user