OperationProgress
Type: Object
A print operation progress record tracks the progress of an operation, including the current status, percentage completed, and any errors encountered. It is intended as a write-only log, and thus an entry cannot be updated, an update is simply creating a new entry with the updated information.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| component | Component! | The component this progress record is associated with | ||
| componentId | ID! | |||
| deadline | DateTime | The deadline for the operation, if applicable. | ||
| id | ID! | |||
| operation | Operation | The operation this progress record is associated with | ||
| operationId | ID | |||
| progress | Float | The progress of completion for the operation in units provided by the unit attribute. | ||
| resource | Resource | The resource that this progress record is associated with | ||
| resourceId | ID | |||
| state | PrintJobStatusEnum | The current status of the operation, e.g., 'in_progress', 'completed', 'failed'. | ||
| stateSince | DateTime | The timestamp when the current state was set. | ||
| targetProduction | Float | The target production quantity for the operation, in the same units as unit. | ||
| timePlanned | Int | The planned time for the operation in seconds. | ||
| timeRemaining | Int | The estimated time remaining for the operation in seconds. | ||
| timeSpent | Int | The time spent on the operation in seconds. | ||
| timestamp | DateTime | The timestamp when the progress record was created or last updated. | ||
| unit | String | The unit of measurement for the progress, e.g., 'mm', 'cm', 'inches'. | ||
| waste | Float | The amount of waste generated during the operation, in the same units as unit. |