From fe3dc59baa4c11bf1ae4894f6c87e76bacd8246d Mon Sep 17 00:00:00 2001 From: zhuxu Date: Tue, 27 May 2025 16:52:29 +0800 Subject: [PATCH] add dml data --- base_model/dml.sql | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/base_model/dml.sql b/base_model/dml.sql index 6073944..f234c25 100644 --- a/base_model/dml.sql +++ b/base_model/dml.sql @@ -1,3 +1,6 @@ + + +-- supported attribute group INSERT INTO BASIC.ATTRIBUTE_GROUP (GROUP_TYPE, GROUP_NAME, IS_PUBLIC, REMARK) VALUES @@ -13,6 +16,7 @@ VALUES ('behavior','行为信息',0,''); +-- supported data type INSERT INTO BASIC.DATA_TYPE (DATA_TYPE, DATABASE_TYPE) VALUES @@ -35,4 +39,24 @@ VALUES ('UUID','postgres'), ('JSON','postrges'), ('JSONB','postgres'), - ('polar_coordinates','postgres'); \ No newline at end of file + ('polar_coordinates','postgres'); + + +-- supported standard component type +INSERT INTO + BASIC.COMPONENT_TYPE (TYPE, NAME, CONFIG) +VALUES + ('bus','母线段','{}'), + ('asyncmotor','异步电动机','{}'), + ('cb','断路器','{}'), + ('ct','电流互感器','{}'), + ('pt','电压互感器','{}'), + ('es','接地开关','{}'), + ('fes','快速接地开关','{}'), + ('cable','电缆','{}'), + ('ds','隔离开关','{}'), + ('dteds','双掷接地隔离开关','{}'), + ('potential_indicator','带电指示器','{}'), + ('lightning_arrester','避雷器','{}'), + ('cable_termination','电缆出线套筒','{}'), + ('cable_end','电缆端','{}'); \ No newline at end of file