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 stForecast()
 {
     PexPreConstructorParameterless();
     _timeFrom              = Vortex.Connector.IConnectorFactory.CreateDATE_TIME();
     _timeTo                = Vortex.Connector.IConnectorFactory.CreateDATE_TIME();
     _precipitation_unit    = Vortex.Connector.IConnectorFactory.CreateSTRING();
     _precipitation_value   = Vortex.Connector.IConnectorFactory.CreateREAL();
     _precipitation_type    = Vortex.Connector.IConnectorFactory.CreateSTRING();
     _windDirection_value   = Vortex.Connector.IConnectorFactory.CreateREAL();
     _windDirection_name    = Vortex.Connector.IConnectorFactory.CreateSTRING();
     _windSpeed_value       = Vortex.Connector.IConnectorFactory.CreateREAL();
     _windSpeed_unit        = Vortex.Connector.IConnectorFactory.CreateSTRING();
     _windSpeed_name        = Vortex.Connector.IConnectorFactory.CreateSTRING();
     _temperature_value     = Vortex.Connector.IConnectorFactory.CreateREAL();
     _temperature_unit      = Vortex.Connector.IConnectorFactory.CreateSTRING();
     _temperature_min       = Vortex.Connector.IConnectorFactory.CreateREAL();
     _temperature_max       = Vortex.Connector.IConnectorFactory.CreateREAL();
     _temperature_feel_like = Vortex.Connector.IConnectorFactory.CreateREAL();
     _pressure_value        = Vortex.Connector.IConnectorFactory.CreateREAL();
     _pressure_unit         = Vortex.Connector.IConnectorFactory.CreateSTRING();
     _humidity_value        = Vortex.Connector.IConnectorFactory.CreateREAL();
     _humidity_UNIT         = Vortex.Connector.IConnectorFactory.CreateSTRING();
     AttributeName          = "";
     PexConstructorParameterless();
 }
 public structWeatherStation()
 {
     PexPreConstructorParameterless();
     _StationICAO = Vortex.Connector.IConnectorFactory.CreateSTRING();
     StationICAO.AttributeName   = "<#Station name (ICAO)#>";
     _StationStatus              = Vortex.Connector.IConnectorFactory.CreateINT();
     StationStatus.AttributeName = "<#Station status#>";
     _DewPoint = Vortex.Connector.IConnectorFactory.CreateREAL();
     DewPoint.AttributeName  = "<#Dew Point#>";
     DewPoint.AttributeUnits = "°C";
     _Pressure = Vortex.Connector.IConnectorFactory.CreateREAL();
     Pressure.AttributeName  = "<#Pressure#>";
     Pressure.AttributeUnits = "Torr";
     _Temp = Vortex.Connector.IConnectorFactory.CreateREAL();
     Temp.AttributeName         = "<#Temperature#>";
     Temp.AttributeUnits        = "°C";
     _Visibility                = Vortex.Connector.IConnectorFactory.CreateREAL();
     Visibility.AttributeName   = "<#Visibility#>";
     Visibility.AttributeUnits  = "km";
     _WindHeading               = Vortex.Connector.IConnectorFactory.CreateUINT();
     WindHeading.AttributeName  = "<#Wind heading#>";
     WindHeading.AttributeUnits = "Azimuth";
     _WindSpeed = Vortex.Connector.IConnectorFactory.CreateREAL();
     WindSpeed.AttributeName  = "<#Wind speed#>";
     WindSpeed.AttributeUnits = "m/s";
     AttributeName            = "";
     PexConstructorParameterless();
 }
 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 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);
 }
Esempio n. 6
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);
 }
Esempio n. 7
0
 public fbValueSimulation()
 {
     PexPreConstructorParameterless();
     _MinValue     = Vortex.Connector.IConnectorFactory.CreateREAL();
     _MaxValue     = Vortex.Connector.IConnectorFactory.CreateREAL();
     _Value        = Vortex.Connector.IConnectorFactory.CreateREAL();
     AttributeName = "";
     PexConstructorParameterless();
 }
 public stContinuosValueData()
 {
     PexPreConstructorParameterless();
     _Mininum = Vortex.Connector.IConnectorFactory.CreateREAL();
     Mininum.AttributeName  = "<#Min#>";
     _Measured              = Vortex.Connector.IConnectorFactory.CreateREAL();
     Measured.AttributeName = "<#Aquired#>";
     _Maximum = Vortex.Connector.IConnectorFactory.CreateREAL();
     Maximum.AttributeName = "<#Max#>";
     AttributeName         = "";
     PexConstructorParameterless();
 }
