@defProperty "K Supply" L0.Double
>-- DN.Edge.HasTGround
@defProperty "T Ground" L0.Double
- @L0.assert DN.Edge.HasDiameter 100
- @L0.assert DN.Edge.HasOuterDiameter 125
+ @L0.assert DN.Edge.HasDiameter 100.0
+ @L0.assert DN.Edge.HasOuterDiameter 125.0
// ----------------------------------------------------------------------------
>-- 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
// ----------------------------------------------------------------------------
public final Resource Diagram_hasActiveVisualisation_Inverse;
public final Resource Diagram_hasVisualisation;
public final Resource Diagram_hasVisualisation_Inverse;
- public final Resource Diagram_profileUpdateInterval;
- public final Resource Diagram_profileUpdateInterval_Inverse;
public final Resource Diagram_splitToMultipleEnabled;
public final Resource Diagram_splitToMultipleEnabled_Inverse;
public final Resource Diagram_trackChangesEnabled;
public static final String Diagram_hasActiveVisualisation_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/hasActiveVisualisation/Inverse";
public static final String Diagram_hasVisualisation = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/hasVisualisation";
public static final String Diagram_hasVisualisation_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/hasVisualisation/Inverse";
- public static final String Diagram_profileUpdateInterval = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/profileUpdateInterval";
- public static final String Diagram_profileUpdateInterval_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/profileUpdateInterval/Inverse";
public static final String Diagram_splitToMultipleEnabled = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/splitToMultipleEnabled";
public static final String Diagram_splitToMultipleEnabled_Inverse = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/splitToMultipleEnabled/Inverse";
public static final String Diagram_trackChangesEnabled = "http://www.simantics.org/DistrictNetwork-1.0/Diagram/trackChangesEnabled";
Diagram_hasActiveVisualisation_Inverse = getResourceOrNull(graph, URIs.Diagram_hasActiveVisualisation_Inverse);
Diagram_hasVisualisation = getResourceOrNull(graph, URIs.Diagram_hasVisualisation);
Diagram_hasVisualisation_Inverse = getResourceOrNull(graph, URIs.Diagram_hasVisualisation_Inverse);
- Diagram_profileUpdateInterval = getResourceOrNull(graph, URIs.Diagram_profileUpdateInterval);
- Diagram_profileUpdateInterval_Inverse = getResourceOrNull(graph, URIs.Diagram_profileUpdateInterval_Inverse);
Diagram_splitToMultipleEnabled = getResourceOrNull(graph, URIs.Diagram_splitToMultipleEnabled);
Diagram_splitToMultipleEnabled_Inverse = getResourceOrNull(graph, URIs.Diagram_splitToMultipleEnabled_Inverse);
Diagram_trackChangesEnabled = getResourceOrNull(graph, URIs.Diagram_trackChangesEnabled);
DistrictNetworkResource DN = DistrictNetworkResource.getInstance(graph);
Long interval = DEFAULT_INTERVAL;
if (configuration != null) {
- interval = graph.getPossibleRelatedValue(configuration, DN.Diagram_profileUpdateInterval, Bindings.LONG);
+ // TODO: take back to use when throttled profile is actually working
+ // interval = graph.getPossibleRelatedValue(configuration, DN.Diagram_profileUpdateInterval, Bindings.LONG);
}
return interval != null ? interval : DEFAULT_INTERVAL;
}