]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Minor simupedia updates
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 29 Oct 2013 14:53:26 +0000 (14:53 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 29 Oct 2013 14:53:26 +0000 (14:53 +0000)
refs #3511

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28153 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SysdynExperiment.java
org.simantics.sysdyn/src/org/simantics/sysdyn/utils/ModelUtils.java

index 6bfd9706ebcb40b32a1cff3e77088853eec10f0a..78685a17311a5deb36f89720cb60377229564fad 100644 (file)
@@ -387,7 +387,7 @@ public class SysdynExperiment extends Experiment implements IDynamicExperiment,
         */\r
        public void resultsChanged() {\r
                long time = System.nanoTime();\r
-               if(time - previousVariableUpdateTime > 100000000) {\r
+               if(time - previousVariableUpdateTime > 10000000) {\r
                        updateSubscriptions();\r
                        previousVariableUpdateTime = time;\r
                }\r
index c7923c8a9239fe79bff42765bfe0e84311d5a1aa..ac88d5beb0eba2b5a94f4313978d60848d058fbb 100644 (file)
@@ -185,11 +185,11 @@ public class ModelUtils {
         if(graph.hasStatement(SCLModule, L0.SCLModule_definition))\r
             graph.deny(SCLModule, L0.SCLModule_definition);\r
         graph.claimLiteral(SCLModule, L0.SCLModule_definition, \r
-                "include \"http://www.simantics.org/DB\"\n" +\r
-                "include \"http://www.simantics.org/Variables\"\n" + \r
-                "include \"" + graph.getURI(model) + "\"\n" +\r
-                "include \"http://www.simantics.org/Documentation-1.1/Components\"\n" + \r
-                "include \"http://www.simantics.org/Documentation-1.1/Properties\" as Properties\n" +\r
-                "include \"http://www.simantics.org/Documentation-1.1/Relations\" as Relations", Bindings.STRING);\r
+                "include \"Simantics/DB\"\n" +\r
+                "include \"Simantics/Variables\"\n" + \r
+                "include \"Simantics/Sysdyn\" as SD\n" + \r
+                "include \"http://www.simantics.org/Documentation-1.2/Components\"\n" + \r
+                "include \"http://www.simantics.org/Documentation-1.2/Properties\" as Properties\n" +\r
+                "include \"http://www.simantics.org/Documentation-1.2/Relations\" as Relations", Bindings.STRING);\r
     }\r
 }\r