node-opcua-nodeset-machine-vision 2.75.0 → 2.77.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/dist/dt_binary_id_base.d.ts +8 -5
  2. package/dist/dt_binary_id_base.js +1 -0
  3. package/dist/dt_binary_id_base.js.map +1 -1
  4. package/dist/dt_configuration.d.ts +5 -2
  5. package/dist/dt_configuration.js +1 -0
  6. package/dist/dt_configuration.js.map +1 -1
  7. package/dist/dt_configuration_id.d.ts +8 -5
  8. package/dist/dt_configuration_id.js +1 -0
  9. package/dist/dt_configuration_id.js.map +1 -1
  10. package/dist/dt_configuration_transfer_options.d.ts +3 -0
  11. package/dist/dt_configuration_transfer_options.js +1 -0
  12. package/dist/dt_configuration_transfer_options.js.map +1 -1
  13. package/dist/dt_job_id.d.ts +3 -0
  14. package/dist/dt_job_id.js +1 -0
  15. package/dist/dt_job_id.js.map +1 -1
  16. package/dist/dt_meas_id.d.ts +4 -1
  17. package/dist/dt_meas_id.js +1 -0
  18. package/dist/dt_meas_id.js.map +1 -1
  19. package/dist/dt_part_id.d.ts +4 -1
  20. package/dist/dt_part_id.js +1 -0
  21. package/dist/dt_part_id.js.map +1 -1
  22. package/dist/dt_processing_times.d.ts +5 -2
  23. package/dist/dt_processing_times.js +1 -0
  24. package/dist/dt_processing_times.js.map +1 -1
  25. package/dist/dt_product.d.ts +3 -0
  26. package/dist/dt_product.js +1 -0
  27. package/dist/dt_product.js.map +1 -1
  28. package/dist/dt_product_id.d.ts +4 -1
  29. package/dist/dt_product_id.js +1 -0
  30. package/dist/dt_product_id.js.map +1 -1
  31. package/dist/dt_recipe_id_external.d.ts +8 -5
  32. package/dist/dt_recipe_id_external.js +1 -0
  33. package/dist/dt_recipe_id_external.js.map +1 -1
  34. package/dist/dt_recipe_id_internal.d.ts +8 -5
  35. package/dist/dt_recipe_id_internal.js +1 -0
  36. package/dist/dt_recipe_id_internal.js.map +1 -1
  37. package/dist/dt_recipe_transfer_options.d.ts +3 -0
  38. package/dist/dt_recipe_transfer_options.js +1 -0
  39. package/dist/dt_recipe_transfer_options.js.map +1 -1
  40. package/dist/dt_result.d.ts +13 -9
  41. package/dist/dt_result.js +1 -0
  42. package/dist/dt_result.js.map +1 -1
  43. package/dist/dt_result_id.d.ts +3 -0
  44. package/dist/dt_result_id.js +1 -0
  45. package/dist/dt_result_id.js.map +1 -1
  46. package/dist/dt_result_transfer_options.d.ts +3 -0
  47. package/dist/dt_result_transfer_options.js +1 -0
  48. package/dist/dt_result_transfer_options.js.map +1 -1
  49. package/dist/dt_system_state_description.d.ts +4 -1
  50. package/dist/dt_system_state_description.js +1 -0
  51. package/dist/dt_system_state_description.js.map +1 -1
  52. package/dist/ua_acquisition_done_event.d.ts +1 -1
  53. package/dist/ua_configuration_folder.d.ts +1 -2
  54. package/dist/ua_configuration_management.d.ts +1 -1
  55. package/dist/ua_enter_step_sequence_event.d.ts +1 -1
  56. package/dist/ua_error_event.d.ts +1 -2
  57. package/dist/ua_error_resolved_event.d.ts +1 -2
  58. package/dist/ua_job_started_event.d.ts +1 -1
  59. package/dist/ua_leave_step_sequence_event.d.ts +1 -2
  60. package/dist/ua_next_step_event.d.ts +1 -1
  61. package/dist/ua_product_folder.d.ts +1 -2
  62. package/dist/ua_ready_event.d.ts +1 -1
  63. package/dist/ua_recipe.d.ts +5 -5
  64. package/dist/ua_recipe_folder.d.ts +1 -2
  65. package/dist/ua_recipe_management.d.ts +1 -1
  66. package/dist/ua_recipe_prepared_event.d.ts +3 -3
  67. package/dist/ua_result.d.ts +17 -17
  68. package/dist/ua_result_folder.d.ts +1 -2
  69. package/dist/ua_result_ready_event.d.ts +14 -14
  70. package/dist/ua_safety_state_management.d.ts +2 -2
  71. package/dist/ua_state_changed_event.d.ts +1 -2
  72. package/dist/ua_vision_condition.d.ts +14 -14
  73. package/dist/ua_vision_diagnostic_info_event.d.ts +1 -2
  74. package/dist/ua_vision_error_condition.d.ts +1 -2
  75. package/dist/ua_vision_event.d.ts +10 -10
  76. package/dist/ua_vision_information_event.d.ts +1 -2
  77. package/dist/ua_vision_persistent_error_condition.d.ts +1 -2
  78. package/dist/ua_vision_safety_event.d.ts +2 -2
  79. package/dist/ua_vision_system.d.ts +2 -2
  80. package/dist/ua_vision_warning_condition.d.ts +1 -2
  81. package/package.json +10 -9
  82. package/source/dt_binary_id_base.ts +13 -11
  83. package/source/dt_configuration.ts +10 -8
  84. package/source/dt_configuration_id.ts +13 -11
  85. package/source/dt_configuration_transfer_options.ts +5 -3
  86. package/source/dt_job_id.ts +5 -3
  87. package/source/dt_meas_id.ts +7 -5
  88. package/source/dt_part_id.ts +7 -5
  89. package/source/dt_processing_times.ts +10 -8
  90. package/source/dt_product.ts +5 -3
  91. package/source/dt_product_id.ts +7 -5
  92. package/source/dt_recipe_id_external.ts +13 -11
  93. package/source/dt_recipe_id_internal.ts +13 -11
  94. package/source/dt_recipe_transfer_options.ts +5 -3
  95. package/source/dt_result.ts +30 -27
  96. package/source/dt_result_id.ts +5 -3
  97. package/source/dt_result_transfer_options.ts +5 -3
  98. package/source/dt_system_state_description.ts +7 -5
  99. package/source/ua_acquisition_done_event.ts +1 -1
  100. package/source/ua_configuration_folder.ts +2 -3
  101. package/source/ua_configuration_management.ts +1 -1
  102. package/source/ua_enter_step_sequence_event.ts +1 -1
  103. package/source/ua_error_event.ts +2 -3
  104. package/source/ua_error_resolved_event.ts +1 -2
  105. package/source/ua_job_started_event.ts +1 -1
  106. package/source/ua_leave_step_sequence_event.ts +1 -2
  107. package/source/ua_next_step_event.ts +1 -1
  108. package/source/ua_product_folder.ts +1 -2
  109. package/source/ua_ready_event.ts +1 -1
  110. package/source/ua_recipe.ts +5 -5
  111. package/source/ua_recipe_folder.ts +2 -3
  112. package/source/ua_recipe_management.ts +1 -1
  113. package/source/ua_recipe_prepared_event.ts +3 -3
  114. package/source/ua_result.ts +18 -18
  115. package/source/ua_result_folder.ts +2 -3
  116. package/source/ua_result_ready_event.ts +15 -15
  117. package/source/ua_safety_state_management.ts +2 -2
  118. package/source/ua_state_changed_event.ts +1 -2
  119. package/source/ua_vision_automatic_mode_state_machine.ts +1 -1
  120. package/source/ua_vision_condition.ts +15 -15
  121. package/source/ua_vision_diagnostic_info_event.ts +1 -2
  122. package/source/ua_vision_error_condition.ts +1 -2
  123. package/source/ua_vision_event.ts +10 -10
  124. package/source/ua_vision_information_event.ts +1 -2
  125. package/source/ua_vision_persistent_error_condition.ts +1 -2
  126. package/source/ua_vision_safety_event.ts +2 -2
  127. package/source/ua_vision_system.ts +2 -2
  128. package/source/ua_vision_warning_condition.ts +1 -2
