-- 新增sql
ALTER TABLE public.alarm_records ADD status int NULL DEFAULT 0;
COMMENT ON COLUMN public.alarm_records.status IS '报警状态：0未处理，1已处理';

-- 2025-09-16 新增
INSERT INTO public.sys_dict_data (dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, update_by, update_time, remark)
VALUES(24, '锅炉', '24', 'sys_device_type', NULL, 'default', NULL, '0', 'mhtech', '2025-09-16 13:50:29.187', NULL, NULL, '热水供水系统使用');

INSERT INTO public.device_ledger (id, device_name, model_specs, asset_num, qr_code_id, service_life, device_type, tech_params, tech_doc, install_time, create_time, update_time, create_by, status, is_collection, is_calc_energy, update_by, system_type, order_num)
VALUES('0243b3a898d85f3a1205a2d8cainuan02', '1号热水锅炉', 'mh_gas_boiler_01', 'mh_gas_boiler_01', '', '30', '14', '', '', '2025-09-16 16:22:43.000', '2025-09-16 16:22:43.000', '2025-09-16 16:22:43.000', 'mhtech', 0, 0, 1, 'mhtech', '3', 1);
INSERT INTO public.device_ledger (id, device_name, model_specs, asset_num, qr_code_id, service_life, device_type, tech_params, tech_doc, install_time, create_time, update_time, create_by, status, is_collection, is_calc_energy, update_by, system_type, order_num)
VALUES('0243b3a898d85f3a1205a2d8cainuan03', '2号热水锅炉', 'mh_gas_boiler_02', 'mh_gas_boiler_02', '', '30', '14', '', '', '2025-09-16 16:22:43.000', '2025-09-16 16:22:43.000', '2025-09-16 16:22:43.000', 'mhtech', 0, 0, 1, 'mhtech', '3', 1);
INSERT INTO public.device_ledger (id, device_name, model_specs, asset_num, qr_code_id, service_life, device_type, tech_params, tech_doc, install_time, create_time, update_time, create_by, status, is_collection, is_calc_energy, update_by, system_type, order_num)
VALUES('0243b3a898d85f3a1205a2d8cainuan100', '总蒸汽流量计', 'mh_steam_flow', 'mh_steam_flow', '', '30', '14', '', '', '2025-09-16 16:22:43.000', '2025-09-16 16:22:43.000', '2025-09-16 16:22:43.000', 'mhtech', 0, 0, 1, 'mhtech', '3', 1);

INSERT INTO public.sys_dict_data (dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, update_by, update_time, remark)
VALUES(13, '迪森热水锅炉', '13', 'sys_mt_type', NULL, 'default', NULL, '0', 'mhtech', '2025-09-16 14:53:38.178', NULL, NULL, NULL);

INSERT INTO public.sys_dict_data (dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, update_by, update_time, remark)
VALUES(45, '火力', '45', 'sys_param_type', NULL, 'default', NULL, '0', 'mhtech', '2025-09-16 14:53:38.178', NULL, '2025-09-16 14:53:38.178', NULL);

INSERT INTO public.sys_dict_data (dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, update_by, update_time, remark)
VALUES(46, '密度', '46', 'sys_param_type', NULL, 'default', NULL, '0', 'mhtech', '2025-09-16 14:53:38.178', NULL, '2025-09-16 14:53:38.178', NULL);

INSERT INTO public.sys_dict_data (dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, update_by, update_time, remark)
VALUES(47, '热能', '47', 'sys_param_type', NULL, 'default', NULL, '0', 'mhtech', '2025-09-16 14:53:38.178', NULL, '2025-09-16 14:53:38.178', NULL);

INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan99', '0243b3a898d85f3a1205a2d8cainuan02', '13', 'PLC1500_DB611684', 'PLC1500_DB611684', 'PLC1500_DB611684', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉80-回水温度', 140, '12', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan100', '0243b3a898d85f3a1205a2d8cainuan02', '13', 'PLC1500_DB611686', 'PLC1500_DB611686', 'PLC1500_DB611686', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉80-出水温度', 140, '12', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan101', '0243b3a898d85f3a1205a2d8cainuan02', '13', 'PLC1500_DB611688', 'PLC1500_DB611688', 'PLC1500_DB611688', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉80-炉水温度', 140, '12', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan102', '0243b3a898d85f3a1205a2d8cainuan02', '13', 'PLC1500_DB611690', 'PLC1500_DB611690', 'PLC1500_DB611690', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉80-烟道温度', 140, '12', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan103', '0243b3a898d85f3a1205a2d8cainuan02', '13', 'PLC1500_DB611692', 'PLC1500_DB611692', 'PLC1500_DB611692', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉80-火力1', 140, '45', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan104', '0243b3a898d85f3a1205a2d8cainuan02', '13', 'PLC1500_DB611694', 'PLC1500_DB611694', 'PLC1500_DB611694', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉80-火力2', 140, '45', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan105', '0243b3a898d85f3a1205a2d8cainuan03', '13', 'PLC1500_DB611696', 'PLC1500_DB611696', 'PLC1500_DB611696', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉81-回水温度', 140, '12', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan106', '0243b3a898d85f3a1205a2d8cainuan03', '13', 'PLC1500_DB611698', 'PLC1500_DB611698', 'PLC1500_DB611698', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉81-出水温度', 140, '12', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan107', '0243b3a898d85f3a1205a2d8cainuan03', '13', 'PLC1500_DB611700', 'PLC1500_DB611700', 'PLC1500_DB611700', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉81-炉水温度', 140, '12', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan108', '0243b3a898d85f3a1205a2d8cainuan03', '13', 'PLC1500_DB611702', 'PLC1500_DB611702', 'PLC1500_DB611702', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉81-烟道温度', 140, '12', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan109', '0243b3a898d85f3a1205a2d8cainuan03', '13', 'PLC1500_DB611704', 'PLC1500_DB611704', 'PLC1500_DB611704', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉81-火力1', 140, '45', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan110', '0243b3a898d85f3a1205a2d8cainuan03', '13', 'PLC1500_DB611706', 'PLC1500_DB611706', 'PLC1500_DB611706', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉81-火力2', 140, '45', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan111', '0243b3a898d85f3a1205a2d8cainuan100', '4', 'PLC1500_DB8300', 'PLC1500_DB8300', 'PLC1500_DB8300', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '蒸汽流量计1-温度瞬时值', 140, '12', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan112', '0243b3a898d85f3a1205a2d8cainuan100', '4', 'PLC1500_DB8304', 'PLC1500_DB8304', 'PLC1500_DB8304', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '蒸汽流量计1-压力瞬时值', 140, '13', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan113', '0243b3a898d85f3a1205a2d8cainuan100', '4', 'PLC1500_DB8308', 'PLC1500_DB8308', 'PLC1500_DB8308', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '蒸汽流量计1-流量瞬时值', 140, '31', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan114', '0243b3a898d85f3a1205a2d8cainuan100', '4', 'PLC1500_DB8312', 'PLC1500_DB8312', 'PLC1500_DB8312', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '蒸汽流量计1-密度', 140, '46', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan115', '0243b3a898d85f3a1205a2d8cainuan100', '4', 'PLC1500_DB8316', 'PLC1500_DB8316', 'PLC1500_DB8316', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '蒸汽流量计1-差压频率体积', 140, '33', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan116', '0243b3a898d85f3a1205a2d8cainuan100', '4', 'PLC1500_DB8320', 'PLC1500_DB8320', 'PLC1500_DB8320', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '蒸汽流量计1-流量总累积量', 40, '31', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan117', '0243b3a898d85f3a1205a2d8cainuan100', '4', 'PLC1500_DB8324', 'PLC1500_DB8324', 'PLC1500_DB8324', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '蒸汽流量计1-热能瞬时值', 140, '47', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan118', '0243b3a898d85f3a1205a2d8cainuan100', '4', 'PLC1500_DB8328', 'PLC1500_DB8328', 'PLC1500_DB8328', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '蒸汽流量计1-热能总累积量', 40, '47', '3', '1', NULL);

