]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph
Add address information for district import
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetwork.pgraph
index 75716c692b302cf108addf830ac258b7c8a747fd..b7b5d04363a98ec220d847f4724db592971f86c7 100644 (file)
@@ -56,10 +56,20 @@ DN.HasId <R L0.HasProperty : SEL.GenericParameterType
     L0.HasRange L0.String
     L0.readOnly false
 
+DN.HasSolverRVI <R L0.HasProperty
+    L0.HasLabel "Solver RVI"
+    L0.HasRange L0.String
+    L0.readOnly true
+
 DN.Vertex.HasElevation <R L0.HasProperty : SEL.GenericParameterType
     L0.HasLabel "Elevation"
     L0.HasRange L0.Double
     L0.readOnly false
+    
+DN.Vertex.HasAddress <R L0.HasProperty : SEL.GenericParameterType
+    L0.HasLabel "Address"
+    L0.HasRange L0.String
+    L0.readOnly false
 
 DN.Vertex.HasSupplyTemperature <R L0.HasProperty : SEL.GenericParameterType
     L0.HasLabel "Supply Temperature"
@@ -315,6 +325,7 @@ DN.Mapping.VertexMapping <T DN.Mapping.Base
     >-- DN.Mapping.VertexMapping.MaximumHeadMAttribute --> L0.String <R L0.HasProperty
     // Consumers
     >-- DN.Mapping.VertexMapping.HeatLoadDsAttribute --> L0.String <R L0.HasProperty
+    >-- DN.Mapping.VertexMapping.AddressAttribute --> L0.String <R L0.HasProperty
     >-- DN.Mapping.VertexMapping.MassFlowAttribute --> L0.String <R L0.HasProperty
     >-- DN.Mapping.VertexMapping.VolFlowAttribute --> L0.String <R L0.HasProperty
     >-- DN.Mapping.VertexMapping.VelocityAttribute --> L0.String <R L0.HasProperty
@@ -354,6 +365,9 @@ DN.DistrictProfile : DIA.Profile
           DN.DistrictProfile.entry1
             L0.HasLabel "Id"
             @DIA.groupStyleProfileEntry DN.ComponentIdStyle DN.Groups.ElementGroup
+          DN.DistrictProfile.entry2
+            L0.HasLabel "Edge Node Styling"
+            @DIA.groupStyleProfileEntry DN.EdgeNodeStyle DN.Groups.ElementGroup
 
 DN.Groups : L0.Library
 
@@ -375,3 +389,22 @@ DN.ComponentIdStyle : DIA.ResourceSCLTextGridStyle
         """
         "String -> Variable -> <ReadGraph> (String, String, String)"
     @G2D.fontProperty DIA.TextElement.font "Arial" 30 G2D.FontStyle.normal_font_style
+
+//DN.EdgeNodeGroup : DIA.Group
+
+//DN.Profiles : L0.Library
+
+DN.EdgeNodeStyle : DIA.Style
+
+// Templates
+
+//groupStyleEntry : L0.Template
+//    @template %subject %style %group
+//        %subject : DIA.GroupStyleProfileEntry
+//            DIA.ProfileEntry.HasStyle %style
+//            DIA.ProfileEntry.HasGroup %group
+
+
+//DN.Profiles.EdgeNodeStyle
+//    L0.HasLabel "Edge Node Style"
+//    @groupStyleEntry DN.EdgeNodeStyle DN.EdgeNodeGroup