@@ -1,6 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { LocalizedText } from "node-opcua-data-model";
3
3
  import { UAString } from "node-opcua-basic-types";
4
+ import { ExtensionObject } from "node-opcua-extension-object";
4
5
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
5
6
  /**
6
7
  * | | |
@@ -14,12 +15,14 @@ export interface DTBinaryIdBase extends DTStructure {
14
15
  /** Id is a system-wide unique name for identifying the recipe.*/
15
16
  id: UAString;
16
17
  /** Represents an optional version number of the identified recipe. It is recommended to be of the format Major.minor.patch.build or a subset thereof, but the actual format is implementation defined.*/
17
- version: UAString;
18
+ version?: UAString;
18
19
  /** Represents an optional hash of the binary content of the actual recipe (as it would be transmitted by the transfer methods).
19
- The hash is supposed to be provided by the environment if existing. The environment shall use the same hash function on all recipes so that a difference in the hash indicates a difference in the recipe. It is recommended to use the SHA-256 algorithm for computing the hash, however, the actual algorithm is implementation-defined.*/
20
- hash: Buffer;
20
+ The hash is supposed to be provided by the environment if existing. The environment shall use the same hash function on all recipes so that a difference in the hash indicates a difference in the recipe. It is recommended to use the SHA-256 algorithm for computing the hash, however, the actual algorithm is implementation-defined.*/
21
+ hash?: Buffer;
21
22
  /** Name of the hash function used. Required if internally and externally computed hashes are to be compared.*/
