forked from M-Labs/thermostat
GUI: Control Panel changes #2
|
@ -160,9 +160,7 @@ class CtrlPanel(QObject):
|
||||||
settings["temperature"]
|
settings["temperature"]
|
||||||
)
|
)
|
||||||
if settings["tec_i"] is not None:
|
if settings["tec_i"] is not None:
|
||||||
self.params[channel].child("tec_i").setValue(
|
self.params[channel].child("tec_i").setValue(settings["tec_i"])
|
||||||
settings["tec_i"] * 1000
|
|
||||||
)
|
|
||||||
|
|
||||||
@pyqtSlot("QVariantList")
|
@pyqtSlot("QVariantList")
|
||||||
def update_thermistor(self, sh_data):
|
def update_thermistor(self, sh_data):
|
||||||
|
|
|
@ -12,7 +12,8 @@
|
||||||
"name": "tec_i",
|
"name": "tec_i",
|
||||||
"title": "Current through TEC",
|
"title": "Current through TEC",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"suffix": "mA",
|
"siPrefix": true,
|
||||||
|
"suffix": "A",
|
||||||
"decimals": 6,
|
"decimals": 6,
|
||||||
"readonly": true,
|
"readonly": true,
|
||||||
"tip": "The measured current through the TEC"
|
"tip": "The measured current through the TEC"
|
||||||
|
|
Loading…
Reference in New Issue