node-opcua-nodeset-machine-vision 2.51.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 (229) hide show
  1. package/LICENSE +20 -0
  2. package/dist/dt_binary_id_base.d.ts +25 -0
  3. package/dist/dt_binary_id_base.js +3 -0
  4. package/dist/dt_binary_id_base.js.map +1 -0
  5. package/dist/dt_configuration.d.ts +20 -0
  6. package/dist/dt_configuration.js +3 -0
  7. package/dist/dt_configuration.js.map +1 -0
  8. package/dist/dt_configuration_id.d.ts +25 -0
  9. package/dist/dt_configuration_id.js +3 -0
  10. package/dist/dt_configuration_id.js.map +1 -0
  11. package/dist/dt_configuration_transfer_options.d.ts +14 -0
  12. package/dist/dt_configuration_transfer_options.js +3 -0
  13. package/dist/dt_configuration_transfer_options.js.map +1 -0
  14. package/dist/dt_job_id.d.ts +14 -0
  15. package/dist/dt_job_id.js +3 -0
  16. package/dist/dt_job_id.js.map +1 -0
  17. package/dist/dt_meas_id.d.ts +17 -0
  18. package/dist/dt_meas_id.js +3 -0
  19. package/dist/dt_meas_id.js.map +1 -0
  20. package/dist/dt_part_id.d.ts +17 -0
  21. package/dist/dt_part_id.js +3 -0
  22. package/dist/dt_part_id.js.map +1 -0
  23. package/dist/dt_processing_times.d.ts +19 -0
  24. package/dist/dt_processing_times.js +3 -0
  25. package/dist/dt_processing_times.js.map +1 -0
  26. package/dist/dt_product.d.ts +14 -0
  27. package/dist/dt_product.js +3 -0
  28. package/dist/dt_product.js.map +1 -0
  29. package/dist/dt_product_id.d.ts +17 -0
  30. package/dist/dt_product_id.js +3 -0
  31. package/dist/dt_product_id.js.map +1 -0
  32. package/dist/dt_recipe_id_external.d.ts +25 -0
  33. package/dist/dt_recipe_id_external.js +3 -0
  34. package/dist/dt_recipe_id_external.js.map +1 -0
  35. package/dist/dt_recipe_id_internal.d.ts +25 -0
  36. package/dist/dt_recipe_id_internal.js +3 -0
  37. package/dist/dt_recipe_id_internal.js.map +1 -0
  38. package/dist/dt_recipe_transfer_options.d.ts +14 -0
  39. package/dist/dt_recipe_transfer_options.js +3 -0
  40. package/dist/dt_recipe_transfer_options.js.map +1 -0
  41. package/dist/dt_result.d.ts +53 -0
  42. package/dist/dt_result.js +3 -0
  43. package/dist/dt_result.js.map +1 -0
  44. package/dist/dt_result_id.d.ts +14 -0
  45. package/dist/dt_result_id.js +3 -0
  46. package/dist/dt_result_id.js.map +1 -0
  47. package/dist/dt_result_transfer_options.d.ts +14 -0
  48. package/dist/dt_result_transfer_options.js +3 -0
  49. package/dist/dt_result_transfer_options.js.map +1 -0
  50. package/dist/dt_system_state_description.d.ts +17 -0
  51. package/dist/dt_system_state_description.js +3 -0
  52. package/dist/dt_system_state_description.js.map +1 -0
  53. package/dist/enum_system_state.d.ts +51 -0
  54. package/dist/enum_system_state.js +57 -0
  55. package/dist/enum_system_state.js.map +1 -0
  56. package/dist/enum_tri_state_boolean.d.ts +25 -0
  57. package/dist/enum_tri_state_boolean.js +31 -0
  58. package/dist/enum_tri_state_boolean.js.map +1 -0
  59. package/dist/index.d.ts +55 -0
  60. package/dist/index.js +68 -0
  61. package/dist/index.js.map +1 -0
  62. package/dist/ua_acquisition_done_event.d.ts +17 -0
  63. package/dist/ua_acquisition_done_event.js +3 -0
  64. package/dist/ua_acquisition_done_event.js.map +1 -0
  65. package/dist/ua_configuration_folder.d.ts +13 -0
  66. package/dist/ua_configuration_folder.js +3 -0
  67. package/dist/ua_configuration_folder.js.map +1 -0
  68. package/dist/ua_configuration_management.d.ts +27 -0
  69. package/dist/ua_configuration_management.js +3 -0
  70. package/dist/ua_configuration_management.js.map +1 -0
  71. package/dist/ua_configuration_transfer.d.ts +16 -0
  72. package/dist/ua_configuration_transfer.js +3 -0
  73. package/dist/ua_configuration_transfer.js.map +1 -0
  74. package/dist/ua_enter_step_sequence_event.d.ts +17 -0
  75. package/dist/ua_enter_step_sequence_event.js +3 -0
  76. package/dist/ua_enter_step_sequence_event.js.map +1 -0
  77. package/dist/ua_error_event.d.ts +13 -0
  78. package/dist/ua_error_event.js +3 -0
  79. package/dist/ua_error_event.js.map +1 -0
  80. package/dist/ua_error_resolved_event.d.ts +13 -0
  81. package/dist/ua_error_resolved_event.js +3 -0
  82. package/dist/ua_error_resolved_event.js.map +1 -0
  83. package/dist/ua_job_started_event.d.ts +17 -0
  84. package/dist/ua_job_started_event.js +3 -0
  85. package/dist/ua_job_started_event.js.map +1 -0
  86. package/dist/ua_leave_step_sequence_event.d.ts +13 -0
  87. package/dist/ua_leave_step_sequence_event.js +3 -0
  88. package/dist/ua_leave_step_sequence_event.js.map +1 -0
  89. package/dist/ua_next_step_event.d.ts +17 -0
  90. package/dist/ua_next_step_event.js +3 -0
  91. package/dist/ua_next_step_event.js.map +1 -0
  92. package/dist/ua_product_folder.d.ts +13 -0
  93. package/dist/ua_product_folder.js +3 -0
  94. package/dist/ua_product_folder.js.map +1 -0
  95. package/dist/ua_ready_event.d.ts +17 -0
  96. package/dist/ua_ready_event.js +3 -0
  97. package/dist/ua_ready_event.js.map +1 -0
  98. package/dist/ua_recipe.d.ts +50 -0
  99. package/dist/ua_recipe.js +3 -0
  100. package/dist/ua_recipe.js.map +1 -0
  101. package/dist/ua_recipe_folder.d.ts +13 -0
  102. package/dist/ua_recipe_folder.js +3 -0
  103. package/dist/ua_recipe_folder.js.map +1 -0
  104. package/dist/ua_recipe_management.d.ts +34 -0
  105. package/dist/ua_recipe_management.js +3 -0
  106. package/dist/ua_recipe_management.js.map +1 -0
  107. package/dist/ua_recipe_prepared_event.d.ts +21 -0
  108. package/dist/ua_recipe_prepared_event.js +3 -0
  109. package/dist/ua_recipe_prepared_event.js.map +1 -0
  110. package/dist/ua_recipe_transfer.d.ts +16 -0
  111. package/dist/ua_recipe_transfer.js +3 -0
  112. package/dist/ua_recipe_transfer.js.map +1 -0
  113. package/dist/ua_result.d.ts +43 -0
  114. package/dist/ua_result.js +3 -0
  115. package/dist/ua_result.js.map +1 -0
  116. package/dist/ua_result_folder.d.ts +13 -0
  117. package/dist/ua_result_folder.js +3 -0
  118. package/dist/ua_result_folder.js.map +1 -0
  119. package/dist/ua_result_management.d.ts +21 -0
  120. package/dist/ua_result_management.js +3 -0
  121. package/dist/ua_result_management.js.map +1 -0
  122. package/dist/ua_result_ready_event.d.ts +40 -0
  123. package/dist/ua_result_ready_event.js +3 -0
  124. package/dist/ua_result_ready_event.js.map +1 -0
  125. package/dist/ua_result_transfer.d.ts +15 -0
  126. package/dist/ua_result_transfer.js +3 -0
  127. package/dist/ua_result_transfer.js.map +1 -0
  128. package/dist/ua_safety_state_management.d.ts +19 -0
  129. package/dist/ua_safety_state_management.js +3 -0
  130. package/dist/ua_safety_state_management.js.map +1 -0
  131. package/dist/ua_state_changed_event.d.ts +13 -0
  132. package/dist/ua_state_changed_event.js +3 -0
  133. package/dist/ua_state_changed_event.js.map +1 -0
  134. package/dist/ua_vision_automatic_mode_state_machine.d.ts +46 -0
  135. package/dist/ua_vision_automatic_mode_state_machine.js +3 -0
  136. package/dist/ua_vision_automatic_mode_state_machine.js.map +1 -0
  137. package/dist/ua_vision_condition.d.ts +38 -0
  138. package/dist/ua_vision_condition.js +3 -0
  139. package/dist/ua_vision_condition.js.map +1 -0
  140. package/dist/ua_vision_diagnostic_info_event.d.ts +13 -0
  141. package/dist/ua_vision_diagnostic_info_event.js +3 -0
  142. package/dist/ua_vision_diagnostic_info_event.js.map +1 -0
  143. package/dist/ua_vision_error_condition.d.ts +13 -0
  144. package/dist/ua_vision_error_condition.js +3 -0
  145. package/dist/ua_vision_error_condition.js.map +1 -0
  146. package/dist/ua_vision_event.d.ts +34 -0
  147. package/dist/ua_vision_event.js +3 -0
  148. package/dist/ua_vision_event.js.map +1 -0
  149. package/dist/ua_vision_information_event.d.ts +13 -0
  150. package/dist/ua_vision_information_event.js +3 -0
  151. package/dist/ua_vision_information_event.js.map +1 -0
  152. package/dist/ua_vision_persistent_error_condition.d.ts +13 -0
  153. package/dist/ua_vision_persistent_error_condition.js +3 -0
  154. package/dist/ua_vision_persistent_error_condition.js.map +1 -0
  155. package/dist/ua_vision_safety_event.d.ts +18 -0
  156. package/dist/ua_vision_safety_event.js +3 -0
  157. package/dist/ua_vision_safety_event.js.map +1 -0
  158. package/dist/ua_vision_state_machine.d.ts +49 -0
  159. package/dist/ua_vision_state_machine.js +3 -0
  160. package/dist/ua_vision_state_machine.js.map +1 -0
  161. package/dist/ua_vision_step_model_state_machine.d.ts +28 -0
  162. package/dist/ua_vision_step_model_state_machine.js +3 -0
  163. package/dist/ua_vision_step_model_state_machine.js.map +1 -0
  164. package/dist/ua_vision_system.d.ts +49 -0
  165. package/dist/ua_vision_system.js +3 -0
  166. package/dist/ua_vision_system.js.map +1 -0
  167. package/dist/ua_vision_warning_condition.d.ts +13 -0
  168. package/dist/ua_vision_warning_condition.js +3 -0
  169. package/dist/ua_vision_warning_condition.js.map +1 -0
  170. package/package.json +22 -0
  171. package/pnpm-lock.yaml +19 -0
  172. package/source/dt_binary_id_base.ts +25 -0
  173. package/source/dt_configuration.ts +21 -0
  174. package/source/dt_configuration_id.ts +25 -0
  175. package/source/dt_configuration_transfer_options.ts +15 -0
  176. package/source/dt_job_id.ts +15 -0
  177. package/source/dt_meas_id.ts +18 -0
  178. package/source/dt_part_id.ts +18 -0
  179. package/source/dt_processing_times.ts +20 -0
  180. package/source/dt_product.ts +15 -0
  181. package/source/dt_product_id.ts +18 -0
  182. package/source/dt_recipe_id_external.ts +25 -0
  183. package/source/dt_recipe_id_internal.ts +25 -0
  184. package/source/dt_recipe_transfer_options.ts +15 -0
  185. package/source/dt_result.ts +54 -0
  186. package/source/dt_result_id.ts +15 -0
  187. package/source/dt_result_transfer_options.ts +15 -0
  188. package/source/dt_system_state_description.ts +18 -0
  189. package/source/enum_system_state.ts +53 -0
  190. package/source/enum_tri_state_boolean.ts +27 -0
  191. package/source/index.ts +55 -0
  192. package/source/ua_acquisition_done_event.ts +18 -0
  193. package/source/ua_configuration_folder.ts +16 -0
  194. package/source/ua_configuration_management.ts +29 -0
  195. package/source/ua_configuration_transfer.ts +21 -0
  196. package/source/ua_enter_step_sequence_event.ts +18 -0
  197. package/source/ua_error_event.ts +19 -0
  198. package/source/ua_error_resolved_event.ts +14 -0
  199. package/source/ua_job_started_event.ts +18 -0
  200. package/source/ua_leave_step_sequence_event.ts +14 -0
  201. package/source/ua_next_step_event.ts +18 -0
  202. package/source/ua_product_folder.ts +16 -0
  203. package/source/ua_ready_event.ts +18 -0
  204. package/source/ua_recipe.ts +51 -0
  205. package/source/ua_recipe_folder.ts +20 -0
  206. package/source/ua_recipe_management.ts +36 -0
  207. package/source/ua_recipe_prepared_event.ts +22 -0
  208. package/source/ua_recipe_transfer.ts +19 -0
  209. package/source/ua_result.ts +44 -0
  210. package/source/ua_result_folder.ts +26 -0
  211. package/source/ua_result_management.ts +24 -0
  212. package/source/ua_result_ready_event.ts +41 -0
  213. package/source/ua_result_transfer.ts +18 -0
  214. package/source/ua_safety_state_management.ts +21 -0
  215. package/source/ua_state_changed_event.ts +14 -0
  216. package/source/ua_vision_automatic_mode_state_machine.ts +52 -0
  217. package/source/ua_vision_condition.ts +43 -0
  218. package/source/ua_vision_diagnostic_info_event.ts +14 -0
  219. package/source/ua_vision_error_condition.ts +14 -0
  220. package/source/ua_vision_event.ts +35 -0
  221. package/source/ua_vision_information_event.ts +14 -0
  222. package/source/ua_vision_persistent_error_condition.ts +14 -0
  223. package/source/ua_vision_safety_event.ts +19 -0
  224. package/source/ua_vision_state_machine.ts +54 -0
  225. package/source/ua_vision_step_model_state_machine.ts +29 -0
  226. package/source/ua_vision_system.ts +51 -0
  227. package/source/ua_vision_warning_condition.ts +14 -0
  228. package/tsconfig.json +24 -0
  229. package/tsconfig.tsbuildinfo +1 -0
