X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=org.simantics.district.network.ontology%2Fgraph%2FDistrictNetworkTechType.pgraph;h=d63271af5befbfb607c17943885690851cfdd8c8;hb=78413c493c8dac347e5b8106d8ca9fb52aef77f4;hp=adebe0132193114a9168b1624b43841533cd9b58;hpb=c460f5e5574a0c600c24f6971a9a1d78342dd307;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..d63271af 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 = @@ -13,3 +14,12 @@ table = TT.TechTypeTable -- table.HasComponentType STR.ComponentType + +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