def getValues(self): result = Page.getValues(self) for tag in self.accTypeKeys: result[tag] = self.radioButtons[tag].GetValue() return result
def getValues(self): result = Page.getValues(self) for tag in self.kinematicsKeys: result[tag] = self.radioButtons[tag].GetValue() return result
def getValues(self): result = Page.getValues(self) for tag in self.kinematicsKeys: result[tag] = self.radioButtons[tag].GetValue() return result
def getValues(self): result = Page.getValues(self) for tag in self.accTypeKeys: result[tag] = self.radioButtons[tag].GetValue() return result
def getValues(self): result = Page.getValues(self) if result['USB_SERIAL']: result['BAUD'] = result['BAUD'][0], False result['XONXOFF'] = False return result
def getValues(self): result = Page.getValues(self) if result["USB_SERIAL"]: result["BAUD"] = result["BAUD"][0], False result["XONXOFF"] = False return result
def getValues(self): result = Page.getValues(self) if result["USB_SERIAL"]: result["BAUD"][1] = False result["XONXOFF"] = False return result
def getValues(self): result = Page.getValues(self) for k in self.choices.keys(): if k in result.keys() and result[k] == "-": result[k] = "" return result
def getValues(self): result = Page.getValues(self) for k in self.choices.keys(): if k in result.keys() and result[k] == "-": result[k] = "" return result
def getValues(self): result = Page.getValues(self) if result['USB_SERIAL']: result['BAUD'] = result['BAUD'][0], False result['XONXOFF'] = False return result
def getValues(self): result = Page.getValues(self) for tag in self.kinematicsKeys: rb = self.radioButtons[tag] if rb.GetValue(): result['KINEMATICS'] = tag, True break return result
def getValues(self): result = Page.getValues(self) for tag in self.kinematicsKeys: rb = self.radioButtons[tag] if rb.GetValue(): result['KINEMATICS'] = tag, True break return result
def getValues(self): result = Page.getValues(self) for k in self.choices.keys(): if result[k][0] == "-": if k in self.choicesOriginal.keys(): result[k] = self.choicesOriginal[k][0], False else: result[k] = "", False return result
def getValues(self): result = Page.getValues(self) for tag in self.kinematicsKeys: result[tag] = self.radioButtons[tag].GetValue() result['HOMING_STEP1'] = self.getHomingValue('HOMING_STEP1', result) result['HOMING_STEP2'] = self.getHomingValue('HOMING_STEP2', result) result['HOMING_STEP3'] = self.getHomingValue('HOMING_STEP3', result) result['HOMING_STEP4'] = self.getHomingValue('HOMING_STEP4', result) return result
def getValues(self): result = Page.getValues(self) k = 'DC_EXTRUDER' s = self.choices[k].GetSelection() v = self.choices[k].GetString(s) if v == self.heaterNameNone: result[k] = "" else: result[k] = "HEATER_%s" % v return result
def getValues(self): result = Page.getValues(self) k = 'DC_EXTRUDER' s = self.choices[k].GetSelection() v = self.choices[k].GetString(s) if v == self.heaterNameNone: result[k] = "" else: result[k] = "HEATER_%s" % v return result
def getValues(self): result = Page.getValues(self) for tag in self.kinematicsKeys: result[tag] = self.radioButtons[tag].GetValue() result['HOMING_STEP1'] = self.getHomingValue('HOMING_STEP1', result) result['HOMING_STEP2'] = self.getHomingValue('HOMING_STEP2', result) result['HOMING_STEP3'] = self.getHomingValue('HOMING_STEP3', result) result['HOMING_STEP4'] = self.getHomingValue('HOMING_STEP4', result) return result
def getValues(self): result = Page.getValues(self) values = {} for k in self.sensorTypeKeys.values(): values[k] = False for s in self.sensors: values[self.sensorTypeKeys[s[1]]] = True for v in values.keys(): result[v] = values[v] return result
def getValues(self): result = Page.getValues(self) values = {} for k in self.sensorTypeKeys.values(): values[k] = False for s in self.sensors: values[self.sensorTypeKeys[s[1]]] = True for v in values.keys(): result[v] = values[v] return result
def getValues(self): result = Page.getValues(self) k = 'DC_EXTRUDER' s = self.choices[k].GetSelection() v = self.choices[k].GetString(s) if v == self.heaterNameNone: if k in self.choicesOriginal.keys(): result[k] = self.choicesOriginal[k][0], False else: result[k] = "", False else: result[k] = "HEATER_%s" % v, True return result
def getValues(self): result = Page.getValues(self) k = 'DC_EXTRUDER' s = self.choices[k].GetSelection() v = self.choices[k].GetString(s) if v == self.heaterNameNone: if k in self.choicesOriginal.keys(): result[k] = self.choicesOriginal[k][0], False else: result[k] = "", False else: result[k] = "HEATER_%s" % v, True return result
def getValues(self): result = Page.getValues(self) for tag in self.kinematicsKeys: rb = self.radioButtons[tag] if rb.GetValue(): result['KINEMATICS'] = tag break for tag in self.kinematicsKeys: try: del result[tag] except: pass return result
def getValues(self): result = Page.getValues(self) for tag in self.kinematicsKeys: rb = self.radioButtons[tag] if rb.GetValue(): result['KINEMATICS'] = tag break for tag in self.kinematicsKeys: try: del result[tag] except: pass return result
def getValues(self): result = Page.getValues(self) values = {} for k in self.sensorTypeKeys.values(): values[k] = False for s in self.sensors: values[self.sensorTypeKeys[s[1]]] = True for v in values.keys(): result[v] = values[v] for k in self.choices.keys(): if result[k][0] == "-": if k in self.choicesOriginal.keys(): result[k] = self.choicesOriginal[k][0], False else: result[k] = "", False return result
def getValues(self): result = Page.getValues(self) values = {} for k in self.sensorTypeKeys.values(): values[k] = False for s in self.sensors: values[self.sensorTypeKeys[s[1]]] = True for v in values.keys(): result[v] = values[v] for k in self.choices.keys(): if result[k][0] == "-": if k in self.choicesOriginal.keys(): result[k] = self.choicesOriginal[k][0], False else: result[k] = "", False return result