/// <summary> /// Abstract base class for XMPP actors with custom endpoint. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> /// <param name="InstanceIndex">Instance index.</param> /// <param name="InstanceId">ID of instance</param> public XmppActorEndpoint(ISimulationNode Parent, Model Model, int InstanceIndex, string InstanceId) : base(Parent, Model, InstanceIndex, InstanceId) { }
/// <summary> /// Defines an argument in an action. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> /// <param name="Name">Name of argument.</param> /// <param name="Value">Argument value.</param> public Argument(ISimulationNode Parent, Model Model, string Name, TimeSpan Value) : base(Parent, Model) { this.name = Name; this.AddChild(new Time(this, Model, Value)); }
/// <summary> /// Defines an argument in an action. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public Argument(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Sets a variable value when an event is triggered. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public SetVariable(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Synchronization Client XMPP extension /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public SynchronizationClientExtension(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Sends a custom IQ response to a recipient /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public Respond(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Controls an actuator by setting control parameters. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public ControlActuator(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Creates a new instance of the node. /// </summary> /// <param name="Parent">Parent node.</param> /// <param name="Model">Model in which the node is defined.</param> /// <returns>New instance</returns> public override ISimulationNode Create(ISimulationNode Parent, Model Model) { return(new CombinedSampleGraph(Parent, Model)); }
/// <summary> /// Decrements a counter. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public Dec(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Creates a new instance of the node. /// </summary> /// <param name="Parent">Parent node.</param> /// <param name="Model">Model in which the node is defined.</param> /// <returns>New instance</returns> public override ISimulationNode Create(ISimulationNode Parent, Model Model) { return(new Otherwise(Parent, Model)); }
/// <summary> /// Combines sample graphs /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public CombinedSampleGraph(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Represents a condition that is always true. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public Otherwise(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Creates a new instance of the node. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> /// <returns>New instance</returns> public override ISimulationNode Create(ISimulationNode Parent, Model Model) { return(new Measurements(Parent, Model)); }
/// <summary> /// Container for measurement configuration. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public Measurements(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Stochastic Event /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public StochasticEvent(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Reports sensor data fields. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public ReportFields(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Creates a new instance of the node. /// </summary> /// <param name="Parent">Parent node.</param> /// <param name="Model">Model in which the node is defined.</param> /// <returns>New instance</returns> public override ISimulationNode Create(ISimulationNode Parent, Model Model) { return(new StochasticEvent(Parent, Model)); }
/// <summary> /// Creates a new instance of the node. /// </summary> /// <param name="Parent">Parent node.</param> /// <param name="Model">Model in which the node is defined.</param> /// <returns>New instance</returns> public override ISimulationNode Create(ISimulationNode Parent, Model Model) { return(new ReportFields(Parent, Model)); }
/// <summary> /// Creates a new instance of the node. /// </summary> /// <param name="Parent">Parent node.</param> /// <param name="Model">Model in which the node is defined.</param> /// <returns>New instance</returns> public override ISimulationNode Create(ISimulationNode Parent, Model Model) { return(new Respond(Parent, Model)); }
/// <summary> /// While Loop construct /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public While(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Creates a new instance of the node. /// </summary> /// <param name="Parent">Parent node.</param> /// <param name="Model">Model in which the node is defined.</param> /// <returns>New instance</returns> public override ISimulationNode Create(ISimulationNode Parent, Model Model) { return(new ControlActuator(Parent, Model)); }
/// <summary> /// Abstract base class for XMPP extensions. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public XmppExtension(ISimulationNode Parent, Model Model) : this(Parent, Model, 0, string.Empty) { }
/// <summary> /// Creates a new instance of the node. /// </summary> /// <param name="Parent">Parent node.</param> /// <param name="Model">Model in which the node is defined.</param> /// <returns>New instance</returns> public override ISimulationNode Create(ISimulationNode Parent, Model Model) { return(new SetVariable(Parent, Model)); }
/// <summary> /// Abstract base class for XMPP extensions. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> /// <param name="InstanceIndex">Instance index.</param> /// <param name="InstanceId">ID of instance</param> public XmppExtension(ISimulationNode Parent, Model Model, int InstanceIndex, string InstanceId) : base(Parent, Model) { this.instanceIndex = InstanceIndex; this.instanceId = InstanceId; }
/// <summary> /// Creates a new instance of the node. /// </summary> /// <param name="Parent">Parent node.</param> /// <param name="Model">Model in which the node is defined.</param> /// <returns>New instance</returns> public override ISimulationNode Create(ISimulationNode Parent, Model Model) { return(new SynchronizationClientExtension(Parent, Model)); }
/// <summary> /// Chi-square distribution /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public ChiSquare(ISimulationNode Parent, Model Model) : base(Parent, Model) { }
/// <summary> /// Creates a new instance of the node. /// </summary> /// <param name="Parent">Parent node.</param> /// <param name="Model">Model in which the node is defined.</param> /// <returns>New instance</returns> public override ISimulationNode Create(ISimulationNode Parent, Model Model) { return(new Argument(Parent, Model)); }
/// <summary> /// Creates a new instance of the node. /// </summary> /// <param name="Parent">Parent node.</param> /// <param name="Model">Model in which the node is defined.</param> /// <returns>New instance</returns> public override ISimulationNode Create(ISimulationNode Parent, Model Model) { return(new ChiSquare(Parent, Model)); }
/// <summary> /// Defines an argument in an action. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> /// <param name="Name">Name of argument.</param> /// <param name="Value">Argument value.</param> public Argument(ISimulationNode Parent, Model Model, string Name, Waher.Script.Expression Value) : base(Parent, Model) { this.name = Name; this.AddChild(new Script(this, Model, Value)); }
/// <summary> /// Abstract base class for XMPP actors with custom endpoint. /// </summary> /// <param name="Parent">Parent node</param> /// <param name="Model">Model in which the node is defined.</param> public XmppActorEndpoint(ISimulationNode Parent, Model Model) : base(Parent, Model) { }