private void a(LinearLayout var1, String var2) {
   int var3 =
       Integer.parseInt(
           ((TextView) var1.findViewById(R.id.port_number_digital_device)).getText().toString());
   EditText var4 = (EditText) var1.findViewById(R.id.editTextResult_digital_device);
   var4.setEnabled(true);
   DeviceConfiguration var5 = (DeviceConfiguration) this.j.get(var3);
   var5.setType(var5.typeFromString(var2));
   var5.setEnabled(true);
   this.a(var4, var5);
 }
 private void m89a(LinearLayout linearLayout, String str) {
   int parseInt =
       Integer.parseInt(
           ((TextView) linearLayout.findViewById(R.id.port_number_analogOutput))
               .getText()
               .toString());
   EditText editText = (EditText) linearLayout.findViewById(R.id.editTextResult_analogOutput);
   editText.setEnabled(true);
   DeviceConfiguration deviceConfiguration = (DeviceConfiguration) this.f124d.get(parseInt);
   deviceConfiguration.setType(deviceConfiguration.typeFromString(str));
   deviceConfiguration.setEnabled(true);
   m87a(editText, deviceConfiguration);
 }