private void a(EditText var1, DeviceConfiguration var2) {
   if (var1.getText().toString().equalsIgnoreCase("NO DEVICE ATTACHED")) {
     var1.setText("");
     var2.setName("");
   } else {
     var1.setText(var2.getName());
   }
 }
 private void m87a(EditText editText, DeviceConfiguration deviceConfiguration) {
   if (editText.getText().toString().equalsIgnoreCase("NO DEVICE ATTACHED")) {
     editText.setText(BuildConfig.VERSION_NAME);
     deviceConfiguration.setName(BuildConfig.VERSION_NAME);
     return;
   }
   editText.setText(deviceConfiguration.getName());
 }
 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 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();
   }
 }