Represents a processed CNC part in a production protocol, including executed program information and timing data.
Inherits from: ProcessedPart
Example
{
"type": "ProcessedPartCnc",
"identifier": "10",
"description": "Side Panel Left",
"programName": "Drilling_Main.mpr",
"programDuration": "00:03:12",
"preview": "https://example.com/previews/part-10.png",
"startedAt": "2025-01-20T14:32:10+00:00",
"completedAt": "2025-01-20T14:35:22+00:00"
}
Properties
| Property | Type | Description | Details |
|---|---|---|---|
Category |
ProcessedItemCategory |
Category of the processing: planned, rework, or unplanned. Defaults to Planned. | Default: PlannedExample: Planned |
CompletedAt |
DateTimeOffset? |
Date and time the CNC program execution completed. Optional. | Format: {0:g}Example: 2025-01-20T14:35:22+00:00 |
CustomerName |
string |
Name of the customer of the order. Optional. | Example: Miller |
Description |
string |
Description of the processed item. Optional. | Example: Side Panel Left |
From |
string |
Source of the processing information, for example the workstation or system name. Optional. | Example: productionAssist Cutting |
Grain |
Grain |
Grain direction. Supported values: None, Lengthwise, Crosswise. | Example: Lengthwise |
Identifier |
string |
Identifier of the processed item, for example its position number or barcode. Optional. | Example: 10 |
ItemType |
ProductionItemType |
Type of the production item that was processed. The value is determined by the concrete processed item type; a value sent by the consumer is ignored. The base type reports Unknown. | Example: Part |
Length |
number? |
Length of the part or board; null represents an unspecified measurement. | Value 0.1 to 19999.9 Unit for Metric: mm. Unit for Imperial: inch. Example: 2800 |
Material |
string |
Material code. Maximum length is 50 characters. | Length 1 to 50 Example: P2_White_19.0 |
MaterialThumbnail |
Uri |
URI of a thumbnail image of the part's material. Optional. | Example: https://example.com/materials/boards/P2_Gold_Craft_Oak_19.0.png |
OrderName |
string |
Name of the order the item belongs to. Optional. | Example: Kitchen_4711 |
OrderNumber |
string |
Number of the order the item belongs to. Optional. | Example: 4711 |
Preview |
Uri |
URL of a preview image of the part. Optional. | Example: https://example.com/previews/part-10.png |
ProgramDuration |
TimeSpan? |
Duration of the CNC program execution for the part, as a time span. Optional. | Example: 00:03:12 |
ProgramName |
string |
Name of the CNC program executed for the part. Optional. | Example: Drilling_Main.mpr |
Quantity |
integer? |
Number of pieces processed. Optional. | Min value 0 Example: 4 |
StartedAt |
DateTimeOffset? |
Date and time the CNC program execution started. Optional. | Format: {0:g}Example: 2025-01-20T14:32:10+00:00 |
SubscriptionId |
Guid |
Identifier of the subscription the processed item belongs to. | Example: 11111111-2222-3333-4444-555555555555 |
Thickness |
number? |
Material thickness of the part or board; null represents an unspecified measurement. | Value 0.1 to 9999.9 Unit for Metric: mm. Unit for Imperial: inch. Example: 19.0 |
Timestamp |
DateTimeOffset |
Date and time the item was processed. | Format: {0:g}Example: 2025-01-20T14:32:10+00:00 |
Type |
ProcessedItemType |
Discriminator that selects the concrete processed item contract when deserializing. Defaults to ProcessedItem. | Default: ProcessedItemExample: ProcessedPart |
UnitSystem |
UnitSystem |
Unit system used for properties marked with ValueDependsOnUnitSystemAttribute. Use Metric for metric units (for example mm) and Imperial for imperial units (for example inches). | Default: MetricExample: Metric |
Width |
number? |
Width of the part or board; null represents an unspecified measurement. | Value 0.1 to 9999.9 Unit for Metric: mm. Unit for Imperial: inch. Example: 2070 |
WorkstationId |
Guid |
Unique identifier of the workstation where the item was processed. | Example: 6f9619ff-8b86-d011-b42d-00cf4fc964ff |
AdditionalProperties |
object |
Additional properties that are not part of the standard contract. Optional. Any JSON property not mapped to a typed member is captured here. | Example: { "machine": "SAWTEQ B-300" } |
Package: HomagGroup.HomagConnect.ProductionManager.Contracts 2.2.5-preview.98
Source: ProcessedPartCnc.cs
Samples: ProductionManager samples