22
- hashAlgorithm: UAString;
23
+ hashAlgorithm?: UAString;
23
24
  /** Optional short human readable description of the configuration.*/
24
- description: LocalizedText;
25
+ description?: LocalizedText;
26
+ }
27
+ export interface UDTBinaryIdBase extends ExtensionObject, DTBinaryIdBase {
25
28
  }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_binary_id_base.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_binary_id_base.js","sourceRoot":"","sources":["../source/dt_binary_id_base.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_binary_id_base.js","sourceRoot":"","sources":["../source/dt_binary_id_base.ts"],"names":[],"mappings":";;AA0B2E,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { ExtensionObject } from "node-opcua-extension-object";
1
2
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
3
  import { DTConfigurationId } from "./dt_configuration_id";
3
4
  /**
@@ -10,11 +11,13 @@ import { DTConfigurationId } from "./dt_configuration_id";
10
11
  */
11
12
  export interface DTConfiguration extends DTStructure {
12
13
  /** Indicates that actual content of the configuration may be transferred through temporary file transfer method.*/
13
- hasTransferableDataOnFile: boolean;
14
+ hasTransferableDataOnFile?: boolean;
14
15
  /** Identification of the configuration used by the environment. This argument must not be empty.*/
15
- externalId: DTConfigurationId;
16
+ externalId?: DTConfigurationId;
16
17
  /** System-wide unique ID for identifying a configuration. This ID is assigned by the vision system.*/
17
18
  internalId: DTConfigurationId;
18
19
  /** The time and date when this configuration was last modified.*/
19
20
  lastModified: Date;
20
21
  }
22
+ export interface UDTConfiguration extends ExtensionObject, DTConfiguration {
23
+ }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_configuration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_configuration.js","sourceRoot":"","sources":["../source/dt_configuration.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_configuration.js","sourceRoot":"","sources":["../source/dt_configuration.ts"],"names":[],"mappings":";;AAsB6E,CAAC"}
@@ -1,6 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { LocalizedText } from "node-opcua-data-model";
3
3
  import { UAString } from "node-opcua-basic-types";
4
+ import { ExtensionObject } from "node-opcua-extension-object";
4
5
  import { DTBinaryIdBase } from "./dt_binary_id_base";
5
6
  /**
6
7
  * | | |
@@ -14,12 +15,14 @@ export interface DTConfigurationId extends DTBinaryIdBase {
14
15
  /** Id is a system-wide unique name for identifying the recipe.*/
15
16
  id: UAString;
16
17
  /** Represents an optional version number of the identified recipe. It is recommended to be of the format Major.minor.patch.build or a subset thereof, but the actual format is implementation defined.*/
17
- version: UAString;
18
+ version?: UAString;
18
19
  /** Represents an optional hash of the binary content of the actual recipe (as it would be transmitted by the transfer methods).
19
- The hash is supposed to be provided by the environment if existing. The environment shall use the same hash function on all recipes so that a difference in the hash indicates a difference in the recipe. It is recommended to use the SHA-256 algorithm for computing the hash, however, the actual algorithm is implementation-defined.*/
20
- hash: Buffer;
20
+ The hash is supposed to be provided by the environment if existing. The environment shall use the same hash function on all recipes so that a difference in the hash indicates a difference in the recipe. It is recommended to use the SHA-256 algorithm for computing the hash, however, the actual algorithm is implementation-defined.*/
21
+ hash?: Buffer;
21
22
  /** Name of the hash function used. Required if internally and externally computed hashes are to be compared.*/
22
- hashAlgorithm: UAString;
23
+ hashAlgorithm?: UAString;
23
24
  /** Optional short human readable description of the configuration.*/
