Loading...
Searching...
No Matches
realvirtual.LogicStep_WaitForSensor Class Reference
Logic step that waits for a sensor to reach a specific occupation state before proceeding. More...
Inheritance diagram for realvirtual.LogicStep_WaitForSensor:

Public Attributes | |
Sensor | Sensor |
The sensor to monitor for occupation state changes. | |
bool | WaitForOccupied |
If true, waits for sensor to be occupied; if false, waits for sensor to be not occupied. | |
![]() | |
string | Name |
Name identifier for this logic step, used for jumps and debugging. | |
float | State |
Current execution state as percentage (0-100) | |
bool | StepActive |
True when this step is currently executing. | |
bool | IsWaiting |
True when this step is waiting for a condition. | |
bool | IsContainer |
True if this step is a container for other steps. | |
Protected Member Functions | |
new bool | NonBlocking () |
override void | OnStarted () |
new void | Start () |
![]() | |
void | OnStarted () |
virtual void | OnStartInit () |
void | NextStep () |
bool | NonBlocking () |
void | NextStep (string name) |
void | Start () |
Additional Inherited Members | |
![]() | |
void | StartStep () |
Starts the execution of this logic step. | |
![]() | |
bool | IsShowingRuntimeInfo [get] |
Detailed Description
Logic step that waits for a sensor to reach a specific occupation state before proceeding.
This step blocks execution until the specified sensor is either occupied or not occupied. Useful for synchronizing automation sequences with physical object detection.
Member Data Documentation
◆ Sensor
Sensor realvirtual.LogicStep_WaitForSensor.Sensor |
The sensor to monitor for occupation state changes.
◆ WaitForOccupied
bool realvirtual.LogicStep_WaitForSensor.WaitForOccupied |
If true, waits for sensor to be occupied; if false, waits for sensor to be not occupied.