]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.district.network/scl/Simantics/District/TechType.scl
e8ab4eec1d00ae1d788bb16bc6d25098c66392c9
[simantics/district.git] / org.simantics.district.network / scl / Simantics / District / TechType.scl
1 import "Simantics/DB"
2
3 importJava "org.simantics.district.network.techtype.TechTypeUtils" where
4     "Update component properties from tech type table: `updateComponent component`"
5     updateComponent :: Resource -> <Proc> ()
6     "Reset all components to values in a tech type table: `resetComponents table`"
7     resetComponents :: Resource -> <Proc> ()
8     "Reset all map diagram elements to values in a tech type table: `resetMapElements table`"
9     resetMapElements :: Resource -> <Proc> ()
10     "Load a tech type table for a given component type from a CSV file: `loadTechTypeTable componentType filePath`"
11     loadTechTypeTable :: Resource -> String -> <Proc> ()