24
- description: LocalizedText;
25
+ description?: LocalizedText;
26
+ }
27
+ export interface UDTConfigurationId extends ExtensionObject, DTConfigurationId {
25
28
  }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_configuration_id.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_configuration_id.js","sourceRoot":"","sources":["../source/dt_configuration_id.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_configuration_id.js","sourceRoot":"","sources":["../source/dt_configuration_id.ts"],"names":[],"mappings":";;AA0BiF,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { ExtensionObject } from "node-opcua-extension-object";
1
2
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
3
  import { DTConfigurationId } from "./dt_configuration_id";
3
4
  /**
@@ -12,3 +13,5 @@ export interface DTConfigurationTransferOptions extends DTStructure {
12
13
  /** The Id of the configuration to be transferred to or from the client.*/
13
14
  internalId: DTConfigurationId;
14
15
  }
16
+ export interface UDTConfigurationTransferOptions extends ExtensionObject, DTConfigurationTransferOptions {
17
+ }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_configuration_transfer_options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_configuration_transfer_options.js","sourceRoot":"","sources":["../source/dt_configuration_transfer_options.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_configuration_transfer_options.js","sourceRoot":"","sources":["../source/dt_configuration_transfer_options.ts"],"names":[],"mappings":";;AAgB2G,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { UAString } from "node-opcua-basic-types";
2
+ import { ExtensionObject } from "node-opcua-extension-object";
2
3
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
3
4
  /**
4
5
  * | | |
@@ -12,3 +13,5 @@ export interface DTJobId extends DTStructure {
12
13
  /** Id is a system-wide unique identifier/name for identifying the job carried out.*/
13
14
  id: UAString;
14
15
  }
16
+ export interface UDTJobId extends ExtensionObject, DTJobId {
17
+ }
package/dist/dt_job_id.js CHANGED
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_job_id.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_job_id.js","sourceRoot":"","sources":["../source/dt_job_id.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_job_id.js","sourceRoot":"","sources":["../source/dt_job_id.ts"],"names":[],"mappings":";;AAgB6D,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { LocalizedText } from "node-opcua-data-model";
2
2
  import { UAString } from "node-opcua-basic-types";
3
+ import { ExtensionObject } from "node-opcua-extension-object";
3
4
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
4
5
  /**
5
6
  * | | |
@@ -13,5 +14,7 @@ export interface DTMeasId extends DTStructure {
13
14
  /** Id is an identifier/name for identifying the measurement operation. This identifier is passed by the client to the vision system so no assumptions can be made about its uniqueness or other properties.*/
14
15
  id: UAString;
15
16
  /** Optional short human readable description of the measurement.*/
16
- description: LocalizedText;
17
+ description?: LocalizedText;
18
+ }
19
+ export interface UDTMeasId extends ExtensionObject, DTMeasId {
17
20
  }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_meas_id.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_meas_id.js","sourceRoot":"","sources":["../source/dt_meas_id.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_meas_id.js","sourceRoot":"","sources":["../source/dt_meas_id.ts"],"names":[],"mappings":";;AAmB+D,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { LocalizedText } from "node-opcua-data-model";
2
2
  import { UAString } from "node-opcua-basic-types";
3
+ import { ExtensionObject } from "node-opcua-extension-object";
3
4
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
4
5
  /**
5
6
  * | | |
@@ -13,5 +14,7 @@ export interface DTPartId extends DTStructure {
13
14
  /** Describes the connection between a unit under test and a result, which was created during the processing of a recipe applied on this unit under test. Usually passed by the client with a Start method call and not changed by the server.*/
14
15
  id: UAString;
15
16
  /** Optional short human readable description of the part.*/
16
- description: LocalizedText;
17
+ description?: LocalizedText;
18
+ }
19
+ export interface UDTPartId extends ExtensionObject, DTPartId {
17
20
  }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_part_id.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_part_id.js","sourceRoot":"","sources":["../source/dt_part_id.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_part_id.js","sourceRoot":"","sources":["../source/dt_part_id.ts"],"names":[],"mappings":";;AAmB+D,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { ExtensionObject } from "node-opcua-extension-object";
1
2
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
3
  /**
3
4
  * | | |
@@ -13,7 +14,9 @@ export interface DTProcessingTimes extends DTStructure {
13
14
  /** Contains the time when the vision system finished (or stopped/aborted) execution of the recipe.*/
14
15
  endTime: Date;
15
16
  /** Time spent by the vision system acquiring images.*/
16
- acquisitionDuration: number;
17
+ acquisitionDuration?: number;
17
18
  /** Time spent by the vision system processing data.*/
