Skip to main content

Module profile_filter

Module profile_filter 

Source
Expand description

Profile-data-filter interface class (СТО 34.01-5.1-013-2023, §7.3, class 8201).

A СПОДУС-specific class that extends Profile generic (IC 7) with filtered reads: it selects rows of a working profile by range or value-match conditions and projects them to the requested columns, so the head-end can read exactly the rows and columns it needs in one request. Class 8201, v0.

The filter data is { object_obis, selected_values: array capture_object_definition, filter_list: array filter_object_definition }, where each filter is { filtering_object, from_value, to_value, entry_values }. A row passes when it satisfies every filter (range from..to inclusive, or membership in entry_values).

Structs§

ProfileDataFilter
Profile-data-filter object (class 8201, 0.0.94.7.201.255) over a working profile’s rows.

Functions§

as_int 🔒
The integer value of a numeric COSEM type, if it is one.
compare 🔒
Compares two COSEM values, if comparable (numeric or byte-lexicographic).