mirror of
https://github.com/C9Glax/tranga.git
synced 2025-04-18 14:23:18 +02:00
JobState set enum to bytes with fixed values
This commit is contained in:
parent
d257095885
commit
8a0829ef69
@ -1,8 +1,13 @@
|
|||||||
namespace API.Schema.Jobs;
|
namespace API.Schema.Jobs;
|
||||||
|
|
||||||
public enum JobState
|
public enum JobState : byte
|
||||||
{
|
{
|
||||||
Waiting,
|
//Values 0-63 Preparation Stages
|
||||||
Running,
|
Waiting = 0,
|
||||||
Completed
|
//64-127 Running Stages
|
||||||
|
Running = 64,
|
||||||
|
//128-191 Completion Stages
|
||||||
|
Completed = 128,
|
||||||
|
//192-255 Error stages
|
||||||
|
Failed = 192
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user