Rename GUI to Control Panel

Change the command name to thermostat_control_panel, and the Nix Flake
app name to simply control_panel.
This commit is contained in:
atse 2025-03-26 12:40:44 +08:00
parent e3abe9384a
commit d594c93166
4 changed files with 7 additions and 7 deletions

View File

@ -71,11 +71,11 @@ openocd -f interface/stlink.cfg -f target/stm32f4x.cfg -c "program target/thumbv
A GUI has been developed for easy configuration and plotting of key parameters.
The Python GUI program is located at pythermostat/pythermostat/thermostat_qt.py, and is developed based on the Python libraries PyQt and PyQtGraph. The GUI can be configured and
The Python GUI program is located at pythermostat/pythermostat/control_panel.py, and is developed based on the Python libraries PyQt and PyQtGraph. The GUI can be configured and
launched automatically by running:
```
nix run .#thermostat_gui
nix run .#control_panel
```
## Command Line Usage

View File

@ -81,7 +81,7 @@
dontWrapQtApps = true;
postFixup = ''
wrapQtApp "$out/bin/thermostat_qt"
wrapQtApp "$out/bin/thermostat_control_panel"
'';
};
@ -106,9 +106,9 @@
default = thermostat;
};
apps.x86_64-linux.thermostat_gui = {
apps.x86_64-linux.control_panel = {
type = "app";
program = "${self.packages.x86_64-linux.pythermostat}/bin/thermostat_qt";
program = "${pythermostat}/bin/thermostat_control_panel";
};
hydraJobs = {

View File

@ -20,7 +20,7 @@ dependencies = [
[project.gui-scripts]
thermostat_plot = "pythermostat.plot:main"
thermostat_qt = "pythermostat.thermostat_qt:main"
thermostat_control_panel = "pythermostat.control_panel:main"
[project.scripts]
thermostat_autotune = "pythermostat.autotune:main"

View File

@ -1,4 +1,4 @@
"""GUI for the Sinara 8451 Thermostat"""
"""GUI Control Panel for the Sinara 8451 Thermostat"""
import asyncio
import logging