]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Added units to startTime, stopTime, and timeStep variables in Sysdyn (refs #5773).
authormiettinen <miettinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 17 Apr 2015 07:14:28 +0000 (07:14 +0000)
committermiettinen <miettinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 17 Apr 2015 07:14:28 +0000 (07:14 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@31183 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn/src/org/simantics/sysdyn/representation/utils/UnitUtils.java

index 66566c80cd0678175c81c0326073bd9f85326bf7..9e7914d5bbd685c082cf765c6806246fedfca132 100644 (file)
@@ -164,6 +164,9 @@ public class UnitUtils {
         }\r
         \r
         units.put("time", getTimeUnit(graph, model));\r
+        units.put("timeStep", getTimeUnit(graph, model));\r
+        units.put("startTime", getTimeUnit(graph, model));\r
+        units.put("stopTime", getTimeUnit(graph, model));\r
         \r
         return units;\r
     }\r