Esempio n. 1
0
 public stForecast(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);
     _timeFrom              = @Connector.Online.Adapter.CreateDATE_TIME(this, "", "timeFrom");
     _timeTo                = @Connector.Online.Adapter.CreateDATE_TIME(this, "", "timeTo");
     _precipitation_unit    = @Connector.Online.Adapter.CreateSTRING(this, "", "precipitation_unit");
     _precipitation_value   = @Connector.Online.Adapter.CreateREAL(this, "", "precipitation_value");
     _precipitation_type    = @Connector.Online.Adapter.CreateSTRING(this, "", "precipitation_type");
     _windDirection_value   = @Connector.Online.Adapter.CreateREAL(this, "", "windDirection_value");
     _windDirection_name    = @Connector.Online.Adapter.CreateSTRING(this, "", "windDirection_name");
     _windSpeed_value       = @Connector.Online.Adapter.CreateREAL(this, "", "windSpeed_value");
     _windSpeed_unit        = @Connector.Online.Adapter.CreateSTRING(this, "", "windSpeed_unit");
     _windSpeed_name        = @Connector.Online.Adapter.CreateSTRING(this, "", "windSpeed_name");
     _temperature_value     = @Connector.Online.Adapter.CreateREAL(this, "", "temperature_value");
     _temperature_unit      = @Connector.Online.Adapter.CreateSTRING(this, "", "temperature_unit");
     _temperature_min       = @Connector.Online.Adapter.CreateREAL(this, "", "temperature_min");
     _temperature_max       = @Connector.Online.Adapter.CreateREAL(this, "", "temperature_max");
     _temperature_feel_like = @Connector.Online.Adapter.CreateREAL(this, "", "temperature_feel_like");
     _pressure_value        = @Connector.Online.Adapter.CreateREAL(this, "", "pressure_value");
     _pressure_unit         = @Connector.Online.Adapter.CreateSTRING(this, "", "pressure_unit");
     _humidity_value        = @Connector.Online.Adapter.CreateREAL(this, "", "humidity_value");
     _humidity_UNIT         = @Connector.Online.Adapter.CreateSTRING(this, "", "humidity_UNIT");
     AttributeName          = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