18
- processingDuration: number;
19
+ processingDuration?: number;
20
+ }
21
+ export interface UDTProcessingTimes extends ExtensionObject, DTProcessingTimes {
19
22
  }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_processing_times.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_processing_times.js","sourceRoot":"","sources":["../source/dt_processing_times.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_processing_times.js","sourceRoot":"","sources":["../source/dt_processing_times.ts"],"names":[],"mappings":";;AAqBiF,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { ExtensionObject } from "node-opcua-extension-object";
1
2
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
3
  import { DTProductId } from "./dt_product_id";
3
4
  /**
@@ -12,3 +13,5 @@ export interface DTProduct extends DTStructure {
12
13
  /** Identification of the product used by the environment. This argument must not be empty.*/
13
14
  externalId: DTProductId;
14
15
  }
16
+ export interface UDTProduct extends ExtensionObject, DTProduct {
17
+ }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_product.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_product.js","sourceRoot":"","sources":["../source/dt_product.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_product.js","sourceRoot":"","sources":["../source/dt_product.ts"],"names":[],"mappings":";;AAgBiE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { LocalizedText } from "node-opcua-data-model";
2
2
  import { UAString } from "node-opcua-basic-types";
3
+ import { ExtensionObject } from "node-opcua-extension-object";
3
4
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
4
5
  /**
5
6
  * | | |
@@ -13,5 +14,7 @@ export interface DTProductId extends DTStructure {
13
14
  /** Id is a system-wide unique identifier/name for identifying the product.*/
14
15
  id: UAString;
15
16
  /** Optional short human readable description of the configuration*/
16
- description: LocalizedText;
17
+ description?: LocalizedText;
18
+ }
19
+ export interface UDTProductId extends ExtensionObject, DTProductId {
17
20
  }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_product_id.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_product_id.js","sourceRoot":"","sources":["../source/dt_product_id.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_product_id.js","sourceRoot":"","sources":["../source/dt_product_id.ts"],"names":[],"mappings":";;AAmBqE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { LocalizedText } from "node-opcua-data-model";
3
3
  import { UAString } from "node-opcua-basic-types";
4
+ import { ExtensionObject } from "node-opcua-extension-object";
4
5
  import { DTBinaryIdBase } from "./dt_binary_id_base";
5
6
  /**
6
7
  * | | |
@@ -14,12 +15,14 @@ export interface DTRecipeIdExternal extends DTBinaryIdBase {
14
15
  /** Id is a system-wide unique name for identifying the recipe.*/
15
16
  id: UAString;
16
17
  /** Represents an optional version number of the identified recipe. It is recommended to be of the format Major.minor.patch.build or a subset thereof, but the actual format is implementation defined.*/
17
- version: UAString;
18
+ version?: UAString;
18
19
  /** Represents an optional hash of the binary content of the actual recipe (as it would be transmitted by the transfer methods).
19
- The hash is supposed to be provided by the environment if existing. The environment shall use the same hash function on all recipes so that a difference in the hash indicates a difference in the recipe. It is recommended to use the SHA-256 algorithm for computing the hash, however, the actual algorithm is implementation-defined.*/
20
- hash: Buffer;
20
+ The hash is supposed to be provided by the environment if existing. The environment shall use the same hash function on all recipes so that a difference in the hash indicates a difference in the recipe. It is recommended to use the SHA-256 algorithm for computing the hash, however, the actual algorithm is implementation-defined.*/
21
+ hash?: Buffer;
21
22
  /** Name of the hash function used. Required if internally and externally computed hashes are to be compared.*/
22
- hashAlgorithm: UAString;
23
+ hashAlgorithm?: UAString;
23
24
  /** Optional short human readable description of the configuration.*/
24
- description: LocalizedText;
25
+ description?: LocalizedText;
26
+ }
27
+ export interface UDTRecipeIdExternal extends ExtensionObject, DTRecipeIdExternal {
25
28
  }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_recipe_id_external.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_recipe_id_external.js","sourceRoot":"","sources":["../source/dt_recipe_id_external.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_recipe_id_external.js","sourceRoot":"","sources":["../source/dt_recipe_id_external.ts"],"names":[],"mappings":";;AA0BmF,CAAC"}
@@ -1,6 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { LocalizedText } from "node-opcua-data-model";
3
3
  import { UAString } from "node-opcua-basic-types";
4
+ import { ExtensionObject } from "node-opcua-extension-object";
4
5
  import { DTBinaryIdBase } from "./dt_binary_id_base";
