Represents a cutting duration prediction. Inherits the predicted duration, minimum duration, maximum duration, and prediction method from PredictionBase.
Inherits from: PredictionBase
Example
{
"duration": "00:08:45",
"durationMin": "00:07:30",
"durationMax": "00:10:15",
"predictionBase": [
{
"dataSourceType": "1-001-01-0001",
"duration": "00:08:45",
"durationMin": "00:07:30",
"durationMax": "00:10:15"
}
]
}
Properties
| Property | Type | Description | Details |
|---|---|---|---|
Duration |
TimeSpan |
The predicted duration. | Example: 00:12:30 |
DurationMax |
TimeSpan |
The maximum estimated duration, calculated from the upper quartile. | Example: 00:15:00 |
DurationMin |
TimeSpan |
The minimum estimated duration, calculated from the lower quartile. | Example: 00:10:00 |
PredictionBase |
PredictionBaseData[] |
The machine-specific prediction data used as the basis for the aggregated cutting prediction. Machine identifiers use the format x-xxx-xx-xxxx. | Example: [ { "dataSourceType": "1-001-01-0001", "duration": "00:08:45", "durationMin": "00:07:30", "durationMax": "00:10:15" } ] |
PredictionMethod |
PredictionMethod |
The method used to calculate the prediction. Supported values include Machine, MachineGroup, Workplace, WorkplaceGroup, and Global. | Example: Machine |
AdditionalProperties |
object? |
Additional custom properties configured in the application. | Example: { "customField1": "value1" } |
Usage in the API
Input: The caller sends the type to the API. Output: The API returns the type.
| Method | Endpoint | Usage of the type |
|---|---|---|
| POST | /api/productionManager/predict/cutting |
Output |
Package: HomagGroup.HomagConnect.ProductionManager.Contracts 2.2.5-preview.98
Source: CuttingPrediction.cs
Samples: ProductionManager samples
