namespace NSwarm { enum TJobTaskState { JOB_STATE_INVALID = 0x00000001, JOB_STATE_IDLE = 0x00000002, JOB_STATE_READY = 0x00000003, JOB_STATE_RUNNING = 0x00000004, JOB_STATE_COMPLETE_SUCCESS = 0x00000005, JOB_STATE_COMPLETE_FAILURE = 0x00000006, JOB_STATE_KILLED = 0x00000007, JOB_TASK_STATE_INVALID = 0x00000011, JOB_TASK_STATE_IDLE = 0x00000012, JOB_TASK_STATE_ACCEPTED = 0x00000013, JOB_TASK_STATE_REJECTED = 0x00000014, JOB_TASK_STATE_RUNNING = 0x00000015, JOB_TASK_STATE_COMPLETE_SUCCESS = 0x00000016, JOB_TASK_STATE_COMPLETE_FAILURE = 0x00000017, JOB_TASK_STATE_KILLED = 0x00000018, } }