X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.district.network.ontology%2Fgraph%2FDistrictNetworkTechType.pgraph;h=16f315c28c9096a99fdebff539ad8659549fec88;hb=refs%2Fchanges%2F86%2F4486%2F1;hp=96865b343055ba1450562a50759048c0f20f2552;hpb=8af3aedc6b9fc6ff41bb60884cfe667d5ebca164;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 96865b34..16f315c2 100644 --- a/org.simantics.district.network.ontology/graph/DistrictNetworkTechType.pgraph +++ b/org.simantics.district.network.ontology/graph/DistrictNetworkTechType.pgraph @@ -10,14 +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