Esempio n. 9
0
 public stRoomData()
 {
     PexPreConstructorParameterless();
     _Temperature = Vortex.Connector.IConnectorFactory.CreateREAL();
     Temperature.AttributeName = "<#Actual room temperature °C#>";
     _Humidity = Vortex.Connector.IConnectorFactory.CreateREAL();
     Humidity.AttributeName = "<#Actual room humidity %#>";
     _VOC = Vortex.Connector.IConnectorFactory.CreateREAL();
     VOC.AttributeName = "<#Actual room VOC %#>";
     _CO2 = Vortex.Connector.IConnectorFactory.CreateREAL();
     CO2.AttributeName = "<#Actual room CO2 concentration ppm#>";
     AttributeName     = "";
     PexConstructorParameterless();
 }
 public fbDrive()
 {
     PexPreConstructorParameterless();
     _Position = Vortex.Connector.IConnectorFactory.CreateLREAL();
     Position.AttributeName  = "Position";
     Position.AttributeUnits = "nm";
     _Speed = Vortex.Connector.IConnectorFactory.CreateLREAL();
     Speed.AttributeName  = "Speed";
     Speed.AttributeUnits = "mm/s";
     _Acc = Vortex.Connector.IConnectorFactory.CreateREAL();
     Acc.AttributeName  = "Acceleration";
     Acc.AttributeUnits = "mm/s^2";
     _Dcc = Vortex.Connector.IConnectorFactory.CreateREAL();
     Dcc.AttributeName  = "Deceleration";
     Dcc.AttributeUnits = "mm/s^2";
     AttributeName      = "";
     PexConstructorParameterless();
 }
Esempio n. 11
0
 public fbValueSimulation(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.CreateREAL(this, "", "MinValue");
     _MaxValue     = @Connector.Online.Adapter.CreateREAL(this, "", "MaxValue");
     _Value        = @Connector.Online.Adapter.CreateREAL(this, "", "Value");
     AttributeName = "";
     parent.AddChild(this);
     parent.AddKid(this);
     PexConstructor(parent, readableTail, symbolTail);
 }
 public stComponents()
 {
     PexPreConstructorParameterless();
     __pneumatics    = new stPneumatics();
     __inputConveyor = new fbStepConveyor();
     __inputConveyor.AttributeName          = "<#Input step conveyor#> A4";
     __BrickInTakeOffPosition               = new fbDigitalSensor();
     __BrickInTakeOffPosition.AttributeName = "<#Brick in the take-off position#>";
     __BrickInGripper = new fbDigitalSensor();
     __BrickInGripper.AttributeName = "<#Brick in the gripper#>";
     __X_DimSensor = Vortex.Connector.IConnectorFactory.CreateREAL();
     _X_DimSensor.AttributeName = "<#Sensor dim X#>";
     __Y_DimSensor = Vortex.Connector.IConnectorFactory.CreateREAL();
     _Y_DimSensor.AttributeName = "<#Sensor dim Y#>";
     __Z_DimSensor = Vortex.Connector.IConnectorFactory.CreateREAL();
     _Z_DimSensor.AttributeName = "<#Sensor dim Z#>";
     AttributeName = "<#Components#>";
     PexConstructorParameterless();
 }
 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);
 }
Esempio n. 14
0
 public stRoomData()
 {
     PexPreConstructorParameterless();
     _Temperature = Vortex.Connector.IConnectorFactory.CreateREAL();
     Temperature.AttributeName = "<#Actual room temperature °C#>";
     _Humidity = Vortex.Connector.IConnectorFactory.CreateREAL();
     Humidity.AttributeName = "<#Actual room humidity %#>";
     _VOC = Vortex.Connector.IConnectorFactory.CreateREAL();
     VOC.AttributeName = "<#Actual room VOC %#>";
     _CO2 = Vortex.Connector.IConnectorFactory.CreateREAL();
     CO2.AttributeName = "<#Actual room CO2 concentration ppm#>";
     _AbsoluteHumidity = Vortex.Connector.IConnectorFactory.CreateREAL();
     AbsoluteHumidity.AttributeName = "<#Actual room absolute humidity g/m3#>";
     _Enthalpy = Vortex.Connector.IConnectorFactory.CreateREAL();
     Enthalpy.AttributeName = "<#Actual room enthalpy kJ/k#>";
     _DewPoint = Vortex.Connector.IConnectorFactory.CreateREAL();
     DewPoint.AttributeName   = "<#Actual room dew point °C#>";
     _CO2VOC_MIX              = Vortex.Connector.IConnectorFactory.CreateREAL();
     CO2VOC_MIX.AttributeName = "<#Actual room CO2 VOC mix#>";
     AttributeName            = "";
     PexConstructorParameterless();
 }
Esempio n. 15
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);
 }