|
|
|
@ -139,3 +139,30 @@ 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代表删除)'; |
|
|
|
|
|
|
|
|
|
-- 2025-10-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, quality) VALUES('283034kk26a9b3a79a8635fenggui02401', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_1510385', 'ddc13_1510385', 'ddc13_1510385', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, 0.000, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-10-10 08:05:51.000', NULL, NULL, NULL, 'AHU1_1号风阀远程手自动', 140, '2', '2', '1', '10', '0'); |
|
|
|
|
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, quality) VALUES('283034kk26a9b3a79a8635fenggui02402', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_1510485', 'ddc13_1510485', 'ddc13_1510485', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, 0.000, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-10-10 08:05:51.000', NULL, NULL, NULL, 'AHU1_2号风阀远程手自动', 140, '2', '2', '1', '10', '0'); |
|
|
|
|
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, quality) VALUES('283034kk26a9b3a79a8635fenggui02403', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_1510585', 'ddc13_1510585', 'ddc13_1510585', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, 0.000, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-10-10 08:05:51.000', NULL, NULL, NULL, 'AHU1_3号风阀远程手自动', 140, '2', '2', '1', '10', '0'); |
|
|
|
|
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, quality) VALUES('283034kk26a9b3a79a8635fenggui02404', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_0211885', 'ddc13_0211885', 'ddc13_0211885', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, 0.000, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-10-10 08:05:51.000', NULL, NULL, NULL, 'AHU1_1号风阀手动调节', 140, '3', '2', '1', '10', '0'); |
|
|
|
|
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, quality) VALUES('283034kk26a9b3a79a8635fenggui02405', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_0211985', 'ddc13_0211985', 'ddc13_0211985', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, 0.000, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-10-10 08:05:51.000', NULL, NULL, NULL, 'AHU1_2号风阀手动调节', 140, '3', '2', '1', '10', '0'); |
|
|
|
|
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, quality) VALUES('283034kk26a9b3a79a8635fenggui02406', 'ddcahu13b3a898d85f3a1205a2d82071e100', '7', 'ddc13_0212085', 'ddc13_0212085', 'ddc13_0212085', '03', NULL, NULL, NULL, 1, 0.000, 0, 0, 0.000, NULL, 0, NULL, 1, '99', '2', '1', '1', NULL, 2, 0, '2025-10-10 08:05:51.000', NULL, NULL, NULL, 'AHU1_3号风阀手动调节', 140, '3', '2', '1', '10', '0'); |
|
|
|
|
|
|
|
|
|
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, ledger_id, del_flag) VALUES('ddc1443b3a898d85f3a1205a2ddc1402101', '283034kk26a9b3a79a8635fenggui02401', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730', 'ddcahu13b3a898d85f3a1205a2d82071e100', '0'); |
|
|
|
|
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, ledger_id, del_flag) VALUES('ddc1443b3a898d85f3a1205a2ddc1402102', '283034kk26a9b3a79a8635fenggui02402', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730', 'ddcahu13b3a898d85f3a1205a2d82071e100', '0'); |
|
|
|
|
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, ledger_id, del_flag) VALUES('ddc1443b3a898d85f3a1205a2ddc1402103', '283034kk26a9b3a79a8635fenggui02403', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730', 'ddcahu13b3a898d85f3a1205a2d82071e100', '0'); |
|
|
|
|
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, ledger_id, del_flag) VALUES('ddc1443b3a898d85f3a1205a2ddc1402104', '283034kk26a9b3a79a8635fenggui02404', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730', 'ddcahu13b3a898d85f3a1205a2d82071e100', '0'); |
|
|
|
|
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, ledger_id, del_flag) VALUES('ddc1443b3a898d85f3a1205a2ddc1402105', '283034kk26a9b3a79a8635fenggui02405', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730', 'ddcahu13b3a898d85f3a1205a2d82071e100', '0'); |
|
|
|
|
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, ledger_id, del_flag) VALUES('ddc1443b3a898d85f3a1205a2ddc1402106', '283034kk26a9b3a79a8635fenggui02406', 'd39d42e89387bc01e0c5b4df4180f209', '4029cfbb357e4dd82cc3eeef59cff8ff', 'd301d47283e31f8f2666e4cf1c980b2e', '966e13d9d27aa37b8b104b7a0cec9199', '开发', '', '2025-09-16 16:23:00.000', '2025-09-16 16:30:18.730', 'ddcahu13b3a898d85f3a1205a2d82071e100', '0'); |
|
|
|
|
|
|
|
|
|
INSERT INTO public.sys_dict_data (dict_code,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((select max(dict_code)+1 from sys_dict_data),48, '电流', '48', 'sys_param_type', NULL, 'default', NULL, '0', 'mhtech', '2025-10-10 15:53:38.178', NULL, '2025-10-10 15: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, quality) VALUES('hotd1333498ec37f7fc697e404587125', 'hot6b3a898d85f3a1605a2r420711e3e3', '7', '3', '03', '0BD9', '03', '', '', NULL, 1, 0.000, 0, 2, 1, '2025-08-01 11:30:50.000', 0, '', 0, '2', '2', '1', '0', '', 1, 0, '2025-03-09 19:32:22.061', '2025-03-09 19:34:00.072', 'mhtech', 'mhtech', '3号热泵电流1', 140, '48', '1', '1', '10', '0'); |
|
|
|
|
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, quality) VALUES('hotd1333498ec37f7fc697e404587126', 'hot6b3a898d85f3a1605a2r420711e3e3', '7', '3', '03', '0BDD', '03', '', '', NULL, 1, 0.000, 0, 2, 1, '2025-08-01 11:30:50.000', 0, '', 0, '2', '2', '1', '0', '', 1, 0, '2025-03-09 19:32:22.061', '2025-03-09 19:34:00.072', 'mhtech', 'mhtech', '3号热泵电流2', 140, '48', '1', '1', '10', '0'); |
|
|
|
|
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, quality) VALUES('hotd1333498ec37f7fc697e404587127', 'hot6b3a898d85f3a1605a2r420711e3e3', '7', '4', '04', '0BD9', '03', '', '', NULL, 1, 0.000, 0, 2, 1, '2025-08-01 11:30:50.000', 0, '', 0, '2', '2', '1', '0', '', 1, 0, '2025-03-09 19:32:22.061', '2025-03-09 19:34:00.072', 'mhtech', 'mhtech', '4号热泵电流1', 140, '48', '1', '1', '10', '0'); |
|
|
|
|
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, quality) VALUES('hotd1333498ec37f7fc697e404587128', 'hot6b3a898d85f3a1605a2r420711e3e3', '7', '4', '04', '0BDD', '03', '', '', NULL, 1, 0.000, 0, 2, 1, '2025-08-01 11:30:50.000', 0, '', 0, '2', '2', '1', '0', '', 1, 0, '2025-03-09 19:32:22.061', '2025-03-09 19:34:00.072', 'mhtech', 'mhtech', '4号热泵电流2', 140, '48', '1', '1', '10', '0'); |
|
|
|
|
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, quality) VALUES('hotd1333498ec37f7fc697e404587129', 'hot6b3a898d85f3a1605a2r420711e3e3', '7', '5', '05', '0BD9', '03', '', '', NULL, 1, 0.000, 0, 2, 1, '2025-08-01 11:30:50.000', 0, '', 0, '2', '2', '1', '0', '', 1, 0, '2025-03-09 19:32:22.061', '2025-03-09 19:34:00.072', 'mhtech', 'mhtech', '5号热泵电流1', 140, '48', '1', '1', '10', '0'); |
|
|
|
|
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, quality) VALUES('hotd1333498ec37f7fc697e404587130', 'hot6b3a898d85f3a1605a2r420711e3e3', '7', '5', '05', '0BDD', '03', '', '', NULL, 1, 0.000, 0, 2, 1, '2025-08-01 11:30:50.000', 0, '', 0, '2', '2', '1', '0', '', 1, 0, '2025-03-09 19:32:22.061', '2025-03-09 19:34:00.072', 'mhtech', 'mhtech', '5号热泵电流2', 140, '48', '1', '1', '10', '0'); |
|
|
|
|
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, quality) VALUES('hotd1333498ec37f7fc697e404587131', 'hot6b3a898d85f3a1605a2r420711e3e3', '7', '6', '06', '0BD9', '03', '', '', NULL, 1, 0.000, 0, 2, 1, '2025-08-01 11:30:50.000', 0, '', 0, '2', '2', '1', '0', '', 1, 0, '2025-03-09 19:32:22.061', '2025-03-09 19:34:00.072', 'mhtech', 'mhtech', '6号热泵电流1', 140, '48', '1', '1', '10', '0'); |
|
|
|
|
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, quality) VALUES('hotd1333498ec37f7fc697e404587132', 'hot6b3a898d85f3a1605a2r420711e3e3', '7', '6', '06', '0BDD', '03', '', '', NULL, 1, 0.000, 0, 2, 1, '2025-08-01 11:30:50.000', 0, '', 0, '2', '2', '1', '0', '', 1, 0, '2025-03-09 19:32:22.061', '2025-03-09 19:34:00.072', 'mhtech', 'mhtech', '6号热泵电流2', 140, '48', '1', '1', '10', '0'); |
|
|
|
|