Beispiel #1
0
 public prgAddedProperties()
 {
     PexPreConstructorParameterless();
     _fbDriveX = new fbDrive();
     _fbDriveX.AttributeName = "X";
     _fbDriveY = new fbDrive();
     _fbDriveY.AttributeName = "Y";
     _fbDriveZ = new fbDrive();
     _fbDriveZ.AttributeName = "Z";
     AttributeName           = "";
     PexConstructorParameterless();
 }
Beispiel #2
0
 public prgAddedProperties(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.@Children   = new System.Collections.Generic.List <Vortex.Connector.IVortexObject>();
     this.@Parent     = parent;
     _humanReadable   = Vortex.Connector.IConnector.CreateSymbol(parent.HumanReadable, readableTail);
     PexPreConstructor(parent, readableTail, symbolTail);
     Symbol    = Vortex.Connector.IConnector.CreateSymbol(parent.Symbol, symbolTail);
     _fbDriveX = new fbDrive(this, "X", "fbDriveX");
     _fbDriveX.AttributeName = "X";
     _fbDriveY = new fbDrive(this, "Y", "fbDriveY");
     _fbDriveY.AttributeName = "Y";
     _fbDriveZ = new fbDrive(this, "Z", "fbDriveZ");
     _fbDriveZ.AttributeName = "Z";
     AttributeName           = "";
     PexConstructor(parent, readableTail, symbolTail);
     parent.AddChild(this);
 }