This class is mostly meant as an example of an effector that does not complete instantly
Assembly: Xareus.Scenarios.Extra.dll
[Renamed("SEVEN.Time.WaitEffector", "SEVEN.Extra")]
public class WaitEffector : AEffector
Constructors
Declaration
protected WaitEffector(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext, IContext eventContext)
Parameters
Fields
minimum time before triggering (in units).
Declaration
[ConfigurationParameter("delay", "time before finishing the effector (in units). The time is a lower bound. Real time depends on the scenario update frequency.", Necessity.Required)]
protected double Time
Field Value
time unit used (eg: second, minute)
Declaration
[ConfigurationParameter("unit", TimeUnit.SECOND, "time unit used (eg: second, minute). default : second", Necessity.Optional)]
protected TimeUnit Unit
Field Value
Declaration
protected DateTime expectedDateTime
Field Value
Properties
Declaration
public DateTime EffectorInitializationDateTime { get; protected set; }
Property Value
Is the effector finished processing ?
Declaration
public override bool Finished { get; }
Property Value
Overrides
Methods
Applies a processing as soon as the event occurs.
Declaration
public override void EffectorUpdate()
Overrides