]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph
Hide "enabled" column for non-component type tech type tables
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetworkDiagramSettings.pgraph
index c3d7cdfe1d451d4546a33a2492e24bb5bd2f7fc2..2d253bd3678e5557a60ffeb8bbb383e5ed1380d2 100644 (file)
@@ -13,33 +13,27 @@ DATATYPES = <http://www.simantics.org/Datatypes-1.1>
 
 // ----------------------------------------------------------------------------
 
-DN.ArrowLengthPropertyParameterType <T SEL.GenericParameterType
-    @L0.assert SEL.HasDisplayValue
-        _ : SEL.DisplayValue
-            SEL.HasEnumerationValues DN.Functions.arrowLengthPropertyEnumerationValues : L0.Function
-            SEL.HasCustomModifier DN.Functions.arrowLengthPropertyModifier : L0.Function
-
-DN.Edge.ArrowLengthProperty <T L0.Value
-    @L0.assert L0.ConvertsToValueWith DN.Functions.convertToValue
-    >-- DN.Edge.ArrowLengthProperty.value ==> "Resource -> <ReadGraph> Maybe Double" <R L0.HasProperty : SEL.GenericParameterType
-        L0.readOnly true
-    >-- DN.Edge.ArrowLengthProperty.gain --> L0.Double <R L0.HasProperty : SEL.GenericParameterType
-        L0.readOnly true
-    >-- DN.Edge.ArrowLengthProperty.bias --> L0.Double <R L0.HasProperty : SEL.GenericParameterType
-        L0.readOnly true
-    @L0.assert DN.Edge.ArrowLengthProperty.gain 1.0
-    @L0.assert DN.Edge.ArrowLengthProperty.bias 0.0
+//DN.ArrowLengthPropertyParameterType <T SEL.GenericParameterType
+//    @L0.assert SEL.HasDisplayValue
+//        _ : SEL.DisplayValue
+//            SEL.HasEnumerationValues DN.Functions.arrowLengthPropertyEnumerationValues : L0.Function
+//            SEL.HasCustomModifier DN.Functions.arrowLengthPropertyModifier : L0.Function
+
+//DN.Edge.ArrowLengthProperty <T L0.Value
+//    @L0.assert L0.ConvertsToValueWith DN.Functions.convertToValue
+//    >-- DN.Edge.ArrowLengthProperty.value ==> "Resource -> <ReadGraph> Maybe Double" <R L0.HasProperty : SEL.GenericParameterType
+//        L0.readOnly true
+//    >-- DN.Edge.ArrowLengthProperty.gain --> L0.Double <R L0.HasProperty : SEL.GenericParameterType
+//        L0.readOnly true
+//    >-- DN.Edge.ArrowLengthProperty.bias --> L0.Double <R L0.HasProperty : SEL.GenericParameterType
+//        L0.readOnly true
+//    @L0.assert DN.Edge.ArrowLengthProperty.gain 1.0
+//    @L0.assert DN.Edge.ArrowLengthProperty.bias 0.0
 
 // these should be deprecated
-DN.Edge.ThicknessProperty <T L0.Value
+//DN.Edge.ThicknessProperty <T L0.Value
 
 DN.Diagram
-    >-- DN.Diagram.arrowLengthGain ==> "Double" <R L0.HasProperty : SEL.GenericParameterType
-        L0.HasLabel "Arrow Length Gain"
-    >-- DN.Diagram.arrowLengthBias ==> "Double" <R L0.HasProperty : SEL.GenericParameterType
-        L0.HasLabel "Arrow Length Bias"
-    >-- DN.Diagram.arrowLengthProperty --> DN.Edge.ArrowLengthProperty <R L0.HasProperty : DN.ArrowLengthPropertyParameterType
-        L0.HasLabel "Arrow Length Property"
     >-- DN.Diagram.backgroundColor --> DATATYPES.RGB.Integer <R L0.HasProperty : SEL.ColorParameterType
         L0.HasLabel "Diagram Background Color"
     >-- DN.Diagram.drawMapEnabled ==> "Boolean" <R L0.HasProperty : SEL.GenericParameterType
@@ -47,15 +41,14 @@ DN.Diagram
     >-- DN.Diagram.hasVisualisation --> DN.Diagram.Visualisations <R L0.HasProperty
         L0.HasLabel "Visualisation"
     >-- DN.Diagram.hasActiveVisualisation --> DN.Diagram.Visualisations <R L0.HasProperty
-    >-- DN.Diagram.profileUpdateInterval ==> "Long" <R L0.HasProperty : SEL.GenericParameterType
-        L0.HasLabel "Profile update interval"
+// Removed by Jani as the intervalled profile update is not currently working
+//    >-- DN.Diagram.profileUpdateInterval ==> "Long" <R L0.HasProperty : SEL.GenericParameterType
+//        L0.HasLabel "Profile update interval"
 
-    @L0.assert DN.Diagram.arrowLengthGain 1.0
-    @L0.assert DN.Diagram.arrowLengthBias 0.0
-    @L0.assert DN.Diagram.arrowLengthProperty DN.Edge.ArrowLengthProperty.FlowRate
     @L0.assert DN.Diagram.drawMapEnabled true
-    @L0.assert DN.Diagram.profileUpdateInterval
-        2000 : L0.Long
+// Removed by Jani as the intervalled profile update is not currently working
+//    @L0.assert DN.Diagram.profileUpdateInterval
+//        2000 : L0.Long
     @L0.assert DN.Diagram.DefaultPipeTechTypeId 0
 
 // ----------------------------------------------------------------------------
@@ -66,9 +59,3 @@ DN.Functions.constantOne : L0.Function
 
 DN.Functions.hasNominalMassFlowValue : L0.Function
     L0.HasValueType "Resource -> <ReadGraph> Maybe Double"
-
-DN.Edge.ArrowLengthProperty.FlowRate : DN.Edge.ArrowLengthProperty
-    L0.HasLabel "Nominal Mass Flow"
-    DN.Edge.ArrowLengthProperty.value
-        DN.Functions.hasNominalMassFlowValue
-    DN.Edge.ArrowLengthProperty.gain 1.0