5
6
  /**
6
7
  * | | |
@@ -14,12 +15,14 @@ export interface DTRecipeIdInternal extends DTBinaryIdBase {
14
15
  /** Id is a system-wide unique name for identifying the recipe.*/
15
16
  id: UAString;
16
17
  /** Represents an optional version number of the identified recipe. It is recommended to be of the format Major.minor.patch.build or a subset thereof, but the actual format is implementation defined.*/
17
- version: UAString;
18
+ version?: UAString;
18
19
  /** Represents an optional hash of the binary content of the actual recipe (as it would be transmitted by the transfer methods).
19
- The hash is supposed to be provided by the environment if existing. The environment shall use the same hash function on all recipes so that a difference in the hash indicates a difference in the recipe. It is recommended to use the SHA-256 algorithm for computing the hash, however, the actual algorithm is implementation-defined.*/
20
- hash: Buffer;
20
+ The hash is supposed to be provided by the environment if existing. The environment shall use the same hash function on all recipes so that a difference in the hash indicates a difference in the recipe. It is recommended to use the SHA-256 algorithm for computing the hash, however, the actual algorithm is implementation-defined.*/
21
+ hash?: Buffer;
21
22
  /** Name of the hash function used. Required if internally and externally computed hashes are to be compared.*/
22
- hashAlgorithm: UAString;
23
+ hashAlgorithm?: UAString;
23
24
  /** Optional short human readable description of the configuration.*/
24
- description: LocalizedText;
25
+ description?: LocalizedText;
26
+ }
27
+ export interface UDTRecipeIdInternal extends ExtensionObject, DTRecipeIdInternal {
25
28
  }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_recipe_id_internal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_recipe_id_internal.js","sourceRoot":"","sources":["../source/dt_recipe_id_internal.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_recipe_id_internal.js","sourceRoot":"","sources":["../source/dt_recipe_id_internal.ts"],"names":[],"mappings":";;AA0BmF,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { ExtensionObject } from "node-opcua-extension-object";
1
2
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
3
  import { DTRecipeIdInternal } from "./dt_recipe_id_internal";
3
4
  /**
@@ -12,3 +13,5 @@ export interface DTRecipeTransferOptions extends DTStructure {
12
13
  /** The InternalId of the recipe to be transferred to or from the client.*/
13
14
  internalId: DTRecipeIdInternal;
14
15
  }
16
+ export interface UDTRecipeTransferOptions extends ExtensionObject, DTRecipeTransferOptions {
17
+ }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_recipe_transfer_options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_recipe_transfer_options.js","sourceRoot":"","sources":["../source/dt_recipe_transfer_options.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_recipe_transfer_options.js","sourceRoot":"","sources":["../source/dt_recipe_transfer_options.ts"],"names":[],"mappings":";;AAgB6F,CAAC"}
@@ -1,4 +1,6 @@
1
+ import { VariantOptions } from "node-opcua-variant";
1
2
  import { Int32 } from "node-opcua-basic-types";
3
+ import { ExtensionObject } from "node-opcua-extension-object";
2
4
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
3
5
  import { DTResultId } from "./dt_result_id";
4
6
  import { DTMeasId } from "./dt_meas_id";
