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.
- package/LICENSE +23 -0
- package/dist/dt_abstract_weight.d.ts +10 -0
- package/dist/dt_abstract_weight.js +3 -0
- package/dist/dt_abstract_weight.js.map +1 -0
- package/dist/dt_printable_weight.d.ts +18 -0
- package/dist/dt_printable_weight.js +4 -0
- package/dist/dt_printable_weight.js.map +1 -0
- package/dist/dt_recipe_report_element.d.ts +17 -0
- package/dist/dt_recipe_report_element.js +4 -0
- package/dist/dt_recipe_report_element.js.map +1 -0
- package/dist/dt_recipe_target_value.d.ts +20 -0
- package/dist/dt_recipe_target_value.js +4 -0
- package/dist/dt_recipe_target_value.js.map +1 -0
- package/dist/dt_recipe_threshold.d.ts +20 -0
- package/dist/dt_recipe_threshold.js +4 -0
- package/dist/dt_recipe_threshold.js.map +1 -0
- package/dist/dt_weight.d.ts +17 -0
- package/dist/dt_weight.js +4 -0
- package/dist/dt_weight.js.map +1 -0
- package/dist/enum_draft_shield.d.ts +14 -0
- package/dist/enum_draft_shield.js +20 -0
- package/dist/enum_draft_shield.js.map +1 -0
- package/dist/enum_edge_operator.d.ts +12 -0
- package/dist/enum_edge_operator.js +18 -0
- package/dist/enum_edge_operator.js.map +1 -0
- package/dist/enum_equality_and_relational_operator.d.ts +19 -0
- package/dist/enum_equality_and_relational_operator.js +25 -0
- package/dist/enum_equality_and_relational_operator.js.map +1 -0
- package/dist/enum_rate_control_mode.d.ts +12 -0
- package/dist/enum_rate_control_mode.js +18 -0
- package/dist/enum_rate_control_mode.js.map +1 -0
- package/dist/enum_tare_mode.d.ts +14 -0
- package/dist/enum_tare_mode.js +20 -0
- package/dist/enum_tare_mode.js.map +1 -0
- package/dist/enum_tolerance_state.d.ts +14 -0
- package/dist/enum_tolerance_state.js +20 -0
- package/dist/enum_tolerance_state.js.map +1 -0
- package/dist/index.d.ts +70 -0
- package/dist/index.js +87 -0
- package/dist/index.js.map +1 -0
- package/dist/ua_accepted_statistic_counter.d.ts +12 -0
- package/dist/ua_accepted_statistic_counter.js +3 -0
- package/dist/ua_accepted_statistic_counter.js.map +1 -0
- package/dist/ua_activation.d.ts +36 -0
- package/dist/ua_activation.js +3 -0
- package/dist/ua_activation.js.map +1 -0
- package/dist/ua_analog_condition_sleep.d.ts +31 -0
- package/dist/ua_analog_condition_sleep.js +3 -0
- package/dist/ua_analog_condition_sleep.js.map +1 -0
- package/dist/ua_automatic_filling_product.d.ts +75 -0
- package/dist/ua_automatic_filling_product.js +3 -0
- package/dist/ua_automatic_filling_product.js.map +1 -0
- package/dist/ua_automatic_filling_scale.d.ts +39 -0
- package/dist/ua_automatic_filling_scale.js +3 -0
- package/dist/ua_automatic_filling_scale.js.map +1 -0
- package/dist/ua_automatic_weight_price_labeler.d.ts +21 -0
- package/dist/ua_automatic_weight_price_labeler.js +3 -0
- package/dist/ua_automatic_weight_price_labeler.js.map +1 -0
- package/dist/ua_automatic_weight_price_labeler_product.d.ts +30 -0
- package/dist/ua_automatic_weight_price_labeler_product.js +3 -0
- package/dist/ua_automatic_weight_price_labeler_product.js.map +1 -0
- package/dist/ua_catchweigher.d.ts +22 -0
- package/dist/ua_catchweigher.js +3 -0
- package/dist/ua_catchweigher.js.map +1 -0
- package/dist/ua_catchweigher_product.d.ts +45 -0
- package/dist/ua_catchweigher_product.js +3 -0
- package/dist/ua_catchweigher_product.js.map +1 -0
- package/dist/ua_checkweigher.d.ts +28 -0
- package/dist/ua_checkweigher.js +3 -0
- package/dist/ua_checkweigher.js.map +1 -0
- package/dist/ua_checkweigher_product.d.ts +32 -0
- package/dist/ua_checkweigher_product.js +3 -0
- package/dist/ua_checkweigher_product.js.map +1 -0
- package/dist/ua_checkweigher_statistic.d.ts +40 -0
- package/dist/ua_checkweigher_statistic.js +3 -0
- package/dist/ua_checkweigher_statistic.js.map +1 -0
- package/dist/ua_condition_sleep.d.ts +50 -0
- package/dist/ua_condition_sleep.js +3 -0
- package/dist/ua_condition_sleep.js.map +1 -0
- package/dist/ua_continuous_product.d.ts +34 -0
- package/dist/ua_continuous_product.js +3 -0
- package/dist/ua_continuous_product.js.map +1 -0
- package/dist/ua_continuous_scale.d.ts +55 -0
- package/dist/ua_continuous_scale.js +3 -0
- package/dist/ua_continuous_scale.js.map +1 -0
- package/dist/ua_edge_triggered_sleep.d.ts +31 -0
- package/dist/ua_edge_triggered_sleep.js +3 -0
- package/dist/ua_edge_triggered_sleep.js.map +1 -0
- package/dist/ua_feeder_module.d.ts +68 -0
- package/dist/ua_feeder_module.js +3 -0
- package/dist/ua_feeder_module.js.map +1 -0
- package/dist/ua_floating_statistic.d.ts +22 -0
- package/dist/ua_floating_statistic.js +3 -0
- package/dist/ua_floating_statistic.js.map +1 -0
- package/dist/ua_hopper_scale.d.ts +52 -0
- package/dist/ua_hopper_scale.js +3 -0
- package/dist/ua_hopper_scale.js.map +1 -0
- package/dist/ua_laboratory_scale.d.ts +55 -0
- package/dist/ua_laboratory_scale.js +3 -0
- package/dist/ua_laboratory_scale.js.map +1 -0
- package/dist/ua_loss_in_weight_scale.d.ts +33 -0
- package/dist/ua_loss_in_weight_scale.js +3 -0
- package/dist/ua_loss_in_weight_scale.js.map +1 -0
- package/dist/ua_material.d.ts +29 -0
- package/dist/ua_material.js +3 -0
- package/dist/ua_material.js.map +1 -0
- package/dist/ua_material_automatic.d.ts +23 -0
- package/dist/ua_material_automatic.js +3 -0
- package/dist/ua_material_automatic.js.map +1 -0
- package/dist/ua_measured_item.d.ts +30 -0
- package/dist/ua_measured_item.js +3 -0
- package/dist/ua_measured_item.js.map +1 -0
- package/dist/ua_piece_counting_product.d.ts +117 -0
- package/dist/ua_piece_counting_product.js +3 -0
- package/dist/ua_piece_counting_product.js.map +1 -0
- package/dist/ua_piece_counting_scale.d.ts +39 -0
- package/dist/ua_piece_counting_scale.js +3 -0
- package/dist/ua_piece_counting_scale.js.map +1 -0
- package/dist/ua_price_item.d.ts +26 -0
- package/dist/ua_price_item.js +3 -0
- package/dist/ua_price_item.js.map +1 -0
- package/dist/ua_printer_module.d.ts +66 -0
- package/dist/ua_printer_module.js +3 -0
- package/dist/ua_printer_module.js.map +1 -0
- package/dist/ua_product.d.ts +62 -0
- package/dist/ua_product.js +3 -0
- package/dist/ua_product.js.map +1 -0
- package/dist/ua_production_preset.d.ts +31 -0
- package/dist/ua_production_preset.js +3 -0
- package/dist/ua_production_preset.js.map +1 -0
- package/dist/ua_recipe.d.ts +41 -0
- package/dist/ua_recipe.js +3 -0
- package/dist/ua_recipe.js.map +1 -0
- package/dist/ua_recipe_element.d.ts +15 -0
- package/dist/ua_recipe_element.js +3 -0
- package/dist/ua_recipe_element.js.map +1 -0
- package/dist/ua_recipe_management.d.ts +18 -0
- package/dist/ua_recipe_management.js +3 -0
- package/dist/ua_recipe_management.js.map +1 -0
- package/dist/ua_recipe_product.d.ts +39 -0
- package/dist/ua_recipe_product.js +3 -0
- package/dist/ua_recipe_product.js.map +1 -0
- package/dist/ua_recipe_scale.d.ts +58 -0
- package/dist/ua_recipe_scale.js +3 -0
- package/dist/ua_recipe_scale.js.map +1 -0
- package/dist/ua_rejected_statistic_counter.d.ts +12 -0
- package/dist/ua_rejected_statistic_counter.js +3 -0
- package/dist/ua_rejected_statistic_counter.js.map +1 -0
- package/dist/ua_scale_alarm.d.ts +23 -0
- package/dist/ua_scale_alarm.js +3 -0
- package/dist/ua_scale_alarm.js.map +1 -0
- package/dist/ua_scale_device.d.ts +93 -0
- package/dist/ua_scale_device.js +3 -0
- package/dist/ua_scale_device.js.map +1 -0
- package/dist/ua_scale_event.d.ts +23 -0
- package/dist/ua_scale_event.js +3 -0
- package/dist/ua_scale_event.js.map +1 -0
- package/dist/ua_scale_system.d.ts +74 -0
- package/dist/ua_scale_system.js +3 -0
- package/dist/ua_scale_system.js.map +1 -0
- package/dist/ua_simple_product.d.ts +25 -0
- package/dist/ua_simple_product.js +3 -0
- package/dist/ua_simple_product.js.map +1 -0
- package/dist/ua_simple_scale.d.ts +21 -0
- package/dist/ua_simple_scale.js +3 -0
- package/dist/ua_simple_scale.js.map +1 -0
- package/dist/ua_statistic.d.ts +58 -0
- package/dist/ua_statistic.js +3 -0
- package/dist/ua_statistic.js.map +1 -0
- package/dist/ua_statistic_counter.d.ts +51 -0
- package/dist/ua_statistic_counter.js +3 -0
- package/dist/ua_statistic_counter.js.map +1 -0
- package/dist/ua_target_item.d.ts +24 -0
- package/dist/ua_target_item.js +3 -0
- package/dist/ua_target_item.js.map +1 -0
- package/dist/ua_timer.d.ts +25 -0
- package/dist/ua_timer.js +3 -0
- package/dist/ua_timer.js.map +1 -0
- package/dist/ua_totalizer.d.ts +26 -0
- package/dist/ua_totalizer.js +3 -0
- package/dist/ua_totalizer.js.map +1 -0
- package/dist/ua_totalizing_hopper_product.d.ts +28 -0
- package/dist/ua_totalizing_hopper_product.js +3 -0
- package/dist/ua_totalizing_hopper_product.js.map +1 -0
- package/dist/ua_totalizing_hopper_scale.d.ts +21 -0
- package/dist/ua_totalizing_hopper_scale.js +3 -0
- package/dist/ua_totalizing_hopper_scale.js.map +1 -0
- package/dist/ua_user_instruction.d.ts +34 -0
- package/dist/ua_user_instruction.js +3 -0
- package/dist/ua_user_instruction.js.map +1 -0
- package/dist/ua_vehicle_product.d.ts +61 -0
- package/dist/ua_vehicle_product.js +3 -0
- package/dist/ua_vehicle_product.js.map +1 -0
- package/dist/ua_vehicle_scale.d.ts +23 -0
- package/dist/ua_vehicle_scale.js +3 -0
- package/dist/ua_vehicle_scale.js.map +1 -0
- package/dist/ua_weighing.d.ts +40 -0
- package/dist/ua_weighing.js +3 -0
- package/dist/ua_weighing.js.map +1 -0
- package/dist/ua_weighing_item.d.ts +55 -0
- package/dist/ua_weighing_item.js +3 -0
- package/dist/ua_weighing_item.js.map +1 -0
- package/dist/ua_weighing_module.d.ts +14 -0
- package/dist/ua_weighing_module.js +3 -0
- package/dist/ua_weighing_module.js.map +1 -0
- package/dist/ua_weighing_range_element.d.ts +49 -0
- package/dist/ua_weighing_range_element.js +3 -0
- package/dist/ua_weighing_range_element.js.map +1 -0
- package/dist/ua_weight_item.d.ts +44 -0
- package/dist/ua_weight_item.js +3 -0
- package/dist/ua_weight_item.js.map +1 -0
- package/dist/ua_zone.d.ts +43 -0
- package/dist/ua_zone.js +3 -0
- package/dist/ua_zone.js.map +1 -0
- package/package.json +45 -0
- package/source/dt_abstract_weight.ts +11 -0
- package/source/dt_printable_weight.ts +18 -0
- package/source/dt_recipe_report_element.ts +17 -0
- package/source/dt_recipe_target_value.ts +20 -0
- package/source/dt_recipe_threshold.ts +20 -0
- package/source/dt_weight.ts +17 -0
- package/source/enum_draft_shield.ts +16 -0
- package/source/enum_edge_operator.ts +14 -0
- package/source/enum_equality_and_relational_operator.ts +21 -0
- package/source/enum_rate_control_mode.ts +14 -0
- package/source/enum_tare_mode.ts +16 -0
- package/source/enum_tolerance_state.ts +16 -0
- package/source/index.ts +70 -0
- package/source/ua_accepted_statistic_counter.ts +13 -0
- package/source/ua_activation.ts +37 -0
- package/source/ua_analog_condition_sleep.ts +32 -0
- package/source/ua_automatic_filling_product.ts +76 -0
- package/source/ua_automatic_filling_scale.ts +40 -0
- package/source/ua_automatic_weight_price_labeler.ts +22 -0
- package/source/ua_automatic_weight_price_labeler_product.ts +31 -0
- package/source/ua_catchweigher.ts +23 -0
- package/source/ua_catchweigher_product.ts +47 -0
- package/source/ua_checkweigher.ts +29 -0
- package/source/ua_checkweigher_product.ts +33 -0
- package/source/ua_checkweigher_statistic.ts +43 -0
- package/source/ua_condition_sleep.ts +51 -0
- package/source/ua_continuous_product.ts +35 -0
- package/source/ua_continuous_scale.ts +57 -0
- package/source/ua_edge_triggered_sleep.ts +32 -0
- package/source/ua_feeder_module.ts +69 -0
- package/source/ua_floating_statistic.ts +23 -0
- package/source/ua_hopper_scale.ts +54 -0
- package/source/ua_laboratory_scale.ts +56 -0
- package/source/ua_loss_in_weight_scale.ts +34 -0
- package/source/ua_material.ts +30 -0
- package/source/ua_material_automatic.ts +24 -0
- package/source/ua_measured_item.ts +31 -0
- package/source/ua_piece_counting_product.ts +118 -0
- package/source/ua_piece_counting_scale.ts +40 -0
- package/source/ua_price_item.ts +27 -0
- package/source/ua_printer_module.ts +67 -0
- package/source/ua_product.ts +63 -0
- package/source/ua_production_preset.ts +32 -0
- package/source/ua_recipe.ts +42 -0
- package/source/ua_recipe_element.ts +16 -0
- package/source/ua_recipe_management.ts +20 -0
- package/source/ua_recipe_product.ts +40 -0
- package/source/ua_recipe_scale.ts +60 -0
- package/source/ua_rejected_statistic_counter.ts +13 -0
- package/source/ua_scale_alarm.ts +24 -0
- package/source/ua_scale_device.ts +95 -0
- package/source/ua_scale_event.ts +24 -0
- package/source/ua_scale_system.ts +75 -0
- package/source/ua_simple_product.ts +26 -0
- package/source/ua_simple_scale.ts +22 -0
- package/source/ua_statistic.ts +59 -0
- package/source/ua_statistic_counter.ts +52 -0
- package/source/ua_target_item.ts +25 -0
- package/source/ua_timer.ts +26 -0
- package/source/ua_totalizer.ts +27 -0
- package/source/ua_totalizing_hopper_product.ts +29 -0
- package/source/ua_totalizing_hopper_scale.ts +22 -0
- package/source/ua_user_instruction.ts +35 -0
- package/source/ua_vehicle_product.ts +62 -0
- package/source/ua_vehicle_scale.ts +24 -0
- package/source/ua_weighing.ts +41 -0
- package/source/ua_weighing_item.ts +56 -0
- package/source/ua_weighing_module.ts +15 -0
- package/source/ua_weighing_range_element.ts +50 -0
- package/source/ua_weight_item.ts +45 -0
- package/source/ua_zone.ts +44 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAObject, UAMethod } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { UAString } from "node-opcua-basic-types"
|
|
5
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable"
|
|
6
|
+
import { UAFolder } from "node-opcua-nodeset-ua/dist/ua_folder"
|
|
7
|
+
/**
|
|
8
|
+
* Provides methods to manage the Production preset.
|
|
9
|
+
*
|
|
10
|
+
* | | |
|
|
11
|
+
* |----------------|------------------------------------------------------------|
|
|
12
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
13
|
+
* |nodeClass |ObjectType |
|
|
14
|
+
* |typedDefinition |ProductionPresetType i=14 |
|
|
15
|
+
* |isAbstract |false |
|
|
16
|
+
*/
|
|
17
|
+
export interface UAProductionPreset_Base {
|
|
18
|
+
addProduct?: UAMethod;
|
|
19
|
+
currentProducts?: UABaseDataVariable<UAString[], DataType.String>;
|
|
20
|
+
deselectProduct?: UAMethod;
|
|
21
|
+
/**
|
|
22
|
+
* products
|
|
23
|
+
* The products used in the scale aggregated in the
|
|
24
|
+
* Products Object.
|
|
25
|
+
*/
|
|
26
|
+
products?: UAFolder;
|
|
27
|
+
removeProduct?: UAMethod;
|
|
28
|
+
selectProduct?: UAMethod;
|
|
29
|
+
switchProduct?: UAMethod;
|
|
30
|
+
}
|
|
31
|
+
export interface UAProductionPreset extends UAObject, UAProductionPreset_Base {
|
|
32
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAObject, UAMethod, UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { LocalizedText } from "node-opcua-data-model"
|
|
5
|
+
import { UAString } from "node-opcua-basic-types"
|
|
6
|
+
import { UAFolder } from "node-opcua-nodeset-ua/dist/ua_folder"
|
|
7
|
+
import { UAFile } from "node-opcua-nodeset-ua/dist/ua_file"
|
|
8
|
+
/**
|
|
9
|
+
* Represents a recipe. It defines additional
|
|
10
|
+
* methods and properties required for managing a
|
|
11
|
+
* recipe.
|
|
12
|
+
*
|
|
13
|
+
* | | |
|
|
14
|
+
* |----------------|------------------------------------------------------------|
|
|
15
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
16
|
+
* |nodeClass |ObjectType |
|
|
17
|
+
* |typedDefinition |RecipeType i=31 |
|
|
18
|
+
* |isAbstract |false |
|
|
19
|
+
*/
|
|
20
|
+
export interface UARecipe_Base {
|
|
21
|
+
addRecipeElement?: UAMethod;
|
|
22
|
+
/**
|
|
23
|
+
* recipeElements
|
|
24
|
+
* Defines a Placeholder for all RecipeElements that
|
|
25
|
+
* are part of the Recipe.
|
|
26
|
+
*/
|
|
27
|
+
recipeElements?: UAFolder;
|
|
28
|
+
recipeFile?: UAFile;
|
|
29
|
+
/**
|
|
30
|
+
* recipeId
|
|
31
|
+
* RecipeId defines a unique identifier of a recipe.
|
|
32
|
+
*/
|
|
33
|
+
recipeId: UAProperty<UAString, DataType.String>;
|
|
34
|
+
/**
|
|
35
|
+
* recipeName
|
|
36
|
+
* Defines a user-readable name of the recipe.
|
|
37
|
+
*/
|
|
38
|
+
recipeName: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
39
|
+
removeRecipeElement?: UAMethod;
|
|
40
|
+
}
|
|
41
|
+
export interface UARecipe extends UAObject, UARecipe_Base {
|
|
42
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAObject } from "node-opcua-address-space-base"
|
|
3
|
+
/**
|
|
4
|
+
* Represents a step, process or action in a recipe.
|
|
5
|
+
*
|
|
6
|
+
* | | |
|
|
7
|
+
* |----------------|------------------------------------------------------------|
|
|
8
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
9
|
+
* |nodeClass |ObjectType |
|
|
10
|
+
* |typedDefinition |RecipeElementType i=32 |
|
|
11
|
+
* |isAbstract |true |
|
|
12
|
+
*/
|
|
13
|
+
export interface UARecipeElement_Base {
|
|
14
|
+
}
|
|
15
|
+
export interface UARecipeElement extends UAObject, UARecipeElement_Base {
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAObject, UAMethod } from "node-opcua-address-space-base"
|
|
3
|
+
/**
|
|
4
|
+
* Contains methods and properties required for
|
|
5
|
+
* managing recipes.
|
|
6
|
+
*
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|------------------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |RecipeManagementType i=30 |
|
|
12
|
+
* |isAbstract |false |
|
|
13
|
+
*/
|
|
14
|
+
export interface UARecipeManagement_Base {
|
|
15
|
+
// PlaceHolder for $Recipe_no$
|
|
16
|
+
addRecipe?: UAMethod;
|
|
17
|
+
removeRecipe?: UAMethod;
|
|
18
|
+
}
|
|
19
|
+
export interface UARecipeManagement extends UAObject, UARecipeManagement_Base {
|
|
20
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { DataType } from "node-opcua-variant"
|
|
3
|
+
import { NodeId } from "node-opcua-nodeid"
|
|
4
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable"
|
|
5
|
+
import { UAFile } from "node-opcua-nodeset-ua/dist/ua_file"
|
|
6
|
+
import { DTRecipeReportElement } from "./dt_recipe_report_element"
|
|
7
|
+
import { UAProduct, UAProduct_Base } from "./ua_product"
|
|
8
|
+
/**
|
|
9
|
+
* Represents a product of a recipe scale.
|
|
10
|
+
*
|
|
11
|
+
* | | |
|
|
12
|
+
* |----------------|------------------------------------------------------------|
|
|
13
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
14
|
+
* |nodeClass |ObjectType |
|
|
15
|
+
* |typedDefinition |RecipeProductType i=19 |
|
|
16
|
+
* |isAbstract |false |
|
|
17
|
+
*/
|
|
18
|
+
export interface UARecipeProduct_Base extends UAProduct_Base {
|
|
19
|
+
/**
|
|
20
|
+
* recipeNodeId
|
|
21
|
+
* Defines the NodeId of the recipe that is being
|
|
22
|
+
* produced.
|
|
23
|
+
*/
|
|
24
|
+
recipeNodeId: UABaseDataVariable<NodeId, DataType.NodeId>;
|
|
25
|
+
/**
|
|
26
|
+
* report
|
|
27
|
+
* Defines an array with the various messages from
|
|
28
|
+
* the recipe. Each RecipeElement generates its own
|
|
29
|
+
* report message.
|
|
30
|
+
*/
|
|
31
|
+
report: UABaseDataVariable<DTRecipeReportElement[], DataType.ExtensionObject>;
|
|
32
|
+
/**
|
|
33
|
+
* reportFile
|
|
34
|
+
* Defines the file (binary, xml or other) that
|
|
35
|
+
* contains the report of the current process.
|
|
36
|
+
*/
|
|
37
|
+
reportFile?: UAFile;
|
|
38
|
+
}
|
|
39
|
+
export interface UARecipeProduct extends UAProduct, UARecipeProduct_Base {
|
|
40
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAMethod } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { UATemporaryFileTransfer } from "node-opcua-nodeset-ua/dist/ua_temporary_file_transfer"
|
|
5
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable"
|
|
6
|
+
import { DTRecipeTargetValue } from "./dt_recipe_target_value"
|
|
7
|
+
import { DTRecipeThreshold } from "./dt_recipe_threshold"
|
|
8
|
+
import { UARecipeManagement } from "./ua_recipe_management"
|
|
9
|
+
import { UAScaleDevice, UAScaleDevice_Base } from "./ua_scale_device"
|
|
10
|
+
import { UAProductionPreset } from "./ua_production_preset"
|
|
11
|
+
import { UAMaterial } from "./ua_material"
|
|
12
|
+
export interface UARecipeScale_recipes extends Omit<UARecipeManagement, "addRecipe"|"$Recipe_no$"|"removeRecipe"> { // Object
|
|
13
|
+
addRecipe?: UAMethod;
|
|
14
|
+
// PlaceHolder for $Recipe_no$
|
|
15
|
+
recipeUpload?: UATemporaryFileTransfer;
|
|
16
|
+
removeRecipe?: UAMethod;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* RecipeScaleType represents a recipe scale.
|
|
20
|
+
*
|
|
21
|
+
* | | |
|
|
22
|
+
* |----------------|------------------------------------------------------------|
|
|
23
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
24
|
+
* |nodeClass |ObjectType |
|
|
25
|
+
* |typedDefinition |RecipeScaleType i=7 |
|
|
26
|
+
* |isAbstract |false |
|
|
27
|
+
*/
|
|
28
|
+
export interface UARecipeScale_Base extends UAScaleDevice_Base {
|
|
29
|
+
abortRecipe?: UAMethod;
|
|
30
|
+
continueRecipe?: UAMethod;
|
|
31
|
+
/**
|
|
32
|
+
* productionPreset
|
|
33
|
+
* Contains the productions presets.
|
|
34
|
+
*/
|
|
35
|
+
productionPreset?: UAProductionPreset;
|
|
36
|
+
/**
|
|
37
|
+
* recipes
|
|
38
|
+
* Defines a folder that contains all recipes.
|
|
39
|
+
* Elements in this folder must have the RecipeType.
|
|
40
|
+
*/
|
|
41
|
+
recipes?: UARecipeScale_recipes;
|
|
42
|
+
skipCurrentRecipeElement?: UAMethod;
|
|
43
|
+
startRecipe?: UAMethod;
|
|
44
|
+
stopRecipe?: UAMethod;
|
|
45
|
+
supportedMaterial?: UAMaterial;
|
|
46
|
+
/**
|
|
47
|
+
* supportedTargetValues
|
|
48
|
+
* Defines a list of values that may be set via the
|
|
49
|
+
* recipe.
|
|
50
|
+
*/
|
|
51
|
+
supportedTargetValues?: UABaseDataVariable<DTRecipeTargetValue[], DataType.ExtensionObject>;
|
|
52
|
+
/**
|
|
53
|
+
* supportedThresholdValues
|
|
54
|
+
* Defines a list of threshold values that may be
|
|
55
|
+
* used within one recipe.
|
|
56
|
+
*/
|
|
57
|
+
supportedThresholdValues?: UABaseDataVariable<DTRecipeThreshold[], DataType.ExtensionObject>;
|
|
58
|
+
}
|
|
59
|
+
export interface UARecipeScale extends Omit<UAScaleDevice, "productionPreset">, UARecipeScale_Base {
|
|
60
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAStatisticCounter, UAStatisticCounter_Base } from "./ua_statistic_counter"
|
|
3
|
+
/**
|
|
4
|
+
* | | |
|
|
5
|
+
* |----------------|------------------------------------------------------------|
|
|
6
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
7
|
+
* |nodeClass |ObjectType |
|
|
8
|
+
* |typedDefinition |RejectedStatisticCounterType i=1028 |
|
|
9
|
+
* |isAbstract |false |
|
|
10
|
+
*/
|
|
11
|
+
export type UARejectedStatisticCounter_Base = UAStatisticCounter_Base;
|
|
12
|
+
export interface UARejectedStatisticCounter extends UAStatisticCounter, UARejectedStatisticCounter_Base {
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { UAString } from "node-opcua-basic-types"
|
|
5
|
+
import { UAAlarmCondition, UAAlarmCondition_Base } from "node-opcua-nodeset-ua/dist/ua_alarm_condition"
|
|
6
|
+
import { UAMultiStateValueDiscrete } from "node-opcua-nodeset-ua/dist/ua_multi_state_value_discrete"
|
|
7
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable"
|
|
8
|
+
/**
|
|
9
|
+
* | | |
|
|
10
|
+
* |----------------|------------------------------------------------------------|
|
|
11
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
12
|
+
* |nodeClass |ObjectType |
|
|
13
|
+
* |typedDefinition |ScaleAlarmType i=21 |
|
|
14
|
+
* |isAbstract |false |
|
|
15
|
+
*/
|
|
16
|
+
export interface UAScaleAlarm_Base extends UAAlarmCondition_Base {
|
|
17
|
+
auxParameters?: UAProperty<UAString[], DataType.String>;
|
|
18
|
+
helpSource?: UAProperty<UAString, DataType.String>;
|
|
19
|
+
notificationCategory: UAMultiStateValueDiscrete<any, any>;
|
|
20
|
+
notificationId: UAMultiStateValueDiscrete<any, any>;
|
|
21
|
+
vendorNotificationId?: UABaseDataVariable<UAString, DataType.String>;
|
|
22
|
+
}
|
|
23
|
+
export interface UAScaleAlarm extends UAAlarmCondition, UAScaleAlarm_Base {
|
|
24
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAMethod, UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { LocalizedText } from "node-opcua-data-model"
|
|
5
|
+
import { EUInformation } from "node-opcua-data-access"
|
|
6
|
+
import { UAString } from "node-opcua-basic-types"
|
|
7
|
+
import { UAFolder } from "node-opcua-nodeset-ua/dist/ua_folder"
|
|
8
|
+
import { UAAnalogUnit } from "node-opcua-nodeset-ua/dist/ua_analog_unit"
|
|
9
|
+
import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_component"
|
|
10
|
+
import { UAConfigurableObject } from "node-opcua-nodeset-di/dist/ua_configurable_object"
|
|
11
|
+
import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/dist/ua_machinery_item_state_state_machine"
|
|
12
|
+
import { UAMachineryOperationModeStateMachine } from "node-opcua-nodeset-machinery/dist/ua_machinery_operation_mode_state_machine"
|
|
13
|
+
import { UAMachineIdentification } from "node-opcua-nodeset-machinery/dist/ua_machine_identification"
|
|
14
|
+
import { UAPackMLBaseStateMachine } from "node-opcua-nodeset-pack-ml/dist/ua_pack_ml_base_state_machine"
|
|
15
|
+
import { DTWeight } from "./dt_weight"
|
|
16
|
+
import { UAWeightItem } from "./ua_weight_item"
|
|
17
|
+
import { UAStatistic } from "./ua_statistic"
|
|
18
|
+
import { UAProductionPreset } from "./ua_production_preset"
|
|
19
|
+
export interface UAScaleDevice_machineryBuildingBlocks extends UAFolder { // Object
|
|
20
|
+
machineryItemState?: UAMachineryItemState_StateMachine;
|
|
21
|
+
machineryOperationMode?: UAMachineryOperationModeStateMachine;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Represents a scale.
|
|
25
|
+
*
|
|
26
|
+
* | | |
|
|
27
|
+
* |----------------|------------------------------------------------------------|
|
|
28
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
29
|
+
* |nodeClass |ObjectType |
|
|
30
|
+
* |typedDefinition |ScaleDeviceType i=2 |
|
|
31
|
+
* |isAbstract |true |
|
|
32
|
+
*/
|
|
33
|
+
export interface UAScaleDevice_Base extends UAComponent_Base {
|
|
34
|
+
// PlaceHolder for $ListOfWeighingRanges$
|
|
35
|
+
allowedEngineeringUnits?: UAProperty<EUInformation[], DataType.ExtensionObject>;
|
|
36
|
+
clearTare?: UAMethod;
|
|
37
|
+
/**
|
|
38
|
+
* currentWeight
|
|
39
|
+
* Defines the current value that is measured at the
|
|
40
|
+
* sensor at the current timestamp. Might be a
|
|
41
|
+
* highly fluctuating value.
|
|
42
|
+
*/
|
|
43
|
+
currentWeight: UAWeightItem<DTWeight>;
|
|
44
|
+
/**
|
|
45
|
+
* identification
|
|
46
|
+
* Used to organize parameters for identification of
|
|
47
|
+
* this TopologyElement
|
|
48
|
+
*/
|
|
49
|
+
identification: UAMachineIdentification;
|
|
50
|
+
machineryBuildingBlocks?: UAScaleDevice_machineryBuildingBlocks;
|
|
51
|
+
machineryItemState?: UAMachineryItemState_StateMachine;
|
|
52
|
+
machineryOperationMode?: UAMachineryOperationModeStateMachine;
|
|
53
|
+
/**
|
|
54
|
+
* materialClass
|
|
55
|
+
* Defines the allowed material the scale may
|
|
56
|
+
* measure. Only relevant for certain scales (e.g.
|
|
57
|
+
* totalizing hopper scale or continuous scale)
|
|
58
|
+
*/
|
|
59
|
+
materialClass?: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
60
|
+
minimalWeight?: UAAnalogUnit<any, any>;
|
|
61
|
+
policy?: UAProperty<LocalizedText[], DataType.LocalizedText>;
|
|
62
|
+
/**
|
|
63
|
+
* processStateId
|
|
64
|
+
* Contains an relating identification for the
|
|
65
|
+
* occurring ProcessStateMessage.
|
|
66
|
+
*/
|
|
67
|
+
processStateId?: UAProperty<UAString, DataType.String>;
|
|
68
|
+
/**
|
|
69
|
+
* processStateMessage
|
|
70
|
+
* Contains the message of the current overall state
|
|
71
|
+
* of the scale.
|
|
72
|
+
*/
|
|
73
|
+
processStateMessage?: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
74
|
+
productionOutput?: UAStatistic;
|
|
75
|
+
/**
|
|
76
|
+
* productionPreset
|
|
77
|
+
* Contains the productions presets.
|
|
78
|
+
*/
|
|
79
|
+
productionPreset?: UAProductionPreset;
|
|
80
|
+
/**
|
|
81
|
+
* registeredWeight
|
|
82
|
+
* Defines the last valid measurement that was
|
|
83
|
+
* recorded and will be used for further processing.
|
|
84
|
+
* This is the legal registered value of the scale.
|
|
85
|
+
*/
|
|
86
|
+
registeredWeight?: UAWeightItem<DTWeight>;
|
|
87
|
+
registerWeight?: UAMethod;
|
|
88
|
+
setPresetTare?: UAMethod;
|
|
89
|
+
setTare?: UAMethod;
|
|
90
|
+
setZero?: UAMethod;
|
|
91
|
+
state?: UAPackMLBaseStateMachine;
|
|
92
|
+
subDevices?: UAConfigurableObject;
|
|
93
|
+
}
|
|
94
|
+
export interface UAScaleDevice extends Omit<UAComponent, "identification">, UAScaleDevice_Base {
|
|
95
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { UAString } from "node-opcua-basic-types"
|
|
5
|
+
import { UABaseEvent, UABaseEvent_Base } from "node-opcua-nodeset-ua/dist/ua_base_event"
|
|
6
|
+
import { UAMultiStateValueDiscrete } from "node-opcua-nodeset-ua/dist/ua_multi_state_value_discrete"
|
|
7
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable"
|
|
8
|
+
/**
|
|
9
|
+
* | | |
|
|
10
|
+
* |----------------|------------------------------------------------------------|
|
|
11
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
12
|
+
* |nodeClass |ObjectType |
|
|
13
|
+
* |typedDefinition |ScaleEventType i=13 |
|
|
14
|
+
* |isAbstract |false |
|
|
15
|
+
*/
|
|
16
|
+
export interface UAScaleEvent_Base extends UABaseEvent_Base {
|
|
17
|
+
auxParameters?: UAProperty<UAString[], DataType.String>;
|
|
18
|
+
helpSource?: UAProperty<UAString, DataType.String>;
|
|
19
|
+
notificationCategory: UAMultiStateValueDiscrete<any, any>;
|
|
20
|
+
notificationId: UAMultiStateValueDiscrete<any, any>;
|
|
21
|
+
vendorNotificationId?: UABaseDataVariable<UAString, DataType.String>;
|
|
22
|
+
}
|
|
23
|
+
export interface UAScaleEvent extends UABaseEvent, UAScaleEvent_Base {
|
|
24
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAMethod, UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { LocalizedText } from "node-opcua-data-model"
|
|
5
|
+
import { UAString } from "node-opcua-basic-types"
|
|
6
|
+
import { UAFolder } from "node-opcua-nodeset-ua/dist/ua_folder"
|
|
7
|
+
import { UAComponent, UAComponent_Base } from "node-opcua-nodeset-di/dist/ua_component"
|
|
8
|
+
import { UAConfigurableObject } from "node-opcua-nodeset-di/dist/ua_configurable_object"
|
|
9
|
+
import { UAMachineryItemState_StateMachine } from "node-opcua-nodeset-machinery/dist/ua_machinery_item_state_state_machine"
|
|
10
|
+
import { UAMachineryOperationModeStateMachine } from "node-opcua-nodeset-machinery/dist/ua_machinery_operation_mode_state_machine"
|
|
11
|
+
import { UAMachineIdentification } from "node-opcua-nodeset-machinery/dist/ua_machine_identification"
|
|
12
|
+
import { UAPackMLBaseStateMachine } from "node-opcua-nodeset-pack-ml/dist/ua_pack_ml_base_state_machine"
|
|
13
|
+
import { UAStatistic } from "./ua_statistic"
|
|
14
|
+
import { UAProductionPreset } from "./ua_production_preset"
|
|
15
|
+
export interface UAScaleSystem_machineryBuildingBlocks extends UAFolder { // Object
|
|
16
|
+
machineryItemState?: UAMachineryItemState_StateMachine;
|
|
17
|
+
machineryOperationMode?: UAMachineryOperationModeStateMachine;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Represents a scale system and contains one or
|
|
21
|
+
* more scales.
|
|
22
|
+
*
|
|
23
|
+
* | | |
|
|
24
|
+
* |----------------|------------------------------------------------------------|
|
|
25
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
26
|
+
* |nodeClass |ObjectType |
|
|
27
|
+
* |typedDefinition |ScaleSystemType i=44 |
|
|
28
|
+
* |isAbstract |false |
|
|
29
|
+
*/
|
|
30
|
+
export interface UAScaleSystem_Base extends UAComponent_Base {
|
|
31
|
+
/**
|
|
32
|
+
* identification
|
|
33
|
+
* Used to organize parameters for identification of
|
|
34
|
+
* this TopologyElement
|
|
35
|
+
*/
|
|
36
|
+
identification: UAMachineIdentification;
|
|
37
|
+
machineryBuildingBlocks?: UAScaleSystem_machineryBuildingBlocks;
|
|
38
|
+
machineryItemState?: UAMachineryItemState_StateMachine;
|
|
39
|
+
machineryOperationMode?: UAMachineryOperationModeStateMachine;
|
|
40
|
+
/**
|
|
41
|
+
* policy
|
|
42
|
+
* Defines the legal guidelines that apply for the
|
|
43
|
+
* scale or need to be complied by the scale.
|
|
44
|
+
*/
|
|
45
|
+
policy?: UAProperty<LocalizedText[], DataType.LocalizedText>;
|
|
46
|
+
/**
|
|
47
|
+
* processStateId
|
|
48
|
+
* Contains an relating identification for the
|
|
49
|
+
* occurring ProcessStateMessage.
|
|
50
|
+
*/
|
|
51
|
+
processStateId?: UAProperty<UAString, DataType.String>;
|
|
52
|
+
/**
|
|
53
|
+
* processStateMessage
|
|
54
|
+
* Contains the message of the current overall state
|
|
55
|
+
* of the scale.
|
|
56
|
+
*/
|
|
57
|
+
processStateMessage: UAProperty<LocalizedText, DataType.LocalizedText>;
|
|
58
|
+
productionOutput?: UAStatistic;
|
|
59
|
+
/**
|
|
60
|
+
* productionPreset
|
|
61
|
+
* Contains the productions presets.
|
|
62
|
+
*/
|
|
63
|
+
productionPreset?: UAProductionPreset;
|
|
64
|
+
resetGlobalStatistics?: UAMethod;
|
|
65
|
+
/**
|
|
66
|
+
* subDevices
|
|
67
|
+
* The Scales must be a subtype of the
|
|
68
|
+
* ScaleDeviceType but must not be from the same
|
|
69
|
+
* type.
|
|
70
|
+
*/
|
|
71
|
+
subDevices?: UAConfigurableObject;
|
|
72
|
+
systemState?: UAPackMLBaseStateMachine;
|
|
73
|
+
}
|
|
74
|
+
export interface UAScaleSystem extends Omit<UAComponent, "identification">, UAScaleSystem_Base {
|
|
75
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { UAString } from "node-opcua-basic-types"
|
|
5
|
+
import { DTCurrencyUnit } from "node-opcua-nodeset-ua/dist/dt_currency_unit"
|
|
6
|
+
import { UABaseDataVariable } from "node-opcua-nodeset-ua/dist/ua_base_data_variable"
|
|
7
|
+
import { UAProduct, UAProduct_Base } from "./ua_product"
|
|
8
|
+
export interface UASimpleProduct_unitPrice<T, DT extends DataType> extends UABaseDataVariable<T, DT> { // Variable
|
|
9
|
+
currencyUnit: UAProperty<DTCurrencyUnit, DataType.ExtensionObject>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Represents a product of a simple scale.
|
|
13
|
+
*
|
|
14
|
+
* | | |
|
|
15
|
+
* |----------------|------------------------------------------------------------|
|
|
16
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
17
|
+
* |nodeClass |ObjectType |
|
|
18
|
+
* |typedDefinition |SimpleProductType i=20 |
|
|
19
|
+
* |isAbstract |false |
|
|
20
|
+
*/
|
|
21
|
+
export interface UASimpleProduct_Base extends UAProduct_Base {
|
|
22
|
+
containerId?: UAProperty<UAString, DataType.String>;
|
|
23
|
+
unitPrice?: UASimpleProduct_unitPrice<any, any>;
|
|
24
|
+
}
|
|
25
|
+
export interface UASimpleProduct extends UAProduct, UASimpleProduct_Base {
|
|
26
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAScaleDevice, UAScaleDevice_Base } from "./ua_scale_device"
|
|
3
|
+
import { UAProductionPreset } from "./ua_production_preset"
|
|
4
|
+
/**
|
|
5
|
+
* Represents a simple scale.
|
|
6
|
+
*
|
|
7
|
+
* | | |
|
|
8
|
+
* |----------------|------------------------------------------------------------|
|
|
9
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
10
|
+
* |nodeClass |ObjectType |
|
|
11
|
+
* |typedDefinition |SimpleScaleType i=3 |
|
|
12
|
+
* |isAbstract |false |
|
|
13
|
+
*/
|
|
14
|
+
export interface UASimpleScale_Base extends UAScaleDevice_Base {
|
|
15
|
+
/**
|
|
16
|
+
* productionPreset
|
|
17
|
+
* Contains the productions presets.
|
|
18
|
+
*/
|
|
19
|
+
productionPreset?: UAProductionPreset;
|
|
20
|
+
}
|
|
21
|
+
export interface UASimpleScale extends Omit<UAScaleDevice, "productionPreset">, UASimpleScale_Base {
|
|
22
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAObject, UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { UAString } from "node-opcua-basic-types"
|
|
5
|
+
import { UAAnalogUnit } from "node-opcua-nodeset-ua/dist/ua_analog_unit"
|
|
6
|
+
import { UAWeighingItem } from "./ua_weighing_item"
|
|
7
|
+
import { UAStatisticCounter } from "./ua_statistic_counter"
|
|
8
|
+
/**
|
|
9
|
+
* Container for the different statisticvalues. All
|
|
10
|
+
* variables are optional, so that the statistics
|
|
11
|
+
* can be instantiated application-specific.
|
|
12
|
+
*
|
|
13
|
+
* | | |
|
|
14
|
+
* |----------------|------------------------------------------------------------|
|
|
15
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
16
|
+
* |nodeClass |ObjectType |
|
|
17
|
+
* |typedDefinition |StatisticType i=25 |
|
|
18
|
+
* |isAbstract |false |
|
|
19
|
+
*/
|
|
20
|
+
export interface UAStatistic_Base {
|
|
21
|
+
lastItem?: UAWeighingItem;
|
|
22
|
+
/**
|
|
23
|
+
* resetCondition
|
|
24
|
+
* The reason and context for the reset of the
|
|
25
|
+
* statistics, which is done without a trigger from
|
|
26
|
+
* an OPC UA Client, like calling the
|
|
27
|
+
* ResetStatistics Method. ResetCondition is a
|
|
28
|
+
* vendor-specific, human readable string.
|
|
29
|
+
* ResetCondition is non-localized and might contain
|
|
30
|
+
* an expression that can be parsed by certain
|
|
31
|
+
* clients. Examples are: “AFTER 4 HOURS”, “AFTER
|
|
32
|
+
* 1000 ITEMS”, “OPERATOR”. “OPERATOR” means, that
|
|
33
|
+
* an operator resets the statistics on a local HMI.
|
|
34
|
+
*/
|
|
35
|
+
resetCondition?: UAProperty<UAString, DataType.String>;
|
|
36
|
+
/**
|
|
37
|
+
* startTime
|
|
38
|
+
* Indicates the point in time at which the
|
|
39
|
+
* collection of the statistical data has been
|
|
40
|
+
* started.
|
|
41
|
+
*/
|
|
42
|
+
startTime?: UAProperty<Date, DataType.DateTime>;
|
|
43
|
+
/**
|
|
44
|
+
* tare
|
|
45
|
+
* Defines the last occurring tare value at time of
|
|
46
|
+
* statistic.
|
|
47
|
+
*/
|
|
48
|
+
tare?: UAAnalogUnit<number, DataType.Double>;
|
|
49
|
+
/**
|
|
50
|
+
* throughput
|
|
51
|
+
* Defines the number of items registered over
|
|
52
|
+
* period of the statistic.
|
|
53
|
+
*/
|
|
54
|
+
throughput?: UAAnalogUnit<any, any>;
|
|
55
|
+
totalPackages?: UAStatisticCounter;
|
|
56
|
+
totalPackagesWeighed?: UAStatisticCounter;
|
|
57
|
+
}
|
|
58
|
+
export interface UAStatistic extends UAObject, UAStatistic_Base {
|
|
59
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAObject, UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
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
|
+
/**
|
|
7
|
+
* Container for the different statisticvalues
|
|
8
|
+
* needed in a Checkweigher.
|
|
9
|
+
*
|
|
10
|
+
* | | |
|
|
11
|
+
* |----------------|------------------------------------------------------------|
|
|
12
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
13
|
+
* |nodeClass |ObjectType |
|
|
14
|
+
* |typedDefinition |StatisticCounterType i=43 |
|
|
15
|
+
* |isAbstract |false |
|
|
16
|
+
*/
|
|
17
|
+
export interface UAStatisticCounter_Base {
|
|
18
|
+
/**
|
|
19
|
+
* itemCount
|
|
20
|
+
* Totalized count of measurements within the scope
|
|
21
|
+
* of this statistic.
|
|
22
|
+
*/
|
|
23
|
+
itemCount: UABaseDataVariable<any, any>;
|
|
24
|
+
maxValue?: UAAnalogUnit<any, any>;
|
|
25
|
+
/**
|
|
26
|
+
* meanValue
|
|
27
|
+
* Mean value of zone measured within this statistic.
|
|
28
|
+
*/
|
|
29
|
+
meanValue?: UAAnalogUnit<any, any>;
|
|
30
|
+
minValue?: UAAnalogUnit<any, any>;
|
|
31
|
+
/**
|
|
32
|
+
* percentageOfTotal
|
|
33
|
+
* Percentage of this statistic in relation to the
|
|
34
|
+
* total. The total is defined as the duration the
|
|
35
|
+
* product is activated within the scale.
|
|
36
|
+
*/
|
|
37
|
+
percentageOfTotal?: UAAnalogUnit<any, any>;
|
|
38
|
+
standardDeviation?: UAAnalogUnit<any, any>;
|
|
39
|
+
/**
|
|
40
|
+
* sumWeight
|
|
41
|
+
* Totalized weight of all items in ItemCount.
|
|
42
|
+
*/
|
|
43
|
+
sumWeight?: UAAnalogUnit<any, any>;
|
|
44
|
+
/**
|
|
45
|
+
* weighed
|
|
46
|
+
* This flag indicates that the element is
|
|
47
|
+
* considered in the weighed statistic.
|
|
48
|
+
*/
|
|
49
|
+
weighed: UAProperty<boolean, DataType.Boolean>;
|
|
50
|
+
}
|
|
51
|
+
export interface UAStatisticCounter extends UAObject, UAStatisticCounter_Base {
|
|
52
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// ----- this file has been automatically generated - do not edit
|
|
2
|
+
import { UAProperty } from "node-opcua-address-space-base"
|
|
3
|
+
import { DataType } from "node-opcua-variant"
|
|
4
|
+
import { EUInformation } from "node-opcua-data-access"
|
|
5
|
+
import { UAAnalogItem, UAAnalogItem_Base } from "node-opcua-nodeset-ua/dist/ua_analog_item"
|
|
6
|
+
import { UAAnalogUnit } from "node-opcua-nodeset-ua/dist/ua_analog_unit"
|
|
7
|
+
/**
|
|
8
|
+
* | | |
|
|
9
|
+
* |----------------|------------------------------------------------------------|
|
|
10
|
+
* |namespace |http://opcfoundation.org/UA/Scales/V2/ |
|
|
11
|
+
* |nodeClass |VariableType |
|
|
12
|
+
* |typedDefinition |TargetItemType i=51 |
|
|
13
|
+
* |dataType |Variant |
|
|
14
|
+
* |dataType Name |(number | number[]) i=26 |
|
|
15
|
+
* |value rank |-2 |
|
|
16
|
+
* |isAbstract |false |
|
|
17
|
+
*/
|
|
18
|
+
export interface UATargetItem_Base<T, DT extends DataType> extends UAAnalogItem_Base<T, DT> {
|
|
19
|
+
allowedEngineeringUnits?: UAProperty<EUInformation[], DataType.ExtensionObject>;
|
|
20
|
+
engineeringUnits: UAProperty<EUInformation, DataType.ExtensionObject>;
|
|
21
|
+
minusTolerance?: UAAnalogUnit<any, any>;
|
|
22
|
+
plusTolerance?: UAAnalogUnit<any, any>;
|
|
23
|
+
}
|
|
24
|
+
export interface UATargetItem<T, DT extends DataType> extends Omit<UAAnalogItem<T, DT>, "engineeringUnits">, UATargetItem_Base<T, DT> {
|
|
25
|
+
}
|