This structure contains meta data of a result, describing the result. The structure is defined in Table 27.
Table 27 – ResultMetaDataType Structure
Name |
Type |
Description |
Optional |
ResultMetaDataType |
structure |
|
|
ResultId |
0:TrimmedString |
System-wide unique identifier, which is assigned by the system. This ID can be used for fetching exactly this result using the method GetResultById and it is identical to the ResultId of the ResultReadyEventType. If the system does not manage ResultIds, it should always be set to “NA”. |
False |
HasTransferableDataOnFile |
0:Boolean |
Indicates that additional data for this result can be retrieved by temporary file transfer. If not provided, it is assumed that no file is available. |
True |
IsPartial |
0:Boolean |
Indicates whether the result is the partial result of a total result. When not all samples are finished yet the result is 'partial'. If not provided, it is assumed to be a total result. |
True |
IsSimulated |
0:Boolean |
Indicates whether the result was created in simulation mode. Simulation mode implies that the result is only generated for testing purposes and not based on real production data. If not provided, it is assumed to not be simulated. |
True |
ResultState |
0:Int32 |
ResultState provides information about the current state of the process or measurement creating a result. Applications may use negative values for application-specific states. All other values shall only be used as defined in the following: 0 – Undefined initial value 1 – Completed: Processing was carried out completely 2 – Processing: Processing has not been finished yet 3 – Aborted: Processing was stopped at some point before completion 4 – Failed: Processing failed in some way. |
True |
StepId |
0:TrimmedString |
Identifies the step which produced the result. Although the system-wide unique JobId would be sufficient to identify the job which the result belongs to, this makes for easier filtering without keeping track of JobIds. This specification does not define how the StepId is transmitted to the system. Typically, it is provided by the Client when starting an execution. |
True |
PartId |
0:TrimmedString |
Identifies the part used to produce the result. Although the system-wide unique JobId would be sufficient to identify the job which the result belongs to, this makes for easier filtering without keeping track of JobIds. This specification does not define how the PartId is transmitted to the system. Typically, it is provided by the Client when starting the job. |
True |
ExternalRecipeId |
0:TrimmedString |
External ID of the recipe in use which produced the result. The External ID is managed by the environment. This specification does not define how the ExternalRecipeId is transmitted to the system. Typically, it is provided by the Client. |
True |
InternalRecipeId |
0:TrimmedString |
Internal ID of the recipe in use which produced the result. This ID is system-wide unique and it is assigned by the system. |
True |
ProductId |
0:TrimmedString |
Identifies the product used to produce the result. This specification does not define how the productId is transmitted to the system. Typically, it is provided by the Client. |
True |
ExternalConfigurationId |
0:TrimmedString |
External ID of the Configuration in use while the result was produced. It is managed by the Environment. This specification does not define how the ExternalConfigurationId is transmitted to the system. Typically, it is provided by the Client. |
True |
InternalConfigurationId |
0:TrimmedString |
Internal ID of the Configuration in use while the result was produced. This ID is system-wide unique and it is assigned by the system. |
True |
JobId |
0:TrimmedString |
Identifies the job which produced the result. This ID is system-wide unique and it is assigned by the system. |
True |
CreationTime |
0:UtcTime |
CreationTime indicates the time when the result was created. Creation time on the measurement system (not the receive time of the Server). It is recommended to always provide the CreationTime. |
True |
ProcessingTimes |
ProcessingTimesDataType |
Collection of different processing times that were needed to create the result. |
True |
ResultUri |
0:UriString[] |
Path to the actual measured result, managed external to the Server. |
True |
ResultEvaluation |
ResultEvaluationEnum |
The ResultEvaluation indicates whether the result was in tolerance. |
True |
ResultEvaluationCode |
0:Int64 |
Vendor-specific code describing more details on ResultEvaluation. |
True |
ResultEvaluationDetails |
0:LocalizedText |
The ResultEvaluationDetails provides high level status information in a user-friendly text. This can be left empty for successful operations. |
True |
FileFormat |
0:String[] |
The format in which the measurement results are available (e.g. QDAS, CSV, …) using the ResultTransfer Object. If multiple file formats are provided, the GenerateFileForRead of ResultTransfer should contain corresponding generateOptions, to select the file format. This specification does not define those generateOptions. |
True |
Its representation in the AddressSpace is defined in Table 28.
Table 28 – ResultMetaDataType Definition
Attribute |
Value |
||||
BrowseName |
ResultMetaDataType |
||||
IsAbstract |
False |
||||
Description |
Meta data of a result, describing the result. |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Other |
Subtype of 0:Structure defined in OPC 10000-5 |
|||||
Conformance Units |
|||||
Machinery-Result Types |