INSERT INTO public.house_info (id, area_id, building_id, floor_id, house_name, address, price, total_area, usable_area, built_year, status, remark, create_by, update_by, create_time, update_time, order_num) VALUES('966e13d9d27aa37b8b104b7a0cec9199', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', 'AHU_新风阀', '二楼', 100.00, 100.00, 100.00, '2025', 0, '', 'mhtech', NULL, '2025-09-16 15:06:57.918', '2025-09-16 15:06:57.918', 10);

INSERT INTO public.device_ledger (id, device_name, model_specs, asset_num, qr_code_id, service_life, device_type, tech_params, tech_doc, install_time, create_time, update_time, create_by, status, is_collection, is_calc_energy, update_by, system_type, order_num) VALUES('ddcahu13b3a898d85f3a1205a2d82071e100', 'AHU新风阀', 'DDC_2F_4A_13', 'mh_ddc_02', '', '30', '14', '', '', '2025-09-16 16:22:43.000', '2025-09-16 16:22:43.000', '2025-09-16 16:22:43.000', 'mhtech', 1, 0, 1, 'mhtech', '2', 2);

INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui001', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_00185', 'ddc13_00185', 'ddc13_00185', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_回风温度', 140, '12', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui002', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_00285', 'ddc13_00285', 'ddc13_00285', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_频率反馈', 140, '4', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui003', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_00385', 'ddc13_00385', 'ddc13_00385', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_1号风阀反馈', 140, '4', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui004', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_00485', 'ddc13_00485', 'ddc13_00485', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_2号风阀反馈', 140, '4', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui005', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_00585', 'ddc13_00585', 'ddc13_00585', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_3号风阀反馈', 140, '4', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui006', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_0210085', 'ddc13_0210085', 'ddc13_0210085', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_回风温度设定', 140, '14', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui007', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_0210185', 'ddc13_0210185', 'ddc13_0210185', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_风阀开度反馈设置', 140, '3', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui008', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_0210885', 'ddc13_0210885', 'ddc13_0210885', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_模式选择', 140, '25', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui009', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_0210985', 'ddc13_0210985', 'ddc13_0210985', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_宴会一厅模式下频率设定', 140, '3', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui010', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_0211085', 'ddc13_0211085', 'ddc13_0211085', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_餐厅模式下频率设定', 140, '3', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui011', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_0211185', 'ddc13_0211185', 'ddc13_0211185', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_会议模式下频率设定', 140, '3', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui012', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_0211285', 'ddc13_0211285', 'ddc13_0211285', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_全开模式下频率设定', 140, '3', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui013', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_0211385', 'ddc13_0211385', 'ddc13_0211385', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_软件2号风阀调节', 140, '3', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui014', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_0211485', 'ddc13_0211485', 'ddc13_0211485', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_软件3号风阀调节', 140, '3', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui015', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_01185', 'ddc13_01185', 'ddc13_01185', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_硬件频率控制', 140, '3', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui016', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_01285', 'ddc13_01285', 'ddc13_01285', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_硬件水阀调节', 140, '3', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui017', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_01385', 'ddc13_01385', 'ddc13_01385', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_硬件1号风阀调节', 140, '3', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui018', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_13185', 'ddc13_13185', 'ddc13_13185', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_运行状态', 140, '1', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui019', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_13285', 'ddc13_13285', 'ddc13_13285', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_故障报警', 140, '5', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui020', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_13285', 'ddc13_13285', 'ddc13_13285', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_自动状态', 140, '6', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui021', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_14185', 'ddc13_14185', 'ddc13_14185', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_硬件启停', 140, '2', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui022', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_1510085', 'ddc13_1510085', 'ddc13_1510085', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_远程手动启停', 140, '2', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui023', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_1510185', 'ddc13_1510185', 'ddc13_1510185', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_时间表启停', 140, '2', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui024', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_1510285', 'ddc13_1510285', 'ddc13_1510285', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_启停选择', 140, '27', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui025', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc14_00185', 'ddc14_00185', 'ddc14_00185', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_水阀反馈', 140, '4', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui026', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc14_01185', 'ddc14_01185', 'ddc14_01185', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_硬件2号风阀控制', 140, '3', '2', '1', '10');
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325fenggui027', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc14_01285', 'ddc14_01285', 'ddc14_01285', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, 'AHU1_硬件3号风阀控制', 140, '3', '2', '1', '10');

INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan119', '0243b3a898d85f3a1205a2d8cainuan02', '13', 'PLC1500_DB83241', 'PLC1500_DB83241', 'PLC1500_DB83241', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉80-故障报警', 140, '5', '3', '1', NULL);
INSERT INTO public.collection_params_manage (id, device_ledger_id, mt_type, mt_num, mt_code, register_addr, func_code, identify_code, mt_caliber_pulse, mt_range, mt_ratio, mt_init_value, digits, data_type, cur_value, cur_time, mt_is_sum, unit, order_num, gateway_id, communication_param_id, protocol_type, communication_type, remark, register_size, is_use, create_time, update_time, create_by, update_by, other_name, grade, param_type, system_type, collection_type, terminal_device_type) VALUES('283034kk26a9b3a79a863325cainuan120', '0243b3a898d85f3a1205a2d8cainuan03', '13', 'PLC1500_DB83282', 'PLC1500_DB83282', 'PLC1500_DB83282', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, NULL, NULL, 0, NULL, 98, '99', '2', '1', '1', NULL, 2, 0, '2025-09-16 17:05:51.000', NULL, NULL, NULL, '热水锅炉81-故障报警', 140, '5', '3', '1', NULL);

INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14000', '283034kk26a9b3a79a863325fenggui001', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14001', '283034kk26a9b3a79a863325fenggui002', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14002', '283034kk26a9b3a79a863325fenggui003', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14003', '283034kk26a9b3a79a863325fenggui004', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14004', '283034kk26a9b3a79a863325fenggui005', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14005', '283034kk26a9b3a79a863325fenggui006', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14006', '283034kk26a9b3a79a863325fenggui007', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14007', '283034kk26a9b3a79a863325fenggui008', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14008', '283034kk26a9b3a79a863325fenggui009', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14009', '283034kk26a9b3a79a863325fenggui010', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14010', '283034kk26a9b3a79a863325fenggui011', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14011', '283034kk26a9b3a79a863325fenggui012', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14012', '283034kk26a9b3a79a863325fenggui013', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14013', '283034kk26a9b3a79a863325fenggui014', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14014', '283034kk26a9b3a79a863325fenggui015', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14015', '283034kk26a9b3a79a863325fenggui016', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14016', '283034kk26a9b3a79a863325fenggui017', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14017', '283034kk26a9b3a79a863325fenggui018', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14018', '283034kk26a9b3a79a863325fenggui019', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14019', '283034kk26a9b3a79a863325fenggui020', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14020', '283034kk26a9b3a79a863325fenggui021', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14021', '283034kk26a9b3a79a863325fenggui022', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14022', '283034kk26a9b3a79a863325fenggui023', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14023', '283034kk26a9b3a79a863325fenggui024', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14024', '283034kk26a9b3a79a863325fenggui025', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14025', '283034kk26a9b3a79a863325fenggui026', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc14026', '283034kk26a9b3a79a863325fenggui027', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730');


INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc99000', 'ddc0193b3at98d85f3a1205a2e82071e100', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', '4ae2b1e2f888c5ca7fa031fc247e18f0', '1ee5d4884357de4aed509a4aa94a57ce', '开发', '', '2025-09-17 16:23:00.000', '2025-09-17 23:21:42.046');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc99001', 'ddc0253b3a898f85f3a1205a2d82071e100', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', '4ae2b1e2f888c5ca7fa031fc247e18f0', 'a7f24a7961efb970beb1a419a74d42c2', '开发', '', '2025-09-17 16:23:00.000', '2025-09-17 23:21:42.046');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc99002', 'ddc0193b3a898d85f3a1205a2e82071e100', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', '4ae2b1e2f888c5ca7fa031fc247e18f0', '5677f1124affafb41d7fa37943515b5b', '开发', '', '2025-09-17 16:23:00.000', '2025-09-17 23:21:42.046');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc99003', 'ddc0193bhat98d85g3a1205a2e82071e119', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '9cb234af90dcd3184412096e3bcbfaf4', '开发', '', '2025-09-17 16:23:00.000', '2025-09-17 23:21:42.046');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc99004', 'ddc0193bhat98d85g3a1205a2e82071e110', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '84d310ba04e46cf5c973a7f1d2ffc6b9', '开发', '', '2025-09-17 16:23:00.000', '2025-09-17 23:21:42.046');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc99005', 'ddc0193bhat98d85g3a1205a2e82071e113', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '156efb1ecc11b85e499147357d9fd7d8', '开发', '', '2025-09-17 16:23:00.000', '2025-09-17 23:21:42.046');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc99006', 'ddc0193bhat98d85g3a1205a2e82071e122', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '909531bb8fa57d39362b9c510e198b7e', '开发', '', '2025-09-17 16:23:00.000', '2025-09-17 23:21:42.046');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc99007', 'ddc0193bhat98d85g3a1205a2e82071e100', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '14a5b258f4b0dcf20269701844e85491', '开发', '', '2025-09-17 16:23:00.000', '2025-09-17 23:21:42.046');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc99008', 'ddc0193bhat98d85g3a1205a2e82071e102', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', 'e90e6240b5f4f72d44ba089bb92d15c8', '开发', '', '2025-09-17 16:23:00.000', '2025-09-17 23:21:42.046');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc99009', 'ddc0193bhat98d85g3a1205a2e82071e116', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '3f28f6510a6244d09ee2f0d34ae0164c', '开发', '', '2025-09-17 16:23:00.000', '2025-09-17 23:21:42.046');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc99010', 'ddc0193bhat98d85g3a1205a2e82071e105', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '3e59af0f558d4c495b0bfa61b3604611', '开发', '', '2025-09-17 16:23:00.000', '2025-09-17 23:21:42.046');
INSERT INTO public.cpm_space_relation (id, cpm_id, area_id, building_id, floor_id, house_id, create_by, update_by, create_time, update_time) VALUES('ddc1443b3a898d85f3a1205a2d8ddc99011', 'ddc0193bhat98d85g3a1205a2e82071e107', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '3e59af0f558d4c495b0bfa61b3604612', '开发', '', '2025-09-17 16:23:00.000', '2025-09-17 23:21:42.046');

-- 2025-10-06
-- cpm_space_relation表新增字段,添加台账id ledgerId
ALTER TABLE cpm_space_relation ADD COLUMN ledger_id varchar(36) NULL;
-- ledgerId备注
COMMENT ON COLUMN cpm_space_relation.ledger_id IS '台账id';

-- collection_params_manage添加质量字段，quality
ALTER TABLE collection_params_manage ADD COLUMN quality varchar(10) NULL;
-- 设置默认值为0
UPDATE collection_params_manage SET quality = 0;
-- quality备注
COMMENT ON COLUMN collection_params_manage.quality IS '质量：网关上传的值质量';

-- 2025-10-09
ALTER TABLE public.cpm_space_relation ADD del_flag bpchar(1) DEFAULT '0' NOT NULL;
COMMENT ON COLUMN public.cpm_space_relation.del_flag IS '删除标志（0代表存在 2代表删除）';