1 L0 = <http://www.simantics.org/Layer0-1.1>
2 DIA = <http://www.simantics.org/Diagram-2.2>
3 STR = <http://www.simantics.org/Structural-1.2>
4 MOD = <http://www.simantics.org/Modeling-1.2>
5 VP = <http://www.simantics.org/Viewpoint-1.2>
6 IMAGE = <http://www.simantics.org/Image2-1.2>
7 SEL = <http://www.simantics.org/SelectionView-1.2>
8 SEL_UI = <http://www.simantics.org/SelectionViewUI-1.1>
9 G2D = <http://www.simantics.org/G2D-1.1>
10 DN = <http://www.simantics.org/DistrictNetwork-1.0>
12 // ----------------------------------------------------------------------------
14 DN.EdgeThicknessPropertyParameterType <T SEL.GenericParameterType
15 @L0.assert SEL.HasDisplayValue
17 SEL.HasEnumerationValues DN.Functions.edgeThicknessPropertyEnumerationValues : L0.Function
18 SEL.HasCustomModifier DN.Functions.edgeThicknessPropertyModifier : L0.Function
20 DN.Vertex.ScaleProperty <T L0.Value
21 >-- DN.Vertex.ScaleProperty.value --> L0.Relation <R L0.HasProperty : SEL.GenericParameterType
23 >-- DN.Vertex.ScaleProperty.scale ==> "Double" <R L0.HasProperty : SEL.GenericParameterType
26 DN.Edge.ThicknessProperty <T L0.Value
27 >-- DN.Edge.ThicknessProperty.scale --> L0.Double <R L0.HasProperty : SEL.GenericParameterType
29 >-- DN.Edge.ThicknessProperty.value --> L0.Relation <R L0.HasProperty : SEL.GenericParameterType
33 //>-- DN.Diagram.nodeScale ==> "Double" <R L0.HasProperty : SEL.GenericParameterType
34 // L0.HasLabel "Node Scale"
35 //>-- DN.Diagram.nodeScalingProperty --> DN.Vertex.ScaleProperty <R L0.HasProperty : SEL.GenericParameterType
36 // L0.HasLabel "Node Scaling Property"
37 >-- DN.Diagram.edgeThicknessScale ==> "Double" <R L0.HasProperty : SEL.GenericParameterType
38 L0.HasLabel "Edge Thickness Scale"
39 >-- DN.Diagram.edgeThicknessProperty --> DN.Edge.ThicknessProperty <R L0.HasProperty : DN.EdgeThicknessPropertyParameterType
40 L0.HasLabel "Edge Thickness Property"
41 //@L0.assert DN.Diagram.nodeScale 1.0
42 //@L0.assert DN.Diagram.nodeScaleProperty DN.Vertex.ScaleProperty.SupplyPressure
43 @L0.assert DN.Diagram.edgeThicknessScale 1.0
44 @L0.assert DN.Diagram.edgeThicknessProperty DN.Edge.ThicknessProperty.Diameter
46 // ----------------------------------------------------------------------------
47 // Built-in enumerated ScaleProperty & ThicknessProperty instances
49 DN.Vertex.ScaleProperty.SupplyPressure : DN.Vertex.ColorProperty
50 L0.HasLabel "Nominal Supply Pressure"
51 DN.Vertex.ScaleProperty.value DN.Vertex.HasSupplyPressure
52 DN.Vertex.ScaleProperty.scale 1.0
54 DN.Edge.ThicknessProperty.Diameter : DN.Edge.ThicknessProperty
55 L0.HasLabel "Diameter"
56 DN.Edge.ThicknessProperty.value DN.Edge.HasDiameter
57 DN.Edge.ThicknessProperty.scale 0.001
59 DN.Edge.ThicknessProperty.NominalMassFlow : DN.Edge.ThicknessProperty
60 L0.HasLabel "Nominal Mass Flow"
61 DN.Edge.ThicknessProperty.value DN.Edge.HasNominalMassFlow
62 DN.Edge.ThicknessProperty.scale 1.0