]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network/scl/Simantics/District/TechType.scl
Add an SCL interface for loading tech type files
[simantics/district.git] / org.simantics.district.network / scl / Simantics / District / TechType.scl
index 9b6ddeb9bcc06f7477630e255356fe92d702f8f2..e8ab4eec1d00ae1d788bb16bc6d25098c66392c9 100644 (file)
@@ -5,3 +5,7 @@ importJava "org.simantics.district.network.techtype.TechTypeUtils" where
     updateComponent :: Resource -> <Proc> ()
     "Reset all components to values in a tech type table: `resetComponents table`"
     resetComponents :: Resource -> <Proc> ()
+    "Reset all map diagram elements to values in a tech type table: `resetMapElements table`"
+    resetMapElements :: Resource -> <Proc> ()
+    "Load a tech type table for a given component type from a CSV file: `loadTechTypeTable componentType filePath`"
+    loadTechTypeTable :: Resource -> String -> <Proc> ()