Esempio n. 2
0
 public stRoomData(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);
     _Temperature = @Connector.Online.Adapter.CreateREAL(this, "<#Actual room temperature °C#>", "Temperature");
     Temperature.AttributeName = "<#Actual room temperature °C#>";
     _Humidity = @Connector.Online.Adapter.CreateREAL(this, "<#Actual room humidity %#>", "Humidity");
     Humidity.AttributeName = "<#Actual room humidity %#>";
     _VOC = @Connector.Online.Adapter.CreateREAL(this, "<#Actual room VOC %#>", "VOC");
     VOC.AttributeName = "<#Actual room VOC %#>";
     _CO2 = @Connector.Online.Adapter.CreateREAL(this, "<#Actual room CO2 concentration ppm#>", "CO2");
     CO2.AttributeName = "<#Actual room CO2 concentration ppm#>";
     _AbsoluteHumidity = @Connector.Online.Adapter.CreateREAL(this, "<#Actual room absolute humidity g/m3#>", "AbsoluteHumidity");
     AbsoluteHumidity.AttributeName = "<#Actual room absolute humidity g/m3#>";
     _Enthalpy = @Connector.Online.Adapter.CreateREAL(this, "<#Actual room enthalpy kJ/k#>", "Enthalpy");
     Enthalpy.AttributeName = "<#Actual room enthalpy kJ/k#>";
     _DewPoint = @Connector.Online.Adapter.CreateREAL(this, "<#Actual room dew point °C#>", "DewPoint");
     DewPoint.AttributeName   = "<#Actual room dew point °C#>";
     _CO2VOC_MIX              = @Connector.Online.Adapter.CreateREAL(this, "<#Actual room CO2 VOC mix#>", "CO2VOC_MIX");
     CO2VOC_MIX.AttributeName = "<#Actual room CO2 VOC mix#>";
     AttributeName            = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
 public fbPneumaticActuator(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);
     _inRetracted = @Connector.Online.Adapter.CreateBOOL(this, "Retracted", "inRetracted");
     inRetracted.AttributeName    = "Retracted";
     inRetracted.AttributeToolTip = "Sensor indicating that the actuator is retracted";
     _inExtended = @Connector.Online.Adapter.CreateBOOL(this, "Extend", "inExtended");
     inExtended.AttributeName    = "Extend";
     inExtended.AttributeToolTip = "Sensor indicating that the actuator is extended";
     _outRetract = @Connector.Online.Adapter.CreateBOOL(this, "Retract", "outRetract");
     outRetract.AttributeName    = "Retract";
     outRetract.AttributeToolTip = "Signal for retracting";
     _outExtend = @Connector.Online.Adapter.CreateBOOL(this, "Extend", "outExtend");
     outExtend.AttributeName         = "Extend";
     outExtend.AttributeToolTip      = "Signal for Extending";
     __manualRetract                 = @Connector.Online.Adapter.CreateBOOL(this, "Manual Retract", "_manualRetract");
     _manualRetract.AttributeName    = "Manual Retract";
     _manualRetract.AttributeToolTip = "Executes retraction in manual mode";
     __manualExtend = @Connector.Online.Adapter.CreateBOOL(this, "Manual Extend", "_manualExtend");
     _manualExtend.AttributeName    = "Manual Extend";
     _manualExtend.AttributeToolTip = "Executes extension in manual mode";
     AttributeName = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
 public fbStation(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);
     __modeSelector = @Connector.Online.Adapter.CreateINT(this, "<#Select mode#>", "_modeSelector");
     _modeSelector.AttributeName = "<#Select mode#>";
     __modeCurrent = @Connector.Online.Adapter.CreateINT(this, "<#CurrentMode#>", "_modeCurrent");
     _modeCurrent.MakeReadOnly();
     _modeCurrent.AttributeName = "<#CurrentMode#>";
     __stepInfo = @Connector.Online.Adapter.CreateSTRING(this, "<#Step description#>", "_stepInfo");
     _stepInfo.AttributeName    = "<#Step description#>";
     __errorInfo                = @Connector.Online.Adapter.CreateSTRING(this, "<#Error description#>", "_errorInfo");
     _errorInfo.AttributeName   = "<#Error description#>";
     __components               = new stComponents(this, "<#Components#>", "_components");
     __components.AttributeName = "<#Components#>";
     __data = new stData(this, "<#Data#>", "_data");
     __data.AttributeName = "<#Data#>";
     AttributeName        = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
Esempio n. 5
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);
 }