@@ -21,25 +23,25 @@ export interface DTResult extends DTStructure {
21
23
  /** System-wide unique identifier, which is assigned by the system. This ID can be used for fetching exactly this result using the pertinent result management methods and it is identical to the ResultId of the ResultReadyEventType.*/
22
24
  resultId: DTResultId;
23
25
  /** Indicates that additional data for this result can be retrieved by temporary file transfer.*/
24
- hasTransferableDataOnFile: boolean;
26
+ hasTransferableDataOnFile?: boolean;
25
27
  /** Indicates whether the result is the partial result of a total result.*/
26
28
  isPartial: boolean;
27
29
  /** Indicates whether the system was in simulation mode when the result was created.*/
28
- isSimulated: boolean;
30
+ isSimulated?: boolean;
29
31
  /** ResultState provides information about the current state of a result and the ResultStateDataType is defined in Section 12.18.*/
30
32
  resultState: Int32;
31
33
  /** This identifier is given by the client when starting a single job or continuous execution and transmitted to the vision system. It is used to identify the respective result data generated for this job. Although the system-wide unique JobId would be sufficient to identify the job which the result belongs to, this makes for easier filtering on the part of the client without keeping track of JobIds.*/
32
- measId: DTMeasId;
34
+ measId?: DTMeasId;
33
35
  /** A PartId is given by the client when starting the job; although the system-wide unique JobId would be sufficient to identify the job which the result belongs to, this makes for easier filtering on the part of the client without keeping track of JobIds.*/
34
- partId: DTPartId;
36
+ partId?: DTPartId;
35
37
  /** External Id of the recipe in use which produced the result. The ExternalID is only managed by the environment.*/
36
- externalRecipeId: DTRecipeIdExternal;
38
+ externalRecipeId?: DTRecipeIdExternal;
37
39
  /** Internal Id of the recipe in use which produced the result. This ID is system-wide unique and is assigned by the vision system.*/
38
40
  internalRecipeId: DTRecipeIdInternal;
39
41
  /** productId which was used to trigger the job which created the result.*/
40
- productId: DTProductId;
42
+ productId?: DTProductId;
41
43
  /** External Id of the configuration in use which produced the result. The ExternalID is only managed by the environment.*/
42
- externalConfigurationId: DTConfigurationId;
44
+ externalConfigurationId?: DTConfigurationId;
43
45
  /** Internal Id of the configuration in use which produced the result. This ID is system-wide unique and is assigned by the vision system.*/
44
46
  internalConfigurationId: DTConfigurationId;
45
47
  /** The ID of the job, created by the transition from state Ready to state SingleExecution or to state ContinuousExecution which produced the result.*/
@@ -47,7 +49,9 @@ export interface DTResult extends DTStructure {
47
49
  /** CreationTime indicates the time when the result was created.*/
48
50
  creationTime: Date;
49
51
  /** Collection of different processing times that were needed to create the result.*/
50
- processingTimes: DTProcessingTimes;
52
+ processingTimes?: DTProcessingTimes;
51
53
  /** Abstract data type to be subtyped from to hold result data created by the selected recipe.*/
52
- resultContent: undefined[];
54
+ resultContent?: VariantOptions[];
55
+ }
56
+ export interface UDTResult extends ExtensionObject, DTResult {
53
57
  }
package/dist/dt_result.js CHANGED
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_result.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_result.js","sourceRoot":"","sources":["../source/dt_result.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_result.js","sourceRoot":"","sources":["../source/dt_result.ts"],"names":[],"mappings":";;AAwD+D,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { UAString } from "node-opcua-basic-types";
2
+ import { ExtensionObject } from "node-opcua-extension-object";
2
3
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
3
4
  /**
4
5
  * | | |
@@ -12,3 +13,5 @@ export interface DTResultId extends DTStructure {
12
13
  /** Id is a system-wide unique identifier/name for identifying the generated result.*/
13
14
  id: UAString;
14
15
  }
16
+ export interface UDTResultId extends ExtensionObject, DTResultId {
17
+ }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_result_id.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_result_id.js","sourceRoot":"","sources":["../source/dt_result_id.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_result_id.js","sourceRoot":"","sources":["../source/dt_result_id.ts"],"names":[],"mappings":";;AAgBmE,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { ExtensionObject } from "node-opcua-extension-object";
1
2
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
3
  import { DTResultId } from "./dt_result_id";
3
4
  /**
@@ -12,3 +13,5 @@ export interface DTResultTransferOptions extends DTStructure {
12
13
  /** The Id of the result to be transferred to the client.*/
13
14
  id: DTResultId;
14
15
  }
16
+ export interface UDTResultTransferOptions extends ExtensionObject, DTResultTransferOptions {
17
+ }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_result_transfer_options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_result_transfer_options.js","sourceRoot":"","sources":["../source/dt_result_transfer_options.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_result_transfer_options.js","sourceRoot":"","sources":["../source/dt_result_transfer_options.ts"],"names":[],"mappings":";;AAgB6F,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { UAString } from "node-opcua-basic-types";
2
+ import { ExtensionObject } from "node-opcua-extension-object";
2
3
  import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
3
4
  import { EnumSystemState } from "./enum_system_state";
4
5
  /**
@@ -13,5 +14,7 @@ export interface DTSystemStateDescription extends DTStructure {
13
14
  /** Denotes one of the basic SEMI E10 states*/
14
15
  state: EnumSystemState;
15
16
  /** Optional string describing the full state path, starting with the SEMI E10 state denoted by the state member; the string format is described in Section 11.5.*/
