From ded33522a93462a69f30ecb258df42b8d7127b22 Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Mon, 30 Sep 2019 10:58:46 +0300 Subject: [PATCH] Remove unused profile throtting setting & assert diameter as Double gitlab #59 Change-Id: I6e3af4a268e1906be2753bbc0aa57e6c892b511d (cherry picked from commit b6f289e20a2105cedbe103723de93d1116654ee2) --- .../graph/DistrictNetwork.pgraph | 4 ++-- .../graph/DistrictNetworkDiagramSettings.pgraph | 10 ++++++---- .../network/ontology/DistrictNetworkResource.java | 6 ------ .../district/network/profile/ThrottledStyleBase.java | 3 ++- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph b/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph index 33408b2f..b16248f2 100644 --- a/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph +++ b/org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph @@ -139,8 +139,8 @@ DN.Edge -- 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 // ---------------------------------------------------------------------------- diff --git a/org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph b/org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph index c3d7cdfe..2a735b42 100644 --- a/org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph +++ b/org.simantics.district.network.ontology/graph/DistrictNetworkDiagramSettings.pgraph @@ -47,15 +47,17 @@ DN.Diagram >-- DN.Diagram.hasVisualisation --> DN.Diagram.Visualisations -- DN.Diagram.hasActiveVisualisation --> DN.Diagram.Visualisations -- DN.Diagram.profileUpdateInterval ==> "Long" -- DN.Diagram.profileUpdateInterval ==> "Long" extends StyleBase