Esempio n. 6
0
 public fbStepConveyor(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);
     _inStop = @Connector.Online.Adapter.CreateBOOL(this, "Stop condition", "inStop");
     inStop.AttributeName    = "Stop condition";
     inStop.AttributeToolTip = "Signal that stops the conveyor";
     _outMove = @Connector.Online.Adapter.CreateBOOL(this, "Move", "outMove");
     outMove.AttributeName        = "Move";
     outMove.AttributeToolTip     = "Signal for moving conveyor";
     __manualMove                 = @Connector.Online.Adapter.CreateBOOL(this, "Move manual command", "_manualMove");
     _manualMove.AttributeName    = "Move manual command";
     _manualMove.AttributeToolTip = "Triggers movement in manual mode if possible";
     AttributeName                = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
 public stComponents(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);
     __pneumatics    = new stPneumatics(this, "", "_pneumatics");
     __inputConveyor = new fbStepConveyor(this, "<#Input step conveyor#> A4", "_inputConveyor");
     __inputConveyor.AttributeName          = "<#Input step conveyor#> A4";
     __BrickInTakeOffPosition               = new fbDigitalSensor(this, "<#Brick in the take-off position#>", "_BrickInTakeOffPosition");
     __BrickInTakeOffPosition.AttributeName = "<#Brick in the take-off position#>";
     __BrickInGripper = new fbDigitalSensor(this, "<#Brick in the gripper#>", "_BrickInGripper");
     __BrickInGripper.AttributeName = "<#Brick in the gripper#>";
     __X_DimSensor = @Connector.Online.Adapter.CreateREAL(this, "<#Sensor dim X#>", "_X_DimSensor");
     _X_DimSensor.AttributeName = "<#Sensor dim X#>";
     __Y_DimSensor = @Connector.Online.Adapter.CreateREAL(this, "<#Sensor dim Y#>", "_Y_DimSensor");
     _Y_DimSensor.AttributeName = "<#Sensor dim Y#>";
     __Z_DimSensor = @Connector.Online.Adapter.CreateREAL(this, "<#Sensor dim Z#>", "_Z_DimSensor");
     _Z_DimSensor.AttributeName = "<#Sensor dim Z#>";
     AttributeName = "<#Components#>";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
 public fbDrive(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);
     _Position = @Connector.Online.Adapter.CreateLREAL(this, "Position", "Position");
     Position.AttributeName  = "Position";
     Position.AttributeUnits = "nm";
     _Speed = @Connector.Online.Adapter.CreateLREAL(this, "Speed", "Speed");
     Speed.AttributeName  = "Speed";
     Speed.AttributeUnits = "mm/s";
     _Acc = @Connector.Online.Adapter.CreateREAL(this, "Acceleration", "Acc");
     Acc.AttributeName  = "Acceleration";
     Acc.AttributeUnits = "mm/s^2";
     _Dcc = @Connector.Online.Adapter.CreateREAL(this, "Deceleration", "Dcc");
     Dcc.AttributeName  = "Deceleration";
     Dcc.AttributeUnits = "mm/s^2";
     AttributeName      = "";
     PexConstructor(parent, readableTail, symbolTail);
     parent.AddChild(this);
 }
 public MAIN(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);
     AttributeName = "";
     PexConstructor(parent, readableTail, symbolTail);
     parent.AddChild(this);
 }
 public prgWeatherStations(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);
     __weatherStationsCyclicAccess   = new fbWorldWeatherWatch(this, "", "_weatherStationsCyclicAccess");
     __weatherStationsBatchAccess    = new fbWorldWeatherWatch(this, "", "_weatherStationsBatchAccess");
     __weatherStationsSynchronAccess = new fbWorldWeatherWatch(this, "", "_weatherStationsSynchronAccess");
     AttributeName = "";
     PexConstructor(parent, readableTail, symbolTail);
     parent.AddChild(this);
 }
Esempio n. 11
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);
 }
Esempio n. 12
0
		public fbFluentString(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);
			__resultString = @Connector.Online.Adapter.CreateSTRING(this, "", "_resultString");
			AttributeName = "";
			parent.AddChild(this);
			parent.AddKid(this);
			PexConstructor(parent, readableTail, symbolTail);
		}
Esempio n. 13
0
 public stHugeArrayOfComplex(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);
     arr_of_complex = new stComplex[1000];
     Vortex.Connector.BuilderHelpers.Arrays.InstantiateArray(arr_of_complex, this, "", "arr_of_complex", (p, rt, st) => new stComplex(p, rt, st));
     AttributeName = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
 public stHugeArrayOfPrimitive(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);
     arr_of_primitive = new Vortex.Connector.ValueTypes.OnlinerByte[1024];
     Vortex.Connector.BuilderHelpers.Arrays.InstantiateArray(arr_of_primitive, this, "", "arr_of_primitive", (p, rt, st) => @Connector.Online.Adapter.CreateBYTE(p, rt, st));
     AttributeName = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
Esempio n. 15
0
 public MAIN(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);
     _Hello_World = new stTreeStruct(this, "<#Hello world#>", "Hello_World");
     _Hello_World.AttributeName = "<#Hello world#>";
     AttributeName = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
Esempio n. 16
0
 public stBools(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);
     _BoolOne      = @Connector.Online.Adapter.CreateBOOL(this, "", "BoolOne");
     _BoolTwo      = @Connector.Online.Adapter.CreateBOOL(this, "", "BoolTwo");
     _BoolThree    = @Connector.Online.Adapter.CreateBOOL(this, "", "BoolThree");
     _BoolFive     = @Connector.Online.Adapter.CreateBOOL(this, "", "BoolFive");
     AttributeName = "";
     PexConstructor(parent, readableTail, symbolTail);
     parent.AddChild(this);
 }
