mirror of
https://github.com/C9Glax/tranga.git
synced 2025-04-14 04:13: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;
|
||||
|
||||
public enum JobState
|
||||
public enum JobState : byte
|
||||
{
|
||||
Waiting,
|
||||
Running,
|
||||
Completed
|
||||
//Values 0-63 Preparation Stages
|
||||
Waiting = 0,
|
||||
//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