public stData() { PexPreConstructorParameterless(); _DimX = new stContinuosValueData(); _DimX.AttributeName = "<#DimensionX#> [mm]"; _DimY = new stContinuosValueData(); _DimY.AttributeName = "<#DimensionY#> [mm]"; _DimZ = new stContinuosValueData(); _DimZ.AttributeName = "<#DimensionZ#> [mm]"; AttributeName = ""; PexConstructorParameterless(); }
public stData(Vortex.Connector.IVortexObject parent, string readableTail, string symbolTail) { this.@SymbolTail = symbolTail; this.@Connector = parent.GetConnector(); this.@ValueTags = new System.Collections.Generic.List <Vortex.Connector.IValueTag>(); this.@Parent = parent; _humanReadable = Vortex.Connector.IConnector.CreateSymbol(parent.HumanReadable, readableTail); this.Kids = new System.Collections.Generic.List <Vortex.Connector.IVortexElement>(); this.@Children = new System.Collections.Generic.List <Vortex.Connector.IVortexObject>(); PexPreConstructor(parent, readableTail, symbolTail); Symbol = Vortex.Connector.IConnector.CreateSymbol(parent.Symbol, symbolTail); _DimX = new stContinuosValueData(this, "<#DimensionX#> [mm]", "DimX"); _DimX.AttributeName = "<#DimensionX#> [mm]"; _DimY = new stContinuosValueData(this, "<#DimensionY#> [mm]", "DimY"); _DimY.AttributeName = "<#DimensionY#> [mm]"; _DimZ = new stContinuosValueData(this, "<#DimensionZ#> [mm]", "DimZ"); _DimZ.AttributeName = "<#DimensionZ#> [mm]"; AttributeName = ""; parent.AddChild(this); parent.AddKid(this); PexConstructor(parent, readableTail, symbolTail); }