Add Tstat image.

pull/8/head
Peter Hinch 2021-07-09 14:18:21 +01:00
rodzic ccaa1d1797
commit dd250cc40e
2 zmienionych plików z 11 dodań i 2 usunięć

Wyświetl plik

@ -1448,8 +1448,17 @@ and below the `Meter` to display the top and bottom legends.
## 16.1 Tstat widget ## 16.1 Tstat widget
This subclass of `Meter` is also a `passive` widget but provides for callbacks ```python
which run in response to specific changes in the object's value. from gui.widgets.tstat import Tstat
```
![Image](./images/tstat.JPG)
This example has two data sensitive regions, a control region with hysteresis
and an alarm region.
The `Tstat` subclass of `Meter` is a `passive` widget with callbacks which run
in response to specific changes in the object's value. Notionally based on a
thermostat, it can implement objects with a variety of data-dependent behaviour
including alarms and controls having hysteresis.
The class supports one or more `Region` instances. Visually these appear as The class supports one or more `Region` instances. Visually these appear as
colored bands on the scale. If the meter's value enters, leaves or crosses one colored bands on the scale. If the meter's value enters, leaves or crosses one

BIN
images/tstat.JPG 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 23 KiB