Removed unnecessary or completed TODOs.

This commit is contained in:
2021-10-22 21:02:58 +02:00
parent 5a3625021e
commit 9e56937252
-9
View File
@@ -1403,8 +1403,6 @@ class HardwareConfiguration(Frame):
class ConfigureLogging(Frame):
# generate window to configure data logging to csv
# ToDo: support logging of axis-independent info like Arduino status
# ToDo (optional): Add option to select which axes to log data from
def __init__(self, parent, controller):
Frame.__init__(self, parent)
@@ -1531,15 +1529,10 @@ class ConfigureLogging(Frame):
row = 0
column += 1
# self.controller.bind('<Escape>', self.escape_press) ToDo: implement escape button press event to power down
def page_switch(self): # function that is called when switching to this window
# every class in the UI needs this, even if it doesn't do anything
pass
# def escape_press(self, event): ToDo: implement escape button press event to power down
# stop_logging()
def start_logging(self): # start logging data (called by button)
ui_print("Started data logging.")
self.update_choices() # update list with ticked checkboxes
@@ -1675,7 +1668,6 @@ class StatusDisplay(Frame):
rowCounter += 1 # increase row counter to place future stuff below header
# define content of row entries:
# ToDo (optional): Use the central dictionary, currently defined in csv_logging.py
TextLabels = ["PSU Serial Port:", "PSU Channel:", "PSU Status:", "Arduino Status:", "", "Output:",
"Remote Control:",
"Voltage Setpoint:", "Actual Voltage:", "Current Setpoint:", "Actual Current:", "",
@@ -1733,7 +1725,6 @@ class StatusDisplay(Frame):
psu_connected = "Connected" if axis['connected'] else "Not Connected"
arduino_connected = "Connected" if status['arduino_connected'] else "Not Connected"
# ToDo (optional): Use the central dictionary currently defined in csv_logging.py for this
self.label_dict["PSU Serial Port:"][i].set(axis['port'])
self.label_dict["PSU Channel:"][i].set(axis['channel'])
self.label_dict["PSU Status:"][i].set(psu_connected)