Skip to main content

ResourceStatus

Enumeration of valid resource statuses.

Defines the possible states a resource can be in during operations, helping track resource availability and utilization.

Values

ValueDescription
WAITResource is available but waiting for next task
LOADResource is currently loading materials or products
UNLOADResource is currently unloading materials or products
IDLEResource is available but not actively working
WORKINGResource is actively performing an assigned task
FAILEDResource has encountered an error or malfunction
CHARGINGResource is recharging or refueling

Usage Example

from omm import ResourceStatus

# Access enum value
value = ResourceStatus.WAIT

# Value comparison
if value == ResourceStatus.WAIT:
print(f'Value is WAIT')