Aggregated item
An item which keeps the result value based on the expression and external item(s). The calculation is revaluated when one of the external items have changed but not faster than the exchange rate set in the module. If the valuetype is default the type is set by the result of an calculation. By selecting an specific type the result will be formatted to this type if possible.
The AggregatedItem item type has the following properties:
Name | Description | ID | Flags |
---|---|---|---|
EnableVendorQuality | Set this attribute to true to use vendor quality to validate the quality of an calculation. The worst quality will be used. | 10023 | Persisted, ExpertPage |
Expression | An expression used to calculate the value of this item. | 5110 | Persisted |
OverrideQuality | Set this value to 'true' to run calculations independent of the quality of external items. | 10021 | Persisted, ExpertPage |
Quality | Item quality - this tells you whether an item currently has a good or bad quality. It might be bad, for example, because it isn't connected or is set to the wrong type. | 3 | ReadOnly |
Rights | Item access rights - this property may be "read", or "read write". This means that the property may only be read from, or also can be written to. For OPC items, this written value will be passed on to the external items this item comes from. | 5 | ReadOnly |
Time | The date and time when this item was last updated. | 4 | ReadOnly |
TreatDateAsNumeric | Set this to true to treat external items of type "data" as numeric. | 10022 | Persisted, ExpertPage |
Type | The item canonical data type - the specific type of this item. Whether it's an integer, string, date, etc. | 1 | ReadOnly |
Value | The current value of the item. | 2 | NormalPage |
Valuetype | Decides which type (e.g. Double, String, Bool) the item is to be. (Bool=10, Double=20, String=30) | 10010 | Persisted, Enumerated |