Esempio n. 17
0
 public MAIN(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);
     _WeatherData     = new stWeatherData(this, "", "WeatherData");
     _bGetWeatherData = @Connector.Online.Adapter.CreateBOOL(this, "", "bGetWeatherData");
     _actDateTime     = @Connector.Online.Adapter.CreateDATE_TIME(this, "", "actDateTime");
     AttributeName    = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
 public fbDigitalSensor(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);
     _Value = @Connector.Online.Adapter.CreateBOOL(this, "Value", "Value");
     Value.AttributeName    = "Value";
     Value.AttributeToolTip = "Sensor actual value";
     AttributeName          = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
Esempio n. 19
0
 public prgPerf(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);
     _hugeArrayOfComplex       = new stHugeArrayOfComplex(this, "", "hugeArrayOfComplex");
     _hugeArrayOfPrimitive     = new stHugeArrayOfPrimitive(this, "", "hugeArrayOfPrimitive");
     _hugeStructureOfComplex   = new stHugeStructureOfComplex(this, "", "hugeStructureOfComplex");
     _hugeStructureOfPrimitive = new stHugeStructureOfPrimitive(this, "", "hugeStructureOfPrimitive");
     AttributeName             = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
Esempio n. 20
0
 public stTreeStruct(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);
     _One                = @Connector.Online.Adapter.CreateBOOL(this, "", "One");
     _Two                = @Connector.Online.Adapter.CreateBOOL(this, "", "Two");
     _Another            = @Connector.Online.Adapter.CreateSTRING(this, "", "Another");
     _ThisOne            = @Connector.Online.Adapter.CreateSTRING(this, "", "ThisOne");
     _ANumberWouldBeCool = @Connector.Online.Adapter.CreateINT(this, "", "ANumberWouldBeCool");
     _Bools              = new stBools(this, "", "Bools");
     AttributeName       = "";
     PexConstructor(parent, readableTail, symbolTail);
     parent.AddChild(this);
 }
Esempio n. 21
0
 public stWeatherData(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);
     _sunrise = @Connector.Online.Adapter.CreateDATE_TIME(this, "", "sunrise");
     _sunset  = @Connector.Online.Adapter.CreateDATE_TIME(this, "", "sunset");
     Forecast = new stForecast[40];
     Vortex.Connector.BuilderHelpers.Arrays.InstantiateArray(Forecast, this, "", "Forecast", (p, rt, st) => new stForecast(p, rt, st));
     AttributeName = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
Esempio n. 22
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);
 }
 public Hardware_Simulation(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);
     _CH1          = new fbIntValueSimulation(this, "", "CH1");
     _CH2          = new fbIntValueSimulation(this, "", "CH2");
     _CH3          = new fbIntValueSimulation(this, "", "CH3");
     _CH4          = new fbIntValueSimulation(this, "", "CH4");
     AttributeName = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
 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);
 }
Esempio n. 25
0
 public MAIN(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);
     __horizontalPiston = new fbPneumaticActuator(this, "Horizontal piston A1", "_horizontalPiston");
     __horizontalPiston.AttributeName = "Horizontal piston A1";
     __verticalPiston = new fbPneumaticActuator(this, "Vertical piston A2", "_verticalPiston");
     __verticalPiston.AttributeName = "Vertical piston A2";
     __gripper = new fbPneumaticActuator(this, "Gripper A3", "_gripper");
     __gripper.AttributeName = "Gripper A3";
     AttributeName           = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
 public stContinuosValueData(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);
     _Mininum = @Connector.Online.Adapter.CreateREAL(this, "<#Min#>", "Mininum");
     Mininum.AttributeName  = "<#Min#>";
     _Measured              = @Connector.Online.Adapter.CreateREAL(this, "<#Aquired#>", "Measured");
     Measured.AttributeName = "<#Aquired#>";
     _Maximum = @Connector.Online.Adapter.CreateREAL(this, "<#Max#>", "Maximum");
     Maximum.AttributeName = "<#Max#>";
     AttributeName         = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
 public fbIntValueSimulation(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);
     _MinValue     = @Connector.Online.Adapter.CreateINT(this, "", "MinValue");
     _MaxValue     = @Connector.Online.Adapter.CreateINT(this, "", "MaxValue");
     _p1           = @Connector.Online.Adapter.CreateINT(this, "", "p1");
     _p2           = @Connector.Online.Adapter.CreateINT(this, "", "p2");
     _pm           = @Connector.Online.Adapter.CreateINT(this, "", "pm");
     _x0           = @Connector.Online.Adapter.CreateINT(this, "", "x0");
     AttributeName = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