16
- stateDescription: UAString;
17
+ stateDescription?: UAString;
18
+ }
19
+ export interface UDTSystemStateDescription extends ExtensionObject, DTSystemStateDescription {
17
20
  }
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
3
4
  //# sourceMappingURL=dt_system_state_description.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dt_system_state_description.js","sourceRoot":"","sources":["../source/dt_system_state_description.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"dt_system_state_description.js","sourceRoot":"","sources":["../source/dt_system_state_description.ts"],"names":[],"mappings":";;AAmB+F,CAAC"}
@@ -11,7 +11,7 @@ import { DTJobId } from "./dt_job_id";
11
11
  * |isAbstract |false |
12
12
  */
13
13
  export interface UAAcquisitionDoneEvent_Base extends UABaseEvent_Base {
14
- jobId: UAProperty<DTJobId, /*z*/ DataType.ExtensionObject>;
14
+ jobId: UAProperty<DTJobId, DataType.ExtensionObject>;
15
15
  }
16
16
  export interface UAAcquisitionDoneEvent extends UABaseEvent, UAAcquisitionDoneEvent_Base {
17
17
  }
@@ -7,7 +7,6 @@ import { UAFolder, UAFolder_Base } from "node-opcua-nodeset-ua/source/ua_folder"
7
7
  * |typedDefinition |4:ConfigurationFolderType ns=4;i=1011 |
8
8
  * |isAbstract |false |
9
9
  */
10
- export interface UAConfigurationFolder_Base extends UAFolder_Base {
11
- }
10
+ export declare type UAConfigurationFolder_Base = UAFolder_Base;
12
11
  export interface UAConfigurationFolder extends UAFolder, UAConfigurationFolder_Base {
13
12
  }
@@ -14,7 +14,7 @@ import { UAConfigurationTransfer } from "./ua_configuration_transfer";
14
14
  */
15
15
  export interface UAConfigurationManagement_Base {
16
16
  activateConfiguration: UAMethod;
17
- activeConfiguration: UABaseDataVariable<DTConfiguration, /*z*/ DataType.ExtensionObject>;
17
+ activeConfiguration: UABaseDataVariable<DTConfiguration, DataType.ExtensionObject>;
18
18
  addConfiguration?: UAMethod;
19
19
  configurations?: UAConfigurationFolder;
20
20
  configurationTransfer?: UAConfigurationTransfer;
@@ -11,7 +11,7 @@ import { UABaseEvent, UABaseEvent_Base } from "node-opcua-nodeset-ua/source/ua_b
11
11
  * |isAbstract |false |
12
12
  */
13
13
  export interface UAEnterStepSequenceEvent_Base extends UABaseEvent_Base {
14
- steps: UAProperty<Int32, /*z*/ DataType.Int32>;
14
+ steps: UAProperty<Int32, DataType.Int32>;
15
15
  }
16
16
  export interface UAEnterStepSequenceEvent extends UABaseEvent, UAEnterStepSequenceEvent_Base {
17
17
  }
@@ -7,7 +7,6 @@ import { UATransitionEvent, UATransitionEvent_Base } from "node-opcua-nodeset-ua
7
7
  * |typedDefinition |4:ErrorEventType ns=4;i=1019 |
8
8
  * |isAbstract |false |
9
9
  */
10
- export interface UAErrorEvent_Base extends UATransitionEvent_Base {
11
- }
10
+ export declare type UAErrorEvent_Base = UATransitionEvent_Base;
12
11
  export interface UAErrorEvent extends UATransitionEvent, UAErrorEvent_Base {
13
12
  }
@@ -7,7 +7,6 @@ import { UATransitionEvent, UATransitionEvent_Base } from "node-opcua-nodeset-ua
7
7
  * |typedDefinition |4:ErrorResolvedEventType ns=4;i=1020 |
8
8
  * |isAbstract |false |
9
9
  */
10
- export interface UAErrorResolvedEvent_Base extends UATransitionEvent_Base {
11
- }
10
+ export declare type UAErrorResolvedEvent_Base = UATransitionEvent_Base;
12
11
  export interface UAErrorResolvedEvent extends UATransitionEvent, UAErrorResolvedEvent_Base {
13
12
  }
@@ -11,7 +11,7 @@ import { DTJobId } from "./dt_job_id";
11
11
  * |isAbstract |false |
12
12
  */
13
13
  export interface UAJobStartedEvent_Base extends UABaseEvent_Base {
14
- jobId: UAProperty<DTJobId, /*z*/ DataType.ExtensionObject>;
14
+ jobId: UAProperty<DTJobId, DataType.ExtensionObject>;
15
15
  }
16
16
  export interface UAJobStartedEvent extends UABaseEvent, UAJobStartedEvent_Base {
17
17
  }