private void b(View var1, DeviceConfiguration var2) {
   EditText var3 = (EditText) var1.findViewById(R.id.editTextResult_digital_device);
   if (var2.isEnabled()) {
     var3.setText(var2.getName());
     var3.setEnabled(true);
   } else {
     var3.setText("NO DEVICE ATTACHED");
     var3.setEnabled(false);
   }
 }
 private void m92b(View view, DeviceConfiguration deviceConfiguration) {
   EditText editText = (EditText) view.findViewById(R.id.editTextResult_analogOutput);
   if (deviceConfiguration.isEnabled()) {
     editText.setText(deviceConfiguration.getName());
     editText.setEnabled(true);
     return;
   }
   editText.setText("NO DEVICE ATTACHED");
   editText.setEnabled(false);
 }
 private void m86a(View view, DeviceConfiguration deviceConfiguration) {
   Spinner spinner = (Spinner) view.findViewById(R.id.choiceSpinner_analogOutput);
   ArrayAdapter arrayAdapter = (ArrayAdapter) spinner.getAdapter();
   if (deviceConfiguration.isEnabled()) {
     spinner.setSelection(arrayAdapter.getPosition(deviceConfiguration.getType().toString()));
   } else {
     spinner.setSelection(0);
   }
   spinner.setOnItemSelectedListener(this.f125e);
 }
  private void a(View var1, DeviceConfiguration var2) {
    Spinner var3 = (Spinner) var1.findViewById(R.id.choiceSpinner_digital_device);
    ArrayAdapter var4 = (ArrayAdapter) var3.getAdapter();
    if (var2.isEnabled()) {
      var3.setSelection(var4.getPosition(var2.getType().toString()));
    } else {
      var3.setSelection(0);
    }

    var3.setOnItemSelectedListener(this.k);
  }
 private void m127a(int i, View view, ArrayList<DeviceConfiguration> arrayList) {
   CheckBox checkBox = (CheckBox) view.findViewById(R.id.checkbox_port_matrix);
   DeviceConfiguration deviceConfiguration = (DeviceConfiguration) arrayList.get(i - 1);
   if (deviceConfiguration.isEnabled()) {
     checkBox.setChecked(true);
     ((EditText) view.findViewById(R.id.editTextResult_matrix))
         .setText(deviceConfiguration.getName());
     return;
   }
   checkBox.setChecked(true);
   checkBox.performClick();
 }
 private void b(int n) {
   View view = this.d(n);
   CheckBox checkBox = (CheckBox) view.findViewById(R.id.checkbox_port_servo);
   DeviceConfiguration deviceConfiguration = this.c.get(n - 1);
   if (deviceConfiguration.isEnabled()) {
     checkBox.setChecked(true);
     EditText editText = (EditText) view.findViewById(R.id.editTextResult_servo);
     editText.setText((CharSequence) deviceConfiguration.getName());
   } else {
     checkBox.setChecked(true);
     checkBox.performClick();
   }
 }