Esempio n. 28
0
 public structWeatherStation(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);
     _StationICAO = @Connector.Online.Adapter.CreateSTRING(this, "<#Station name (ICAO)#>", "StationICAO");
     StationICAO.AttributeName   = "<#Station name (ICAO)#>";
     _StationStatus              = @Connector.Online.Adapter.CreateINT(this, "<#Station status#>", "StationStatus");
     StationStatus.AttributeName = "<#Station status#>";
     _DewPoint = @Connector.Online.Adapter.CreateREAL(this, "<#Dew Point#>", "DewPoint");
     DewPoint.AttributeName  = "<#Dew Point#>";
     DewPoint.AttributeUnits = "°C";
     _Pressure = @Connector.Online.Adapter.CreateREAL(this, "<#Pressure#>", "Pressure");
     Pressure.AttributeName  = "<#Pressure#>";
     Pressure.AttributeUnits = "Torr";
     _Temp = @Connector.Online.Adapter.CreateREAL(this, "<#Temperature#>", "Temp");
     Temp.AttributeName         = "<#Temperature#>";
     Temp.AttributeUnits        = "°C";
     _Visibility                = @Connector.Online.Adapter.CreateREAL(this, "<#Visibility#>", "Visibility");
     Visibility.AttributeName   = "<#Visibility#>";
     Visibility.AttributeUnits  = "km";
     _WindHeading               = @Connector.Online.Adapter.CreateUINT(this, "<#Wind heading#>", "WindHeading");
     WindHeading.AttributeName  = "<#Wind heading#>";
     WindHeading.AttributeUnits = "Azimuth";
     _WindSpeed = @Connector.Online.Adapter.CreateREAL(this, "<#Wind speed#>", "WindSpeed");
     WindSpeed.AttributeName  = "<#Wind speed#>";
     WindSpeed.AttributeUnits = "m/s";
     AttributeName            = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
 public fbPneumaticActuator(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);
     _inRetracted        = @Connector.Online.Adapter.CreateBOOL(this, "", "inRetracted");
     _inExtended         = @Connector.Online.Adapter.CreateBOOL(this, "", "inExtended");
     _outRetract         = @Connector.Online.Adapter.CreateBOOL(this, "", "outRetract");
     _outExtend          = @Connector.Online.Adapter.CreateBOOL(this, "", "outExtend");
     __manualRetract     = @Connector.Online.Adapter.CreateBOOL(this, "", "_manualRetract");
     __manualExtend      = @Connector.Online.Adapter.CreateBOOL(this, "", "_manualExtend");
     __simulatedPosition = @Connector.Online.Adapter.CreateINT(this, "", "_simulatedPosition");
     AttributeName       = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
 public stAi8CH(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);
     _CH1          = @Connector.Online.Adapter.CreateINT(this, "", "CH1");
     _CH2          = @Connector.Online.Adapter.CreateINT(this, "", "CH2");
     _CH3          = @Connector.Online.Adapter.CreateINT(this, "", "CH3");
     _CH4          = @Connector.Online.Adapter.CreateINT(this, "", "CH4");
     _CH5          = @Connector.Online.Adapter.CreateINT(this, "", "CH5");
     _CH6          = @Connector.Online.Adapter.CreateINT(this, "", "CH6");
     _CH7          = @Connector.Online.Adapter.CreateINT(this, "", "CH7");
     _CH8          = @Connector.Online.Adapter.CreateINT(this, "", "CH8");
     AttributeName = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }