Exemplo n.º 1
0
 public prgSimple()
 {
     PexPreConstructorParameterless();
     __counter       = Vortex.Connector.IConnectorFactory.CreateULINT();
     __counterActive = Vortex.Connector.IConnectorFactory.CreateBOOL();
     __reset         = Vortex.Connector.IConnectorFactory.CreateBOOL();
     AttributeName   = "";
     PexConstructorParameterless();
 }
Exemplo n.º 2
0
 public prgSimple(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);
     __counter       = @Connector.Online.Adapter.CreateULINT(this, "", "_counter");
     __counterActive = @Connector.Online.Adapter.CreateBOOL(this, "", "_counterActive");
     __reset         = @Connector.Online.Adapter.CreateBOOL(this, "", "_reset");
     AttributeName   = "";
     PexConstructor(parent, readableTail, symbolTail);
     parent.AddChild(this);
 }