1 L0 = <http://www.simantics.org/Layer0-1.1>
2 STR = <http://www.simantics.org/Structural-1.2>
3 SEL = <http://www.simantics.org/SelectionView-1.2>
5 DN = <http://www.simantics.org/DistrictNetwork-1.0>
7 TT = DN.TechType : L0.Library
9 table = TT.TechTypeTable <T L0.Entity
10 // Table data as a CSV string literal
11 >-- table.HasData <R L0.HasProperty : L0.TotalFunction
13 >-- table.HasEnabledItems <R L0.HasProperty : L0.FunctionalRelation
16 // Link to corresponding component type
17 >-- table.HasComponentType <R L0.IsRelatedTo : L0.FunctionalRelation
20 @L0.assert table.HasEnabledItems
23 TT.Functions : L0.Library
24 TT.Functions.techTypeCodeValueAccessor : L0.ExternalValue
25 L0.HasValueType "ValueAccessor"
26 TT.Functions.techTypeKeys : L0.Function
27 L0.HasValueType "ReadGraph -> Resource -> a -> b"
29 TT.TechTypeCodeParameterType : SEL.GenericParameterType
30 @L0.assert L0.valueAccessor TT.Functions.techTypeCodeValueAccessor