States of OcaTask object. State values change as a result of the object's having received a comment or encountering processing events (e.g. completion).
static
readonly
OcaEnumItem None
= 0
No (invalid) encoding.
static
readonly
OcaEnumItem NotPrepared
= 1
Task is constructed but not initialized.
static
readonly
OcaEnumItem Disabled
= 2
Task is initialized but not available to run.
static
readonly
OcaEnumItem Enabled
= 3
Task is available for running.
static
readonly
OcaEnumItem Running
= 4
Task is running.
static
readonly
OcaEnumItem Completed
= 5
Task has terminated successfully.
static
readonly
OcaEnumItem Failed
= 6
Task has terminated unsuccessfully.
static
readonly
OcaEnumItem Stopped
= 7
Task was gracefully stopped by a Stop command.
static
readonly
OcaEnumItem Aborted
= 8
Task was forcibly terminated by an Abort command.
OCP.1 Encoding
Basic type | Byte Length |
OcaEnumItem | 1 |