From 9e569372527e0289731a929712dd5ee276c19a36 Mon Sep 17 00:00:00 2001 From: Leon Teichroeb Date: Fri, 22 Oct 2021 21:02:58 +0200 Subject: [PATCH] Removed unnecessary or completed TODOs. --- src/user_interface.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/user_interface.py b/src/user_interface.py index 60a19e2..8f97298 100644 --- a/src/user_interface.py +++ b/src/user_interface.py @@ -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('', 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)