def getValues(self):
    result = Page.getValues(self)

    for tag in self.accTypeKeys:
      result[tag] = self.radioButtons[tag].GetValue()

    return result
예제 #2
0
    def getValues(self):
        result = Page.getValues(self)

        for tag in self.kinematicsKeys:
            result[tag] = self.radioButtons[tag].GetValue()

        return result
예제 #3
0
  def getValues(self):
    result = Page.getValues(self)

    for tag in self.kinematicsKeys:
      result[tag] = self.radioButtons[tag].GetValue()

    return result
예제 #4
0
    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
예제 #6
0
    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
예제 #8
0
    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
예제 #9
0
    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
예제 #11
0
  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
예제 #12
0
    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
예제 #13
0
  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
예제 #14
0
  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
예제 #16
0
  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
예제 #17
0
    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
예제 #18
0
    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
예제 #19
0
  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
예제 #20
0
    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
예제 #21
0
  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
예제 #23
0
  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
예제 #24
0
  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
예제 #25
0
    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