Class CompareContextsValuesSensor
Inheritance
CompareContextsValuesSensor
Assembly: Xareus.Unity.Libraries.dll
Syntax
[FunctionDescription("", new string[] { "Context" })]
public class CompareContextsValuesSensor : AInUnityStepSensor
Constructors
CompareContextsValuesSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
protected CompareContextsValuesSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Fields
VARIABLE1_ENTRY
Declaration
[EventContextEntry]
public static readonly string VARIABLE1_ENTRY
Field Value
VARIABLE2_ENTRY
Declaration
[EventContextEntry]
public static readonly string VARIABLE2_ENTRY
Field Value
VARIABLE_1
Declaration
public const string VARIABLE_1 = "Left Variable"
Field Value
VARIABLE_2
Declaration
public const string VARIABLE_2 = "Right Variable"
Field Value
variable1
Declaration
[ContextVariable("Left Variable", "")]
protected ContextVariable<object> variable1
Field Value
variable2
Declaration
[ContextVariable("Left Variable", "")]
protected ContextVariable<object> variable2
Field Value
Methods
SafeReset()
Reset a sensor. Note that this code will be executed in unity's thread and the declared parameters (using the ConfigurationParameter attribute) are already filled
Declaration
public override void SafeReset()
Overrides
UnityStepSensorCheck()
This method is called at each selected Unity execution step in Unity's thread. The Unity execution steps used depend on the ExecutionStep property
Declaration
public override ASensor.Result UnityStepSensorCheck()
Returns
Overrides