]> 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 18663b85e7c6f5845d9a7b1afe17c50d190e2ac4..e8ab4eec1d00ae1d788bb16bc6d25098c66392c9 100644 (file)
@@ -7,3 +7,5 @@ importJava "org.simantics.district.network.techtype.TechTypeUtils" where
     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> ()