package/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014-2021 Etienne Rossignon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,25 @@
1
+ /// <reference types="node" />
2
+ import { LocalizedText } from "node-opcua-data-model";
3
+ import { UAString } from "node-opcua-basic-types";
4
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
5
+ /**
6
+ * | | |
7
+ * |-----------|--------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
9
+ * | nodeClass |DataType |
10
+ * | name |4:BinaryIdBaseDataType |
11
+ * | isAbstract|true |
12
+ */
13
+ export interface DTBinaryIdBase extends DTStructure {
14
+ /** Id is a system-wide unique name for identifying the recipe.*/
15
+ id: UAString;
16
+ /** 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
+ /** 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;
21
+ /** Name of the hash function used. Required if internally and externally computed hashes are to be compared.*/
22
+ hashAlgorithm: UAString;
23
+ /** Optional short human readable description of the configuration.*/
24
+ description: LocalizedText;
25
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_binary_id_base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_binary_id_base.js","sourceRoot":"","sources":["../source/dt_binary_id_base.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
+ import { DTConfigurationId } from "./dt_configuration_id";
3
+ /**
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
7
+ * | nodeClass |DataType |
8
+ * | name |4:ConfigurationDataType |
9
+ * | isAbstract|false |
10
+ */
11
+ export interface DTConfiguration extends DTStructure {
12
+ /** Indicates that actual content of the configuration may be transferred through temporary file transfer method.*/
13
+ hasTransferableDataOnFile: boolean;
14
+ /** Identification of the configuration used by the environment. This argument must not be empty.*/
15
+ externalId: DTConfigurationId;
16
+ /** System-wide unique ID for identifying a configuration. This ID is assigned by the vision system.*/
17
+ internalId: DTConfigurationId;
18
+ /** The time and date when this configuration was last modified.*/
19
+ lastModified: Date;
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_configuration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_configuration.js","sourceRoot":"","sources":["../source/dt_configuration.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ /// <reference types="node" />
2
+ import { LocalizedText } from "node-opcua-data-model";
3
+ import { UAString } from "node-opcua-basic-types";
4
+ import { DTBinaryIdBase } from "./dt_binary_id_base";
5
+ /**
6
+ * | | |
7
+ * |-----------|--------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
9
+ * | nodeClass |DataType |
10
+ * | name |4:ConfigurationIdDataType |
11
+ * | isAbstract|false |
12
+ */
13
+ export interface DTConfigurationId extends DTBinaryIdBase {
14
+ /** Id is a system-wide unique name for identifying the recipe.*/
15
+ id: UAString;
16
+ /** 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
+ /** 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;
21
+ /** Name of the hash function used. Required if internally and externally computed hashes are to be compared.*/
22
+ hashAlgorithm: UAString;
23
+ /** Optional short human readable description of the configuration.*/
24
+ description: LocalizedText;
25
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_configuration_id.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_configuration_id.js","sourceRoot":"","sources":["../source/dt_configuration_id.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
+ import { DTConfigurationId } from "./dt_configuration_id";
3
+ /**
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
7
+ * | nodeClass |DataType |
8
+ * | name |4:ConfigurationTransferOptions |
9
+ * | isAbstract|false |
10
+ */
11
+ export interface DTConfigurationTransferOptions extends DTStructure {
12
+ /** The Id of the configuration to be transferred to or from the client.*/
13
+ internalId: DTConfigurationId;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_configuration_transfer_options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_configuration_transfer_options.js","sourceRoot":"","sources":["../source/dt_configuration_transfer_options.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { UAString } from "node-opcua-basic-types";
2
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
3
+ /**
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
7
+ * | nodeClass |DataType |
8
+ * | name |4:JobIdDataType |
9
+ * | isAbstract|false |
10
+ */
11
+ export interface DTJobId extends DTStructure {
12
+ /** Id is a system-wide unique identifier/name for identifying the job carried out.*/
13
+ id: UAString;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_job_id.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_job_id.js","sourceRoot":"","sources":["../source/dt_job_id.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { LocalizedText } from "node-opcua-data-model";
2
+ import { UAString } from "node-opcua-basic-types";
3
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
4
+ /**
5
+ * | | |
6
+ * |-----------|--------------------------------------------------|
7
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
8
+ * | nodeClass |DataType |
9
+ * | name |4:MeasIdDataType |
10
+ * | isAbstract|false |
11
+ */
12
+ export interface DTMeasId extends DTStructure {
13
+ /** 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
+ id: UAString;
15
+ /** Optional short human readable description of the measurement.*/
16
+ description: LocalizedText;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_meas_id.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_meas_id.js","sourceRoot":"","sources":["../source/dt_meas_id.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { LocalizedText } from "node-opcua-data-model";
2
+ import { UAString } from "node-opcua-basic-types";
3
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
4
+ /**
5
+ * | | |
6
+ * |-----------|--------------------------------------------------|
7
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
8
+ * | nodeClass |DataType |
9
+ * | name |4:PartIdDataType |
10
+ * | isAbstract|false |
11
+ */
12
+ export interface DTPartId extends DTStructure {
13
+ /** 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
+ id: UAString;
15
+ /** Optional short human readable description of the part.*/
16
+ description: LocalizedText;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_part_id.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_part_id.js","sourceRoot":"","sources":["../source/dt_part_id.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
+ /**
3
+ * | | |
4
+ * |-----------|--------------------------------------------------|
5
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
6
+ * | nodeClass |DataType |
7
+ * | name |4:ProcessingTimesDataType |
8
+ * | isAbstract|false |
9
+ */
10
+ export interface DTProcessingTimes extends DTStructure {
11
+ /** Contains the time when the vision system started execution of the recipe.*/
12
+ startTime: Date;
13
+ /** Contains the time when the vision system finished (or stopped/aborted) execution of the recipe.*/
14
+ endTime: Date;
15
+ /** Time spent by the vision system acquiring images.*/
16
+ acquisitionDuration: number;
17
+ /** Time spent by the vision system processing data.*/
18
+ processingDuration: number;
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_processing_times.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_processing_times.js","sourceRoot":"","sources":["../source/dt_processing_times.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
+ import { DTProductId } from "./dt_product_id";
3
+ /**
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
7
+ * | nodeClass |DataType |
8
+ * | name |4:ProductDataType |
9
+ * | isAbstract|false |
10
+ */
11
+ export interface DTProduct extends DTStructure {
12
+ /** Identification of the product used by the environment. This argument must not be empty.*/
13
+ externalId: DTProductId;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_product.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_product.js","sourceRoot":"","sources":["../source/dt_product.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { LocalizedText } from "node-opcua-data-model";
2
+ import { UAString } from "node-opcua-basic-types";
3
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
4
+ /**
5
+ * | | |
6
+ * |-----------|--------------------------------------------------|
7
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
8
+ * | nodeClass |DataType |
9
+ * | name |4:ProductIdDataType |
10
+ * | isAbstract|false |
11
+ */
12
+ export interface DTProductId extends DTStructure {
13
+ /** Id is a system-wide unique identifier/name for identifying the product.*/
14
+ id: UAString;
15
+ /** Optional short human readable description of the configuration*/
16
+ description: LocalizedText;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_product_id.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_product_id.js","sourceRoot":"","sources":["../source/dt_product_id.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ /// <reference types="node" />
2
+ import { LocalizedText } from "node-opcua-data-model";
3
+ import { UAString } from "node-opcua-basic-types";
4
+ import { DTBinaryIdBase } from "./dt_binary_id_base";
5
+ /**
6
+ * | | |
7
+ * |-----------|--------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
9
+ * | nodeClass |DataType |
10
+ * | name |4:RecipeIdExternalDataType |
11
+ * | isAbstract|false |
12
+ */
13
+ export interface DTRecipeIdExternal extends DTBinaryIdBase {
14
+ /** Id is a system-wide unique name for identifying the recipe.*/
15
+ id: UAString;
16
+ /** 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
+ /** 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;
21
+ /** Name of the hash function used. Required if internally and externally computed hashes are to be compared.*/
22
+ hashAlgorithm: UAString;
23
+ /** Optional short human readable description of the configuration.*/
24
+ description: LocalizedText;
25
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_recipe_id_external.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_recipe_id_external.js","sourceRoot":"","sources":["../source/dt_recipe_id_external.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ /// <reference types="node" />
2
+ import { LocalizedText } from "node-opcua-data-model";
3
+ import { UAString } from "node-opcua-basic-types";
4
+ import { DTBinaryIdBase } from "./dt_binary_id_base";
5
+ /**
6
+ * | | |
7
+ * |-----------|--------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
9
+ * | nodeClass |DataType |
10
+ * | name |4:RecipeIdInternalDataType |
11
+ * | isAbstract|false |
12
+ */
13
+ export interface DTRecipeIdInternal extends DTBinaryIdBase {
14
+ /** Id is a system-wide unique name for identifying the recipe.*/
15
+ id: UAString;
16
+ /** 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
+ /** 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;
21
+ /** Name of the hash function used. Required if internally and externally computed hashes are to be compared.*/
22
+ hashAlgorithm: UAString;
23
+ /** Optional short human readable description of the configuration.*/
24
+ description: LocalizedText;
25
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_recipe_id_internal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_recipe_id_internal.js","sourceRoot":"","sources":["../source/dt_recipe_id_internal.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
+ import { DTRecipeIdInternal } from "./dt_recipe_id_internal";
3
+ /**
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
7
+ * | nodeClass |DataType |
8
+ * | name |4:RecipeTransferOptions |
9
+ * | isAbstract|false |
10
+ */
11
+ export interface DTRecipeTransferOptions extends DTStructure {
12
+ /** The InternalId of the recipe to be transferred to or from the client.*/
13
+ internalId: DTRecipeIdInternal;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_recipe_transfer_options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_recipe_transfer_options.js","sourceRoot":"","sources":["../source/dt_recipe_transfer_options.ts"],"names":[],"mappings":""}
@@ -0,0 +1,53 @@
1
+ import { Int32 } from "node-opcua-basic-types";
2
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
3
+ import { DTResultId } from "./dt_result_id";
4
+ import { DTMeasId } from "./dt_meas_id";
5
+ import { DTPartId } from "./dt_part_id";
6
+ import { DTRecipeIdExternal } from "./dt_recipe_id_external";
7
+ import { DTRecipeIdInternal } from "./dt_recipe_id_internal";
8
+ import { DTProductId } from "./dt_product_id";
9
+ import { DTConfigurationId } from "./dt_configuration_id";
10
+ import { DTJobId } from "./dt_job_id";
11
+ import { DTProcessingTimes } from "./dt_processing_times";
12
+ /**
13
+ * | | |
14
+ * |-----------|--------------------------------------------------|
15
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
16
+ * | nodeClass |DataType |
17
+ * | name |4:ResultDataType |
18
+ * | isAbstract|false |
19
+ */
20
+ export interface DTResult extends DTStructure {
21
+ /** 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
+ resultId: DTResultId;
23
+ /** Indicates that additional data for this result can be retrieved by temporary file transfer.*/
24
+ hasTransferableDataOnFile: boolean;
25
+ /** Indicates whether the result is the partial result of a total result.*/
26
+ isPartial: boolean;
27
+ /** Indicates whether the system was in simulation mode when the result was created.*/
28
+ isSimulated: boolean;
29
+ /** ResultState provides information about the current state of a result and the ResultStateDataType is defined in Section 12.18.*/
30
+ resultState: Int32;
31
+ /** 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;
33
+ /** 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;
35
+ /** External Id of the recipe in use which produced the result. The ExternalID is only managed by the environment.*/
36
+ externalRecipeId: DTRecipeIdExternal;
37
+ /** 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
+ internalRecipeId: DTRecipeIdInternal;
39
+ /** productId which was used to trigger the job which created the result.*/
40
+ productId: DTProductId;
41
+ /** External Id of the configuration in use which produced the result. The ExternalID is only managed by the environment.*/
42
+ externalConfigurationId: DTConfigurationId;
43
+ /** 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
+ internalConfigurationId: DTConfigurationId;
45
+ /** The ID of the job, created by the transition from state Ready to state SingleExecution or to state ContinuousExecution which produced the result.*/
46
+ jobId: DTJobId;
47
+ /** CreationTime indicates the time when the result was created.*/
48
+ creationTime: Date;
49
+ /** Collection of different processing times that were needed to create the result.*/
50
+ processingTimes: DTProcessingTimes;
51
+ /** Abstract data type to be subtyped from to hold result data created by the selected recipe.*/
52
+ resultContent: undefined[];
53
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_result.js","sourceRoot":"","sources":["../source/dt_result.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { UAString } from "node-opcua-basic-types";
2
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
3
+ /**
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
7
+ * | nodeClass |DataType |
8
+ * | name |4:ResultIdDataType |
9
+ * | isAbstract|false |
10
+ */
11
+ export interface DTResultId extends DTStructure {
12
+ /** Id is a system-wide unique identifier/name for identifying the generated result.*/
13
+ id: UAString;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_result_id.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_result_id.js","sourceRoot":"","sources":["../source/dt_result_id.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
2
+ import { DTResultId } from "./dt_result_id";
3
+ /**
4
+ * | | |
5
+ * |-----------|--------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
7
+ * | nodeClass |DataType |
8
+ * | name |4:ResultTransferOptions |
9
+ * | isAbstract|false |
10
+ */
11
+ export interface DTResultTransferOptions extends DTStructure {
12
+ /** The Id of the result to be transferred to the client.*/
13
+ id: DTResultId;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_result_transfer_options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_result_transfer_options.js","sourceRoot":"","sources":["../source/dt_result_transfer_options.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { Variant } from "node-opcua-variant";
2
+ import { UAString } from "node-opcua-basic-types";
3
+ import { DTStructure } from "node-opcua-nodeset-ua/source/dt_structure";
4
+ /**
5
+ * | | |
6
+ * |-----------|--------------------------------------------------|
7
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
8
+ * | nodeClass |DataType |
9
+ * | name |4:SystemStateDescriptionDataType |
10
+ * | isAbstract|false |
11
+ */
12
+ export interface DTSystemStateDescription extends DTStructure {
13
+ /** Denotes one of the basic SEMI E10 states*/
14
+ state: Variant;
15
+ /** 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
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dt_system_state_description.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dt_system_state_description.js","sourceRoot":"","sources":["../source/dt_system_state_description.ts"],"names":[],"mappings":""}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * | | |
3
+ * |-----------|--------------------------------------------------|
4
+ * | namespace |http://opcfoundation.org/UA/MachineVision |
5
+ * | nodeClass |DataType |
6
+ * | name |4:SystemStateDataType |
7
+ * | isAbstract|false |
8
+ */
9
+ export declare enum EnumSystemState {
10
+ /**
11
+ * Production: The vision system is currently
12
+ * working on a job.
13
+ */
14
+ PRD_1 = 1,
15
+ /**
16
+ * Stand by: The vision system is ready to accept a
17
+ * command but is currently not executing a job. It
18
+ * could for example be waiting for a Start command
19
+ * or a user input.
20
+ */
21
+ SBY_2 = 2,
22
+ /**
23
+ * Engineering: The vision system is not working and
24
+ * not ready to accept a command because a user is
25
+ * currently working on the system. This could be
26
+ * for editing a recipe or changing the system
27
+ * configuration.
28
+ */
29
+ ENG_3 = 3,
30
+ /**
31
+ * Scheduled downtime: The vision system is not
32
+ * available for production and this was planned in
33
+ * advance. This could be for cleaning, maintenance
34
+ * or calibration works.
35
+ */
36
+ SDT_4 = 4,
37
+ /**
38
+ * Unscheduled downtime: The vision system is not
39
+ * available for production due to failure and
40
+ * repair. This covers all kinds of error states
41
+ * that might occur during operation.
42
+ */
43
+ UDT_5 = 5,
44
+ /**
45
+ * Nonscheduled time: The vision system is not
46
+ * working because no production was scheduled. This
47
+ * also covers things like operator training on the
48
+ * system.
49
+ */
50
+ NST_6 = 6
51
+ }