Skip to content

Commit

Permalink
Add more progress states (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkrull-ansys authored Aug 13, 2024
1 parent cfd509c commit 1502d50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ansys/api/additive/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0-dev0
2.1.0-dev0
11 changes: 7 additions & 4 deletions ansys/api/additive/v0/additive_domain.proto
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,13 @@ message Progress {

enum ProgressState {
PROGRESS_STATE_UNSPECIFIED = 0; // default value used in messages
PROGRESS_STATE_WAITING = 1;
PROGRESS_STATE_EXECUTING = 2;
PROGRESS_STATE_COMPLETED = 3;
PROGRESS_STATE_ERROR = 4;
PROGRESS_STATE_WAITING = 1; // simulation has been queued but not started
PROGRESS_STATE_EXECUTING = 2; // simulation is running
PROGRESS_STATE_COMPLETED = 3; // simulation has completed successfully
PROGRESS_STATE_ERROR = 4; // simulation has failed
PROGRESS_STATE_NEW = 5; // simulation has been created but not queued to run
PROGRESS_STATE_CANCELLED = 6; // simulation has been cancelled
PROGRESS_STATE_WARNING = 7; // simulation has completed with warnings
}

message Range {
Expand Down

0 comments on commit 1502d50

Please sign in to comment.