node-opcua-nodeset-scales-v-2 2.154.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 (286) hide show
  1. package/LICENSE +23 -0
  2. package/dist/dt_abstract_weight.d.ts +10 -0
  3. package/dist/dt_abstract_weight.js +3 -0
  4. package/dist/dt_abstract_weight.js.map +1 -0
  5. package/dist/dt_printable_weight.d.ts +18 -0
  6. package/dist/dt_printable_weight.js +4 -0
  7. package/dist/dt_printable_weight.js.map +1 -0
  8. package/dist/dt_recipe_report_element.d.ts +17 -0
  9. package/dist/dt_recipe_report_element.js +4 -0
  10. package/dist/dt_recipe_report_element.js.map +1 -0
  11. package/dist/dt_recipe_target_value.d.ts +20 -0
  12. package/dist/dt_recipe_target_value.js +4 -0
  13. package/dist/dt_recipe_target_value.js.map +1 -0
  14. package/dist/dt_recipe_threshold.d.ts +20 -0
  15. package/dist/dt_recipe_threshold.js +4 -0
  16. package/dist/dt_recipe_threshold.js.map +1 -0
  17. package/dist/dt_weight.d.ts +17 -0
  18. package/dist/dt_weight.js +4 -0
  19. package/dist/dt_weight.js.map +1 -0
  20. package/dist/enum_draft_shield.d.ts +14 -0
  21. package/dist/enum_draft_shield.js +20 -0
  22. package/dist/enum_draft_shield.js.map +1 -0
  23. package/dist/enum_edge_operator.d.ts +12 -0
  24. package/dist/enum_edge_operator.js +18 -0
  25. package/dist/enum_edge_operator.js.map +1 -0
  26. package/dist/enum_equality_and_relational_operator.d.ts +19 -0
  27. package/dist/enum_equality_and_relational_operator.js +25 -0
  28. package/dist/enum_equality_and_relational_operator.js.map +1 -0
  29. package/dist/enum_rate_control_mode.d.ts +12 -0
  30. package/dist/enum_rate_control_mode.js +18 -0
  31. package/dist/enum_rate_control_mode.js.map +1 -0
  32. package/dist/enum_tare_mode.d.ts +14 -0
  33. package/dist/enum_tare_mode.js +20 -0
  34. package/dist/enum_tare_mode.js.map +1 -0
  35. package/dist/enum_tolerance_state.d.ts +14 -0
  36. package/dist/enum_tolerance_state.js +20 -0
  37. package/dist/enum_tolerance_state.js.map +1 -0
  38. package/dist/index.d.ts +70 -0
  39. package/dist/index.js +87 -0
  40. package/dist/index.js.map +1 -0
  41. package/dist/ua_accepted_statistic_counter.d.ts +12 -0
  42. package/dist/ua_accepted_statistic_counter.js +3 -0
  43. package/dist/ua_accepted_statistic_counter.js.map +1 -0
  44. package/dist/ua_activation.d.ts +36 -0
  45. package/dist/ua_activation.js +3 -0
  46. package/dist/ua_activation.js.map +1 -0
  47. package/dist/ua_analog_condition_sleep.d.ts +31 -0
  48. package/dist/ua_analog_condition_sleep.js +3 -0
  49. package/dist/ua_analog_condition_sleep.js.map +1 -0
  50. package/dist/ua_automatic_filling_product.d.ts +75 -0
  51. package/dist/ua_automatic_filling_product.js +3 -0
  52. package/dist/ua_automatic_filling_product.js.map +1 -0
  53. package/dist/ua_automatic_filling_scale.d.ts +39 -0
  54. package/dist/ua_automatic_filling_scale.js +3 -0
  55. package/dist/ua_automatic_filling_scale.js.map +1 -0
  56. package/dist/ua_automatic_weight_price_labeler.d.ts +21 -0
  57. package/dist/ua_automatic_weight_price_labeler.js +3 -0
  58. package/dist/ua_automatic_weight_price_labeler.js.map +1 -0
  59. package/dist/ua_automatic_weight_price_labeler_product.d.ts +30 -0
  60. package/dist/ua_automatic_weight_price_labeler_product.js +3 -0
  61. package/dist/ua_automatic_weight_price_labeler_product.js.map +1 -0
  62. package/dist/ua_catchweigher.d.ts +22 -0
  63. package/dist/ua_catchweigher.js +3 -0
  64. package/dist/ua_catchweigher.js.map +1 -0
  65. package/dist/ua_catchweigher_product.d.ts +45 -0
  66. package/dist/ua_catchweigher_product.js +3 -0
  67. package/dist/ua_catchweigher_product.js.map +1 -0
  68. package/dist/ua_checkweigher.d.ts +28 -0
  69. package/dist/ua_checkweigher.js +3 -0
  70. package/dist/ua_checkweigher.js.map +1 -0
  71. package/dist/ua_checkweigher_product.d.ts +32 -0
  72. package/dist/ua_checkweigher_product.js +3 -0
  73. package/dist/ua_checkweigher_product.js.map +1 -0
  74. package/dist/ua_checkweigher_statistic.d.ts +40 -0
  75. package/dist/ua_checkweigher_statistic.js +3 -0
  76. package/dist/ua_checkweigher_statistic.js.map +1 -0
  77. package/dist/ua_condition_sleep.d.ts +50 -0
  78. package/dist/ua_condition_sleep.js +3 -0
  79. package/dist/ua_condition_sleep.js.map +1 -0
  80. package/dist/ua_continuous_product.d.ts +34 -0
  81. package/dist/ua_continuous_product.js +3 -0
  82. package/dist/ua_continuous_product.js.map +1 -0
  83. package/dist/ua_continuous_scale.d.ts +55 -0
  84. package/dist/ua_continuous_scale.js +3 -0
  85. package/dist/ua_continuous_scale.js.map +1 -0
  86. package/dist/ua_edge_triggered_sleep.d.ts +31 -0
  87. package/dist/ua_edge_triggered_sleep.js +3 -0
  88. package/dist/ua_edge_triggered_sleep.js.map +1 -0
  89. package/dist/ua_feeder_module.d.ts +68 -0
  90. package/dist/ua_feeder_module.js +3 -0
  91. package/dist/ua_feeder_module.js.map +1 -0
  92. package/dist/ua_floating_statistic.d.ts +22 -0
  93. package/dist/ua_floating_statistic.js +3 -0
  94. package/dist/ua_floating_statistic.js.map +1 -0
  95. package/dist/ua_hopper_scale.d.ts +52 -0
  96. package/dist/ua_hopper_scale.js +3 -0
  97. package/dist/ua_hopper_scale.js.map +1 -0
  98. package/dist/ua_laboratory_scale.d.ts +55 -0
  99. package/dist/ua_laboratory_scale.js +3 -0
  100. package/dist/ua_laboratory_scale.js.map +1 -0
  101. package/dist/ua_loss_in_weight_scale.d.ts +33 -0
  102. package/dist/ua_loss_in_weight_scale.js +3 -0
  103. package/dist/ua_loss_in_weight_scale.js.map +1 -0
  104. package/dist/ua_material.d.ts +29 -0
  105. package/dist/ua_material.js +3 -0
  106. package/dist/ua_material.js.map +1 -0
  107. package/dist/ua_material_automatic.d.ts +23 -0
  108. package/dist/ua_material_automatic.js +3 -0
  109. package/dist/ua_material_automatic.js.map +1 -0
  110. package/dist/ua_measured_item.d.ts +30 -0
  111. package/dist/ua_measured_item.js +3 -0
  112. package/dist/ua_measured_item.js.map +1 -0
  113. package/dist/ua_piece_counting_product.d.ts +117 -0
  114. package/dist/ua_piece_counting_product.js +3 -0
  115. package/dist/ua_piece_counting_product.js.map +1 -0
  116. package/dist/ua_piece_counting_scale.d.ts +39 -0
  117. package/dist/ua_piece_counting_scale.js +3 -0
  118. package/dist/ua_piece_counting_scale.js.map +1 -0
  119. package/dist/ua_price_item.d.ts +26 -0
  120. package/dist/ua_price_item.js +3 -0
  121. package/dist/ua_price_item.js.map +1 -0
  122. package/dist/ua_printer_module.d.ts +66 -0
  123. package/dist/ua_printer_module.js +3 -0
  124. package/dist/ua_printer_module.js.map +1 -0
  125. package/dist/ua_product.d.ts +62 -0
  126. package/dist/ua_product.js +3 -0
  127. package/dist/ua_product.js.map +1 -0
  128. package/dist/ua_production_preset.d.ts +31 -0
  129. package/dist/ua_production_preset.js +3 -0
  130. package/dist/ua_production_preset.js.map +1 -0
  131. package/dist/ua_recipe.d.ts +41 -0
  132. package/dist/ua_recipe.js +3 -0
  133. package/dist/ua_recipe.js.map +1 -0
  134. package/dist/ua_recipe_element.d.ts +15 -0
  135. package/dist/ua_recipe_element.js +3 -0
  136. package/dist/ua_recipe_element.js.map +1 -0
  137. package/dist/ua_recipe_management.d.ts +18 -0
  138. package/dist/ua_recipe_management.js +3 -0
  139. package/dist/ua_recipe_management.js.map +1 -0
  140. package/dist/ua_recipe_product.d.ts +39 -0
  141. package/dist/ua_recipe_product.js +3 -0
  142. package/dist/ua_recipe_product.js.map +1 -0
  143. package/dist/ua_recipe_scale.d.ts +58 -0
  144. package/dist/ua_recipe_scale.js +3 -0
  145. package/dist/ua_recipe_scale.js.map +1 -0
  146. package/dist/ua_rejected_statistic_counter.d.ts +12 -0
  147. package/dist/ua_rejected_statistic_counter.js +3 -0
  148. package/dist/ua_rejected_statistic_counter.js.map +1 -0
  149. package/dist/ua_scale_alarm.d.ts +23 -0
  150. package/dist/ua_scale_alarm.js +3 -0
  151. package/dist/ua_scale_alarm.js.map +1 -0
  152. package/dist/ua_scale_device.d.ts +93 -0
  153. package/dist/ua_scale_device.js +3 -0
  154. package/dist/ua_scale_device.js.map +1 -0
  155. package/dist/ua_scale_event.d.ts +23 -0
  156. package/dist/ua_scale_event.js +3 -0
  157. package/dist/ua_scale_event.js.map +1 -0
  158. package/dist/ua_scale_system.d.ts +74 -0
  159. package/dist/ua_scale_system.js +3 -0
  160. package/dist/ua_scale_system.js.map +1 -0
  161. package/dist/ua_simple_product.d.ts +25 -0
  162. package/dist/ua_simple_product.js +3 -0
  163. package/dist/ua_simple_product.js.map +1 -0
  164. package/dist/ua_simple_scale.d.ts +21 -0
  165. package/dist/ua_simple_scale.js +3 -0
  166. package/dist/ua_simple_scale.js.map +1 -0
  167. package/dist/ua_statistic.d.ts +58 -0
  168. package/dist/ua_statistic.js +3 -0
  169. package/dist/ua_statistic.js.map +1 -0
  170. package/dist/ua_statistic_counter.d.ts +51 -0
  171. package/dist/ua_statistic_counter.js +3 -0
  172. package/dist/ua_statistic_counter.js.map +1 -0
  173. package/dist/ua_target_item.d.ts +24 -0
  174. package/dist/ua_target_item.js +3 -0
  175. package/dist/ua_target_item.js.map +1 -0
  176. package/dist/ua_timer.d.ts +25 -0
  177. package/dist/ua_timer.js +3 -0
  178. package/dist/ua_timer.js.map +1 -0
  179. package/dist/ua_totalizer.d.ts +26 -0
  180. package/dist/ua_totalizer.js +3 -0
  181. package/dist/ua_totalizer.js.map +1 -0
  182. package/dist/ua_totalizing_hopper_product.d.ts +28 -0
  183. package/dist/ua_totalizing_hopper_product.js +3 -0
  184. package/dist/ua_totalizing_hopper_product.js.map +1 -0
  185. package/dist/ua_totalizing_hopper_scale.d.ts +21 -0
  186. package/dist/ua_totalizing_hopper_scale.js +3 -0
  187. package/dist/ua_totalizing_hopper_scale.js.map +1 -0
  188. package/dist/ua_user_instruction.d.ts +34 -0
  189. package/dist/ua_user_instruction.js +3 -0
  190. package/dist/ua_user_instruction.js.map +1 -0
  191. package/dist/ua_vehicle_product.d.ts +61 -0
  192. package/dist/ua_vehicle_product.js +3 -0
  193. package/dist/ua_vehicle_product.js.map +1 -0
  194. package/dist/ua_vehicle_scale.d.ts +23 -0
  195. package/dist/ua_vehicle_scale.js +3 -0
  196. package/dist/ua_vehicle_scale.js.map +1 -0
  197. package/dist/ua_weighing.d.ts +40 -0
  198. package/dist/ua_weighing.js +3 -0
  199. package/dist/ua_weighing.js.map +1 -0
  200. package/dist/ua_weighing_item.d.ts +55 -0
  201. package/dist/ua_weighing_item.js +3 -0
  202. package/dist/ua_weighing_item.js.map +1 -0
  203. package/dist/ua_weighing_module.d.ts +14 -0
  204. package/dist/ua_weighing_module.js +3 -0
  205. package/dist/ua_weighing_module.js.map +1 -0
  206. package/dist/ua_weighing_range_element.d.ts +49 -0
  207. package/dist/ua_weighing_range_element.js +3 -0
  208. package/dist/ua_weighing_range_element.js.map +1 -0
  209. package/dist/ua_weight_item.d.ts +44 -0
  210. package/dist/ua_weight_item.js +3 -0
  211. package/dist/ua_weight_item.js.map +1 -0
  212. package/dist/ua_zone.d.ts +43 -0
  213. package/dist/ua_zone.js +3 -0
  214. package/dist/ua_zone.js.map +1 -0
  215. package/package.json +45 -0
  216. package/source/dt_abstract_weight.ts +11 -0
  217. package/source/dt_printable_weight.ts +18 -0
  218. package/source/dt_recipe_report_element.ts +17 -0
  219. package/source/dt_recipe_target_value.ts +20 -0
  220. package/source/dt_recipe_threshold.ts +20 -0
  221. package/source/dt_weight.ts +17 -0
  222. package/source/enum_draft_shield.ts +16 -0
  223. package/source/enum_edge_operator.ts +14 -0
  224. package/source/enum_equality_and_relational_operator.ts +21 -0
  225. package/source/enum_rate_control_mode.ts +14 -0
  226. package/source/enum_tare_mode.ts +16 -0
  227. package/source/enum_tolerance_state.ts +16 -0
  228. package/source/index.ts +70 -0
  229. package/source/ua_accepted_statistic_counter.ts +13 -0
  230. package/source/ua_activation.ts +37 -0
  231. package/source/ua_analog_condition_sleep.ts +32 -0
  232. package/source/ua_automatic_filling_product.ts +76 -0
  233. package/source/ua_automatic_filling_scale.ts +40 -0
  234. package/source/ua_automatic_weight_price_labeler.ts +22 -0
  235. package/source/ua_automatic_weight_price_labeler_product.ts +31 -0
  236. package/source/ua_catchweigher.ts +23 -0
  237. package/source/ua_catchweigher_product.ts +47 -0
  238. package/source/ua_checkweigher.ts +29 -0
  239. package/source/ua_checkweigher_product.ts +33 -0
  240. package/source/ua_checkweigher_statistic.ts +43 -0
  241. package/source/ua_condition_sleep.ts +51 -0
  242. package/source/ua_continuous_product.ts +35 -0
  243. package/source/ua_continuous_scale.ts +57 -0
  244. package/source/ua_edge_triggered_sleep.ts +32 -0
  245. package/source/ua_feeder_module.ts +69 -0
  246. package/source/ua_floating_statistic.ts +23 -0
  247. package/source/ua_hopper_scale.ts +54 -0
  248. package/source/ua_laboratory_scale.ts +56 -0
  249. package/source/ua_loss_in_weight_scale.ts +34 -0
  250. package/source/ua_material.ts +30 -0
  251. package/source/ua_material_automatic.ts +24 -0
  252. package/source/ua_measured_item.ts +31 -0
  253. package/source/ua_piece_counting_product.ts +118 -0
  254. package/source/ua_piece_counting_scale.ts +40 -0
  255. package/source/ua_price_item.ts +27 -0
  256. package/source/ua_printer_module.ts +67 -0
  257. package/source/ua_product.ts +63 -0
  258. package/source/ua_production_preset.ts +32 -0
  259. package/source/ua_recipe.ts +42 -0
  260. package/source/ua_recipe_element.ts +16 -0
  261. package/source/ua_recipe_management.ts +20 -0
  262. package/source/ua_recipe_product.ts +40 -0
  263. package/source/ua_recipe_scale.ts +60 -0
  264. package/source/ua_rejected_statistic_counter.ts +13 -0
  265. package/source/ua_scale_alarm.ts +24 -0
  266. package/source/ua_scale_device.ts +95 -0
  267. package/source/ua_scale_event.ts +24 -0
  268. package/source/ua_scale_system.ts +75 -0
  269. package/source/ua_simple_product.ts +26 -0
  270. package/source/ua_simple_scale.ts +22 -0
  271. package/source/ua_statistic.ts +59 -0
  272. package/source/ua_statistic_counter.ts +52 -0
  273. package/source/ua_target_item.ts +25 -0
  274. package/source/ua_timer.ts +26 -0
  275. package/source/ua_totalizer.ts +27 -0
  276. package/source/ua_totalizing_hopper_product.ts +29 -0
  277. package/source/ua_totalizing_hopper_scale.ts +22 -0
  278. package/source/ua_user_instruction.ts +35 -0
  279. package/source/ua_vehicle_product.ts +62 -0
  280. package/source/ua_vehicle_scale.ts +24 -0
  281. package/source/ua_weighing.ts +41 -0
  282. package/source/ua_weighing_item.ts +56 -0
  283. package/source/ua_weighing_module.ts +15 -0
  284. package/source/ua_weighing_range_element.ts +50 -0
  285. package/source/ua_weight_item.ts +45 -0
  286. package/source/ua_zone.ts +44 -0
