X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.district.network.ontology%2Fgraph%2FDistrictNetworkTechType.pgraph;h=16f315c28c9096a99fdebff539ad8659549fec88;hb=782045a8c4f27b1dbdc77d620437aef28cd77b97;hp=adebe0132193114a9168b1624b43841533cd9b58;hpb=7b3111c1cbb19842294bffc6a34289a2fecabdf9;p=simantics%2Fdistrict.git diff --git a/org.simantics.district.network.ontology/graph/DistrictNetworkTechType.pgraph b/org.simantics.district.network.ontology/graph/DistrictNetworkTechType.pgraph index adebe013..16f315c2 100644 --- a/org.simantics.district.network.ontology/graph/DistrictNetworkTechType.pgraph +++ b/org.simantics.district.network.ontology/graph/DistrictNetworkTechType.pgraph @@ -1,5 +1,6 @@ L0 = STR = +SEL = DN = @@ -9,7 +10,21 @@ table = TT.TechTypeTable -- table.HasData L0.String + >-- table.HasEnabledItems L0.IntegerArray // Link to corresponding component type >-- table.HasComponentType STR.ComponentType + + @L0.assert table.HasEnabledItems + [] : L0.IntegerArray + +TT.Functions : L0.Library +TT.Functions.techTypeCodeValueAccessor : L0.ExternalValue + L0.HasValueType "ValueAccessor" +TT.Functions.techTypeKeys : L0.Function + L0.HasValueType "ReadGraph -> Resource -> a -> b" + +TT.TechTypeCodeParameterType : SEL.GenericParameterType + @L0.assert L0.valueAccessor TT.Functions.techTypeCodeValueAccessor