Skip to content

Commit 6502d30

Browse files
docs: auto-update API reference from source code
1 parent cef6f17 commit 6502d30

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

wiki/API-Reference:-Sensors.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,18 @@ GET.X Read-only access to timestamps (backward-compat with legacy Sensor.X).
454454

455455
GET.Y Read-only access to values (backward-compat with legacy Sensor.Y).
456456

457+
#### `v = get()`
458+
459+
GET.THRESHOLDS Always empty cell array (backward-compat stub).
460+
Legacy Sensor class exposed a Thresholds cell array of
461+
ThresholdRule handles. In the v2.0 Tag model, thresholds
462+
are expressed as MonitorTag children bound via TagRegistry
463+
— not as a nested collection on the sensor. Widgets that
464+
still read .Thresholds (GaugeWidget, StatusWidget) see an
465+
empty cell here and fall through to their "no thresholds"
466+
branch. Consumers should migrate to the TagRegistry +
467+
MonitorTag workflow for threshold behaviour.
468+
457469
#### `[X, Y] = getXY(obj)`
458470

459471
GETXY Return X, Y by reference (zero-copy via COW).

0 commit comments

Comments
 (0)