X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.district.network%2Fscl%2FSimantics%2FDistrict%2FTechType.scl;h=e8ab4eec1d00ae1d788bb16bc6d25098c66392c9;hb=e1e327bcc36ec453b9e0c056c1d19316fa238240;hp=9b6ddeb9bcc06f7477630e255356fe92d702f8f2;hpb=8af3aedc6b9fc6ff41bb60884cfe667d5ebca164;p=simantics%2Fdistrict.git diff --git a/org.simantics.district.network/scl/Simantics/District/TechType.scl b/org.simantics.district.network/scl/Simantics/District/TechType.scl index 9b6ddeb9..e8ab4eec 100644 --- a/org.simantics.district.network/scl/Simantics/District/TechType.scl +++ b/org.simantics.district.network/scl/Simantics/District/TechType.scl @@ -5,3 +5,7 @@ importJava "org.simantics.district.network.techtype.TechTypeUtils" where updateComponent :: Resource -> () "Reset all components to values in a tech type table: `resetComponents table`" resetComponents :: Resource -> () + "Reset all map diagram elements to values in a tech type table: `resetMapElements table`" + resetMapElements :: Resource -> () + "Load a tech type table for a given component type from a CSV file: `loadTechTypeTable componentType filePath`" + loadTechTypeTable :: Resource -> String -> ()