@@ -0,0 +1,40 @@
1
+ import { DataType } from "node-opcua-variant";
2
+ import { NodeId } from "node-opcua-nodeid";
3
+ import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
4
+ import { UARecipeElement, UARecipeElement_Base } from "./ua_recipe_element";
5
+ import { UAMaterial } from "./ua_material";
6
+ import { UATargetItem } from "./ua_target_item";
7
+ /**
8
+ * Represents a weighing process in a recipe. The
9
+ * process can be an automatic or manual filling
10
+ * process.
11
+ *
12
+ * | | |
13
+ * |----------------|------------------------------------------------------------|
14
+ * |namespace |http://opcfoundation.org/UA/Scales/V2/ |
15
+ * |nodeClass |ObjectType |
16
+ * |typedDefinition |WeighingType i=34 |
17
+ * |isAbstract |false |
18
+ */
19
+ export interface UAWeighing_Base extends UARecipeElement_Base {
20
+ /**
21
+ * material
22
+ * Defines the material which needs to be measured.
23
+ * Each material has different characteristics that
24
+ * are defined in MaterialType.
25
+ */
26
+ material?: UAMaterial;
27
+ /**
28
+ * targetWeight
29
+ * Defines the preset of the volume to be processed.
30
+ */
31
+ targetWeight: UATargetItem<any, any>;
32
+ /**
33
+ * weighingModuleNodeId
34
+ * Defines the Id of the load cell which is used for
35
+ * weighing the product.
36
+ */
37
+ weighingModuleNodeId: UABaseDataVariable<NodeId, DataType.NodeId>;
38
+ }
39
+ export interface UAWeighing extends UARecipeElement, UAWeighing_Base {
40
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_weighing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_weighing.js","sourceRoot":"","sources":["../source/ua_weighing.ts"],"names":[],"mappings":""}
@@ -0,0 +1,55 @@
1
+ import { UAObject, UAProperty } from "node-opcua-address-space-base";
2
+ import { DataType } from "node-opcua-variant";
3
+ import { UAString } from "node-opcua-basic-types";
4
+ import { UAAnalogUnit } from "node-opcua-nodeset-ua/dist/ua_analog_unit";
5
+ import { DTWeight } from "./dt_weight";
6
+ import { UAWeightItem } from "./ua_weight_item";
7
+ /**
8
+ * | | |
9
+ * |----------------|------------------------------------------------------------|
10
+ * |namespace |http://opcfoundation.org/UA/Scales/V2/ |
11
+ * |nodeClass |ObjectType |
12
+ * |typedDefinition |WeighingItemType i=24 |
13
+ * |isAbstract |false |
14
+ */
15
+ export interface UAWeighingItem_Base {
16
+ /**
17
+ * itemId
18
+ * Defines a unique number that is assigned to an
19
+ * item.
20
+ */
21
+ itemId?: UAProperty<UAString, DataType.String>;
22
+ /**
23
+ * measuredHeight
24
+ * Defines the maximum height (in direction of
25
+ * travel) of the measured item.
26
+ */
27
+ measuredHeight?: UAAnalogUnit<any, any>;
28
+ /**
29
+ * measuredLength
30
+ * Defines the maximum measured length (in direction
31
+ * of travel) of the measured item.
32
+ */
33
+ measuredLength?: UAAnalogUnit<any, any>;
34
+ /**
35
+ * measuredVolume
36
+ * Defines the volume of the item.
37
+ */
38
+ measuredVolume?: UAAnalogUnit<any, any>;
39
+ /**
40
+ * measuredWeight
41
+ * Defines the registered weight that may be
42
+ * unmistakeable referenced to one item.
43
+ */
44
+ measuredWeight: UAWeightItem<DTWeight>;
45
+ /**
46
+ * measuredWidth
47
+ * Defines the maximum width (in third possible
48
+ * orthogonal direction to height and length) of the
49
+ * measured item.
50
+ */
51
+ measuredWidth?: UAAnalogUnit<any, any>;
52
+ zoneName?: UAProperty<UAString, DataType.String>;
53
+ }
54
+ export interface UAWeighingItem extends UAObject, UAWeighingItem_Base {
55
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_weighing_item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_weighing_item.js","sourceRoot":"","sources":["../source/ua_weighing_item.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { UASimpleScale, UASimpleScale_Base } from "./ua_simple_scale";
2
+ /**
3
+ * Represents a weighing bridge.
4
+ *
5
+ * | | |
6
+ * |----------------|------------------------------------------------------------|
7
+ * |namespace |http://opcfoundation.org/UA/Scales/V2/ |
8
+ * |nodeClass |ObjectType |
9
+ * |typedDefinition |WeighingModuleType i=1 |
10
+ * |isAbstract |false |
11
+ */
12
+ export type UAWeighingModule_Base = UASimpleScale_Base;
13
+ export interface UAWeighingModule extends UASimpleScale, UAWeighingModule_Base {
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_weighing_module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_weighing_module.js","sourceRoot":"","sources":["../source/ua_weighing_module.ts"],"names":[],"mappings":""}
@@ -0,0 +1,49 @@
1
+ import { UAObject, UAProperty } from "node-opcua-address-space-base";
2
+ import { DataType } from "node-opcua-variant";
3
+ import { EUInformation } from "node-opcua-data-access";
4
+ import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
5
+ import { UAAnalogUnit } from "node-opcua-nodeset-ua/dist/ua_analog_unit";
6
+ import { DTRange } from "node-opcua-nodeset-ua/dist/dt_range";
7
+ export interface UAWeighingRangeElement_range<T, DT extends DataType> extends UABaseDataVariable<T, DT> {
8
+ engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
9
+ }
10
+ /**
11
+ * For each weighing range a scale supports the OPC
12
+ * UA server provides an object of
13
+ * WeighingRangeElementType that contains the
14
+ * propertys of the weighing range like the
15
+ * ScaleDivision.
16
+ *
17
+ * | | |
18
+ * |----------------|------------------------------------------------------------|
19
+ * |namespace |http://opcfoundation.org/UA/Scales/V2/ |
20
+ * |nodeClass |ObjectType |
21
+ * |typedDefinition |WeighingRangeElementType i=23 |
22
+ * |isAbstract |false |
23
+ */
24
+ export interface UAWeighingRangeElement_Base {
25
+ /**
26
+ * actualScaleInterval
27
+ * Value expressed in units of mass of the
28
+ * difference between two consecutive indicated
29
+ * values, for digital indication ("d" as described
30
+ * in Welmec /OIML).
31
+ */
32
+ actualScaleInterval: UAAnalogUnit<number, DataType.Double>;
33
+ /**
34
+ * range
35
+ * Defines the range within the scale may be
36
+ * operated depending on the additional parameters
37
+ * within this type.
38
+ */
39
+ range: UAWeighingRangeElement_range<DTRange, DataType.ExtensionObject>;
40
+ /**
41
+ * verificationScaleInterval
42
+ * Value, expressed in units of mass, used for the
43
+ * classification and verification of an instrument.
44
+ * ("e" as described in Welmec /OIML)
45
+ */
46
+ verificationScaleInterval: UAAnalogUnit<number, DataType.Double>;
47
+ }
48
+ export interface UAWeighingRangeElement extends UAObject, UAWeighingRangeElement_Base {
49
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_weighing_range_element.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_weighing_range_element.js","sourceRoot":"","sources":["../source/ua_weighing_range_element.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
1
+ import { UAProperty } from "node-opcua-address-space-base";
2
+ import { DataType } from "node-opcua-variant";
3
+ import { UInt16, UAString } from "node-opcua-basic-types";
4
+ import { UAMeasuredItem, UAMeasuredItem_Base } from "./ua_measured_item";
5
+ import { DTWeight } from "./dt_weight";
6
+ import { DTPrintableWeight } from "./dt_printable_weight";
7
+ import { EnumTareMode } from "./enum_tare_mode";
8
+ /**
9
+ * | | |
10
+ * |----------------|------------------------------------------------------------|
11
+ * |namespace |http://opcfoundation.org/UA/Scales/V2/ |
12
+ * |nodeClass |VariableType |
13
+ * |typedDefinition |WeightItemType i=53 |
14
+ * |dataType |ExtensionObject |
15
+ * |dataType Name |DTWeight i=55 |
16
+ * |value rank |-1 |
17
+ * |isAbstract |false |
18
+ */
19
+ export interface UAWeightItem_Base<T extends DTWeight> extends UAMeasuredItem_Base<T, DataType.ExtensionObject> {
20
+ centerOfZero?: UAProperty<boolean, DataType.Boolean>;
21
+ currentRangeId?: UAProperty<UInt16, DataType.UInt16>;
22
+ gross?: UAProperty<number, DataType.Double>;
23
+ grossNegative?: UAProperty<boolean, DataType.Boolean>;
24
+ highResolutionValue?: UAProperty<DTWeight, DataType.ExtensionObject>;
25
+ /**
26
+ * insideZero
27
+ * Defines if the current measured value is within
28
+ * the valid range for the setting zero procedure.
29
+ * This is a necessary condition to success the
30
+ * setZero() method if available.
31
+ */
32
+ insideZero?: UAProperty<boolean, DataType.Boolean>;
33
+ legalForTrade?: UAProperty<boolean, DataType.Boolean>;
34
+ net?: UAProperty<number, DataType.Double>;
35
+ overload: UAProperty<boolean, DataType.Boolean>;
36
+ printableValue?: UAProperty<DTPrintableWeight, DataType.ExtensionObject>;
37
+ tare?: UAProperty<number, DataType.Double>;
38
+ tareMode: UAProperty<EnumTareMode, DataType.Int32>;
39
+ underload: UAProperty<boolean, DataType.Boolean>;
40
+ weightId?: UAProperty<UAString, DataType.String>;
41
+ weightStable?: UAProperty<boolean, DataType.Boolean>;
42
+ }
43
+ export interface UAWeightItem<T extends DTWeight> extends UAMeasuredItem<T, DataType.ExtensionObject>, UAWeightItem_Base<T> {
44
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_weight_item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_weight_item.js","sourceRoot":"","sources":["../source/ua_weight_item.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
1
+ import { UAObject } from "node-opcua-address-space-base";
2
+ import { DataType } from "node-opcua-variant";
3
+ import { LocalizedText } from "node-opcua-data-model";
4
+ import { UAAnalogUnit } from "node-opcua-nodeset-ua/dist/ua_analog_unit";
5
+ import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable";
6
+ import { UAStatisticCounter } from "./ua_statistic_counter";
7
+ /**
8
+ * Container for the weighing zones in a
9
+ * Checkweigher.
10
+ *
11
+ * | | |
12
+ * |----------------|------------------------------------------------------------|
13
+ * |namespace |http://opcfoundation.org/UA/Scales/V2/ |
14
+ * |nodeClass |ObjectType |
15
+ * |typedDefinition |ZoneType i=42 |
16
+ * |isAbstract |false |
17
+ */
18
+ export interface UAZone_Base {
19
+ /**
20
+ * lowerLimit
21
+ * Defines the lower weight limit of this zone. The
22
+ * lower limit is prior to the upper limit if two
23
+ * zones are beside each other.
24
+ */
25
+ lowerLimit: UAAnalogUnit<any, any>;
26
+ /**
27
+ * name
28
+ * Defines the user-readable name of the zone.
29
+ */
30
+ name: UABaseDataVariable<LocalizedText, DataType.LocalizedText>;
31
+ /**
32
+ * upperLimit
33
+ * Defines the upper weight limit of this zone.
34
+ */
35
+ upperLimit: UAAnalogUnit<any, any>;
36
+ /**
37
+ * zoneStatistic
38
+ * Contains statistics regarding this zone.
39
+ */
40
+ zoneStatistic?: UAStatisticCounter;
41
+ }
42
+ export interface UAZone extends UAObject, UAZone_Base {
43
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ua_zone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ua_zone.js","sourceRoot":"","sources":["../source/ua_zone.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "node-opcua-nodeset-scales-v-2",
3
+ "version": "2.154.0",
4
+ "description": "pure nodejs OPCUA SDK - module node-opcua-nodeset-scales-v-2",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "clean": "npx rimraf -g dist *.tsbuildinfo",
9
+ "build": "tsc -b"
10
+ },
11
+ "author": "Etienne Rossignon <etienne.rossignon@sterfive.com>",
12
+ "license": "MIT",
13
+ "dependencies": {
14
+ "node-opcua-address-space-base": "2.154.0",
15
+ "node-opcua-basic-types": "2.154.0",
16
+ "node-opcua-data-access": "2.154.0",
17
+ "node-opcua-data-model": "2.154.0",
18
+ "node-opcua-extension-object": "2.154.0",
19
+ "node-opcua-nodeid": "2.153.0",
20
+ "node-opcua-nodeset-di": "2.154.0",
21
+ "node-opcua-nodeset-machinery": "2.154.0",
22
+ "node-opcua-nodeset-pack-ml": "2.154.0",
23
+ "node-opcua-nodeset-ua": "2.154.0",
24
+ "node-opcua-status-code": "2.153.0",
25
+ "node-opcua-variant": "2.154.0"
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "source"
30
+ ],
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git://github.com/node-opcua/node-opcua.git"
34
+ },
35
+ "keywords": [
36
+ "OPCUA",
37
+ "opcua",
38
+ "m2m",
39
+ "iot",
40
+ "opc ua",
41
+ "internet of things"
42
+ ],
43
+ "homepage": "http://node-opcua.github.io/",
44
+ "gitHead": "134c73195f93f46c0101b2837bed22754156c916"
45
+ }
@@ -0,0 +1,11 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { DTStructure } from "node-opcua-nodeset-ua/dist/dt_structure"
3
+ /**
4
+ * | | |
5
+ * |-----------|------------------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/Scales/V2/ |
7
+ * | nodeClass |DataType |
8
+ * | name |AbstractWeightType |
9
+ * | isAbstract|true |
10
+ */
11
+ export type DTAbstractWeight = DTStructure;
@@ -0,0 +1,18 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { UAString } from "node-opcua-basic-types"
3
+ import { ExtensionObject } from "node-opcua-extension-object"
4
+ import { DTAbstractWeight } from "./dt_abstract_weight"
5
+ /**
6
+ * | | |
7
+ * |-----------|------------------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/Scales/V2/ |
9
+ * | nodeClass |DataType |
10
+ * | name |PrintableWeightType |
11
+ * | isAbstract|false |
12
+ */
13
+ export interface DTPrintableWeight extends DTAbstractWeight {
14
+ gross: UAString; // String ns=0;i=12
15
+ net: UAString; // String ns=0;i=12
16
+ tare: UAString; // String ns=0;i=12
17
+ }
18
+ export interface UDTPrintableWeight extends ExtensionObject, DTPrintableWeight {};
@@ -0,0 +1,17 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { LocalizedText } from "node-opcua-data-model"
3
+ import { ExtensionObject } from "node-opcua-extension-object"
4
+ import { DTStructure } from "node-opcua-nodeset-ua/dist/dt_structure"
5
+ /**
6
+ * | | |
7
+ * |-----------|------------------------------------------------------------|
8
+ * | namespace |http://opcfoundation.org/UA/Scales/V2/ |
9
+ * | nodeClass |DataType |
10
+ * | name |RecipeReportElementType |
11
+ * | isAbstract|false |
12
+ */
13
+ export interface DTRecipeReportElement extends DTStructure {
14
+ reportMessage: LocalizedText; // LocalizedText ns=0;i=21
15
+ timestamp: Date; // DateTime ns=0;i=294
16
+ }
17
+ export interface UDTRecipeReportElement extends ExtensionObject, DTRecipeReportElement {};
@@ -0,0 +1,20 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { LocalizedText } from "node-opcua-data-model"
3
+ import { NodeId } from "node-opcua-nodeid"
4
+ import { UInt32 } from "node-opcua-basic-types"
5
+ import { ExtensionObject } from "node-opcua-extension-object"
6
+ import { DTStructure } from "node-opcua-nodeset-ua/dist/dt_structure"
7
+ /**
8
+ * | | |
9
+ * |-----------|------------------------------------------------------------|
10
+ * | namespace |http://opcfoundation.org/UA/Scales/V2/ |
11
+ * | nodeClass |DataType |
12
+ * | name |RecipeTargetValueType |
13
+ * | isAbstract|false |
14
+ */
15
+ export interface DTRecipeTargetValue extends DTStructure {
16
+ targetValueId: UInt32; // UInt32 ns=0;i=7
17
+ targetValueNodeId?: NodeId; // NodeId ns=0;i=17
18
+ targetValueName: LocalizedText; // LocalizedText ns=0;i=21
19
+ }
20
+ export interface UDTRecipeTargetValue extends ExtensionObject, DTRecipeTargetValue {};
@@ -0,0 +1,20 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { LocalizedText } from "node-opcua-data-model"
3
+ import { NodeId } from "node-opcua-nodeid"
4
+ import { UInt32 } from "node-opcua-basic-types"
5
+ import { ExtensionObject } from "node-opcua-extension-object"
6
+ import { DTStructure } from "node-opcua-nodeset-ua/dist/dt_structure"
7
+ /**
8
+ * | | |
9
+ * |-----------|------------------------------------------------------------|
10
+ * | namespace |http://opcfoundation.org/UA/Scales/V2/ |
11
+ * | nodeClass |DataType |
12
+ * | name |RecipeThresholdType |
13
+ * | isAbstract|false |
14
+ */
15
+ export interface DTRecipeThreshold extends DTStructure {
16
+ thresholdId: UInt32; // UInt32 ns=0;i=7
17
+ thresholdNodeId?: NodeId; // NodeId ns=0;i=17
18
+ thresholdName: LocalizedText; // LocalizedText ns=0;i=21
19
+ }
20
+ export interface UDTRecipeThreshold extends ExtensionObject, DTRecipeThreshold {};
@@ -0,0 +1,17 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+ import { ExtensionObject } from "node-opcua-extension-object"
3
+ import { DTAbstractWeight } from "./dt_abstract_weight"
4
+ /**
5
+ * | | |
6
+ * |-----------|------------------------------------------------------------|
7
+ * | namespace |http://opcfoundation.org/UA/Scales/V2/ |
8
+ * | nodeClass |DataType |
9
+ * | name |WeightType |
10
+ * | isAbstract|false |
11
+ */
12
+ export interface DTWeight extends DTAbstractWeight {
13
+ gross: number; // Double ns=0;i=11
14
+ net: number; // Double ns=0;i=11
15
+ tare: number; // Double ns=0;i=11
16
+ }
17
+ export interface UDTWeight extends ExtensionObject, DTWeight {};
@@ -0,0 +1,16 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * | | |
5
+ * |-----------|------------------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/Scales/V2/ |
7
+ * | nodeClass |DataType |
8
+ * | name |DraftShieldType |
9
+ * | isAbstract|false |
10
+ */
11
+ export enum EnumDraftShield {
12
+ Right_0 = 0,
13
+ Left_1 = 1,
14
+ Top_2 = 2,
15
+ All_3 = 3,
16
+ }
@@ -0,0 +1,14 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * | | |
5
+ * |-----------|------------------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/Scales/V2/ |
7
+ * | nodeClass |DataType |
8
+ * | name |EdgeOperator |
9
+ * | isAbstract|false |
10
+ */
11
+ export enum EnumEdgeOperator {
12
+ Rising_0 = 0,
13
+ Falling_1 = 1,
14
+ }
@@ -0,0 +1,21 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * This enumeration describes the different
5
+ * condition modes for an analog condition.
6
+ *
7
+ * | | |
8
+ * |-----------|------------------------------------------------------------|
9
+ * | namespace |http://opcfoundation.org/UA/Scales/V2/ |
10
+ * | nodeClass |DataType |
11
+ * | name |EqualityAndRelationalOperator |
12
+ * | isAbstract|false |
13
+ */
14
+ export enum EnumEqualityAndRelationalOperator {
15
+ Equal_0 = 0,
16
+ NotEqual_1 = 1,
17
+ LessOrEqualThan_2 = 2,
18
+ GreaterOrEqualThan_3 = 3,
19
+ LessThan_4 = 4,
20
+ GreaterThan_5 = 5,
21
+ }
@@ -0,0 +1,14 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * | | |
5
+ * |-----------|------------------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/Scales/V2/ |
7
+ * | nodeClass |DataType |
8
+ * | name |RateControlMode |
9
+ * | isAbstract|false |
10
+ */
11
+ export enum EnumRateControlMode {
12
+ Gravimetric_0 = 0,
13
+ Volumetric_1 = 1,
14
+ }
@@ -0,0 +1,16 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * | | |
5
+ * |-----------|------------------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/Scales/V2/ |
7
+ * | nodeClass |DataType |
8
+ * | name |TareMode |
9
+ * | isAbstract|false |
10
+ */
11
+ export enum EnumTareMode {
12
+ None_0 = 0,
13
+ MeasuredTare_1 = 1,
14
+ PresetTare_2 = 2,
15
+ ProportionalTare_3 = 3,
16
+ }
@@ -0,0 +1,16 @@
1
+ // ----- this file has been automatically generated - do not edit
2
+
3
+ /**
4
+ * | | |
5
+ * |-----------|------------------------------------------------------------|
6
+ * | namespace |http://opcfoundation.org/UA/Scales/V2/ |
7
+ * | nodeClass |DataType |
8
+ * | name |ToleranceState |
9
+ * | isAbstract|false |
10
+ */
11
+ export enum EnumToleranceState {
12
+ In_0 = 0,
13
+ Under_1 = 1,
14
+ Over_2 = 2,
15
+ UnderOrOver_3 = 3,
16
+ }
@@ -0,0 +1,70 @@
1
+ export * from "./dt_abstract_weight";
2
+ export * from "./dt_printable_weight";
3
+ export * from "./dt_recipe_report_element";
4
+ export * from "./dt_recipe_target_value";
5
+ export * from "./dt_recipe_threshold";
6
+ export * from "./dt_weight";
7
+ export * from "./enum_draft_shield";
8
+ export * from "./enum_edge_operator";
9
+ export * from "./enum_equality_and_relational_operator";
10
+ export * from "./enum_rate_control_mode";
11
+ export * from "./enum_tare_mode";
12
+ export * from "./enum_tolerance_state";
13
+ export * from "./ua_accepted_statistic_counter";
14
+ export * from "./ua_activation";
15
+ export * from "./ua_analog_condition_sleep";
16
+ export * from "./ua_automatic_filling_product";
17
+ export * from "./ua_automatic_filling_scale";
18
+ export * from "./ua_automatic_weight_price_labeler";
19
+ export * from "./ua_automatic_weight_price_labeler_product";
20
+ export * from "./ua_catchweigher";
21
+ export * from "./ua_catchweigher_product";
22
+ export * from "./ua_checkweigher";
23
+ export * from "./ua_checkweigher_product";
24
+ export * from "./ua_checkweigher_statistic";
25
+ export * from "./ua_condition_sleep";
26
+ export * from "./ua_continuous_product";
27
+ export * from "./ua_continuous_scale";
28
+ export * from "./ua_edge_triggered_sleep";
29
+ export * from "./ua_feeder_module";
30
+ export * from "./ua_floating_statistic";
31
+ export * from "./ua_hopper_scale";
32
+ export * from "./ua_laboratory_scale";
33
+ export * from "./ua_loss_in_weight_scale";
34
+ export * from "./ua_material";
35
+ export * from "./ua_material_automatic";
36
+ export * from "./ua_measured_item";
37
+ export * from "./ua_piece_counting_product";
38
+ export * from "./ua_piece_counting_scale";
39
+ export * from "./ua_price_item";
40
+ export * from "./ua_printer_module";
41
+ export * from "./ua_product";
42
+ export * from "./ua_production_preset";
43
+ export * from "./ua_recipe";
44
+ export * from "./ua_recipe_element";
45
+ export * from "./ua_recipe_management";
46
+ export * from "./ua_recipe_product";
47
+ export * from "./ua_recipe_scale";
48
+ export * from "./ua_rejected_statistic_counter";
49
+ export * from "./ua_scale_alarm";
50
+ export * from "./ua_scale_device";
51
+ export * from "./ua_scale_event";
52
+ export * from "./ua_scale_system";
53
+ export * from "./ua_simple_product";
54
+ export * from "./ua_simple_scale";
55
+ export * from "./ua_statistic";
56
+ export * from "./ua_statistic_counter";
57
+ export * from "./ua_target_item";
58
+ export * from "./ua_timer";
59
+ export * from "./ua_totalizer";
60
+ export * from "./ua_totalizing_hopper_product";
61
+ export * from "./ua_totalizing_hopper_scale";
62
+ export * from "./ua_user_instruction";
63
+ export * from "./ua_vehicle_product";
64
+ export * from "./ua_vehicle_scale";
65
+ export * from "./ua_weighing";
66
+ export * from "./ua_weighing_item";
67
+ export * from "./ua_weighing_module";
68
+ export * from "./ua_weighing_range_element";
69
+ export * from "./ua_weight_item";
70
+ export * from "./ua_zone";