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 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); }
public stAi4CH() { PexPreConstructorParameterless(); _CH1 = Vortex.Connector.IConnectorFactory.CreateINT(); _CH2 = Vortex.Connector.IConnectorFactory.CreateINT(); _CH3 = Vortex.Connector.IConnectorFactory.CreateINT(); _CH4 = Vortex.Connector.IConnectorFactory.CreateINT(); AttributeName = ""; PexConstructorParameterless(); }
public stTreeStruct() { PexPreConstructorParameterless(); _One = Vortex.Connector.IConnectorFactory.CreateBOOL(); _Two = Vortex.Connector.IConnectorFactory.CreateBOOL(); _Another = Vortex.Connector.IConnectorFactory.CreateSTRING(); _ThisOne = Vortex.Connector.IConnectorFactory.CreateSTRING(); _ANumberWouldBeCool = Vortex.Connector.IConnectorFactory.CreateINT(); _Bools = new stBools(); AttributeName = ""; PexConstructorParameterless(); }
public fbIntValueSimulation() { PexPreConstructorParameterless(); _MinValue = Vortex.Connector.IConnectorFactory.CreateINT(); _MaxValue = Vortex.Connector.IConnectorFactory.CreateINT(); _p1 = Vortex.Connector.IConnectorFactory.CreateINT(); _p2 = Vortex.Connector.IConnectorFactory.CreateINT(); _pm = Vortex.Connector.IConnectorFactory.CreateINT(); _x0 = Vortex.Connector.IConnectorFactory.CreateINT(); AttributeName = ""; PexConstructorParameterless(); }
public fbPneumaticActuator() { PexPreConstructorParameterless(); _inRetracted = Vortex.Connector.IConnectorFactory.CreateBOOL(); _inExtended = Vortex.Connector.IConnectorFactory.CreateBOOL(); _outRetract = Vortex.Connector.IConnectorFactory.CreateBOOL(); _outExtend = Vortex.Connector.IConnectorFactory.CreateBOOL(); __manualRetract = Vortex.Connector.IConnectorFactory.CreateBOOL(); __manualExtend = Vortex.Connector.IConnectorFactory.CreateBOOL(); __simulatedPosition = Vortex.Connector.IConnectorFactory.CreateINT(); AttributeName = ""; PexConstructorParameterless(); }
public fbStation() { PexPreConstructorParameterless(); __modeSelector = Vortex.Connector.IConnectorFactory.CreateINT(); _modeSelector.AttributeName = "<#Select mode#>"; __modeCurrent = Vortex.Connector.IConnectorFactory.CreateINT(); _modeCurrent.AttributeName = "<#CurrentMode#>"; __stepInfo = Vortex.Connector.IConnectorFactory.CreateSTRING(); _stepInfo.AttributeName = "<#Step description#>"; __errorInfo = Vortex.Connector.IConnectorFactory.CreateSTRING(); _errorInfo.AttributeName = "<#Error description#>"; __components = new stComponents(); __components.AttributeName = "<#Components#>"; __data = new stData(); __data.AttributeName = "<#Data#>"; AttributeName = ""; PexConstructorParameterless(); }
public stAi4CH(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"); AttributeName = ""; parent.AddChild(this); parent.AddKid(this); PexConstructor(parent, readableTail, symbolTail); }
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); }
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); }
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); }