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#>"; __step = @Connector.Online.Adapter.CreateINT(this, "", "_step"); __ground_done = @Connector.Online.Adapter.CreateBOOL(this, "", "_ground_done"); AttributeName = "STATION 01"; parent.AddChild(this); parent.AddKid(this); PexConstructor(parent, readableTail, symbolTail); }
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 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 fbDigitalSensor() { PexPreConstructorParameterless(); _Value = Vortex.Connector.IConnectorFactory.CreateBOOL(); Value.AttributeName = "Value"; Value.AttributeToolTip = "Sensor actual value"; AttributeName = ""; PexConstructorParameterless(); }
public prgSimple() { PexPreConstructorParameterless(); __counter = Vortex.Connector.IConnectorFactory.CreateULINT(); __counterActive = Vortex.Connector.IConnectorFactory.CreateBOOL(); __reset = Vortex.Connector.IConnectorFactory.CreateBOOL(); AttributeName = ""; PexConstructorParameterless(); }
public MAIN() { PexPreConstructorParameterless(); _WeatherData = new stWeatherData(); _bGetWeatherData = Vortex.Connector.IConnectorFactory.CreateBOOL(); _actDateTime = Vortex.Connector.IConnectorFactory.CreateDATE_TIME(); AttributeName = ""; PexConstructorParameterless(); }
public stBools() { PexPreConstructorParameterless(); _BoolOne = Vortex.Connector.IConnectorFactory.CreateBOOL(); _BoolTwo = Vortex.Connector.IConnectorFactory.CreateBOOL(); _BoolThree = Vortex.Connector.IConnectorFactory.CreateBOOL(); _BoolFive = Vortex.Connector.IConnectorFactory.CreateBOOL(); 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 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 fbStepConveyor() { PexPreConstructorParameterless(); _inStop = Vortex.Connector.IConnectorFactory.CreateBOOL(); inStop.AttributeName = "Stop condition"; inStop.AttributeToolTip = "Signal that stops the conveyor"; _outMove = Vortex.Connector.IConnectorFactory.CreateBOOL(); outMove.AttributeName = "Move"; outMove.AttributeToolTip = "Signal for moving conveyor"; __manualMove = Vortex.Connector.IConnectorFactory.CreateBOOL(); _manualMove.AttributeName = "Move manual command"; _manualMove.AttributeToolTip = "Triggers movement in manual mode if possible"; AttributeName = ""; PexConstructorParameterless(); }
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); }
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); }
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); }
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#>"; __step = Vortex.Connector.IConnectorFactory.CreateINT(); __ground_done = Vortex.Connector.IConnectorFactory.CreateBOOL(); AttributeName = "STATION 01"; PexConstructorParameterless(); }
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 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 fbPneumaticActuator() { PexPreConstructorParameterless(); _inRetracted = Vortex.Connector.IConnectorFactory.CreateBOOL(); inRetracted.AttributeName = "Retracted"; inRetracted.AttributeToolTip = "Sensor indicating that the actuator is retracted"; _inExtended = Vortex.Connector.IConnectorFactory.CreateBOOL(); inExtended.AttributeName = "Extend"; inExtended.AttributeToolTip = "Sensor indicating that the actuator is extended"; _outRetract = Vortex.Connector.IConnectorFactory.CreateBOOL(); outRetract.AttributeName = "Retract"; outRetract.AttributeToolTip = "Signal for retracting"; _outExtend = Vortex.Connector.IConnectorFactory.CreateBOOL(); outExtend.AttributeName = "Extend"; outExtend.AttributeToolTip = "Signal for Extending"; __manualRetract = Vortex.Connector.IConnectorFactory.CreateBOOL(); _manualRetract.AttributeName = "Manual Retract"; _manualRetract.AttributeToolTip = "Executes retraction in manual mode"; __manualExtend = Vortex.Connector.IConnectorFactory.CreateBOOL(); _manualExtend.AttributeName = "Manual Extend"; _manualExtend.AttributeToolTip = "Executes extension in manual mode"; AttributeName = ""; PexConstructorParameterless(); }