Example #1
0
 public fbWorldWeatherWatch(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);
     _NorthPole = new structWeatherStation(this, "<#North pole station#>", "NorthPole");
     _NorthPole.AttributeName = "<#North pole station#>";
     _SouthPole = new structWeatherStation(this, "<#South pole station#>", "SouthPole");
     _SouthPole.AttributeName = "<#South pole station#>";
     _Verl = new structWeatherStation(this, "<#Verl, Germany#>", "Verl");
     _Verl.AttributeName = "<#Verl, Germany#>";
     _Kriva = new structWeatherStation(this, "<#Kriva, Slovakia#>", "Kriva");
     _Kriva.AttributeName        = "<#Kriva, Slovakia#>";
     _PlcCommentOnCurrentWeather = @Connector.Online.Adapter.CreateSTRING(this, "<#What plc says#>", "PlcCommentOnCurrentWeather");
     PlcCommentOnCurrentWeather.AttributeName = "<#What plc says#>";
     AttributeName = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
Example #2
0
 public fbWorldWeatherWatch()
 {
     PexPreConstructorParameterless();
     _NorthPole = new structWeatherStation();
     _NorthPole.AttributeName = "<#North pole station#>";
     _SouthPole = new structWeatherStation();
     _SouthPole.AttributeName = "<#South pole station#>";
     _Verl = new structWeatherStation();
     _Verl.AttributeName = "<#Verl, Germany#>";
     _Kriva = new structWeatherStation();
     _Kriva.AttributeName        = "<#Kriva, Slovakia#>";
     _PlcCommentOnCurrentWeather = Vortex.Connector.IConnectorFactory.CreateSTRING();
     PlcCommentOnCurrentWeather.AttributeName = "<#What plc says#>";
     AttributeName = "";
     PexConstructorParameterless();
 }