private MotorControllerConfiguration m48a(
     SerialNumber serialNumber, String str, String str2, String str3) {
   MotorControllerConfiguration motorControllerConfiguration;
   if (serialNumber.equals(ControllerConfiguration.NO_SERIAL_NUMBER)) {
     motorControllerConfiguration = new MotorControllerConfiguration();
   } else {
     motorControllerConfiguration = (MotorControllerConfiguration) this.f101e.get(serialNumber);
   }
   motorControllerConfiguration.setName(str3);
   List arrayList = new ArrayList();
   MotorConfiguration motorConfiguration = new MotorConfiguration(1, str, true);
   MotorConfiguration motorConfiguration2 = new MotorConfiguration(2, str2, true);
   arrayList.add(motorConfiguration);
   arrayList.add(motorConfiguration2);
   motorControllerConfiguration.addMotors(arrayList);
   return motorControllerConfiguration;
 }
 private ServoControllerConfiguration m49a(
     SerialNumber serialNumber, ArrayList<String> arrayList, String str) {
   ServoControllerConfiguration servoControllerConfiguration;
   if (serialNumber.equals(ControllerConfiguration.NO_SERIAL_NUMBER)) {
     servoControllerConfiguration = new ServoControllerConfiguration();
   } else {
     servoControllerConfiguration = (ServoControllerConfiguration) this.f101e.get(serialNumber);
   }
   servoControllerConfiguration.setName(str);
   ArrayList arrayList2 = new ArrayList();
   for (int i = 1; i <= 6; i++) {
     boolean z;
     String str2 = (String) arrayList.get(i - 1);
     if (str2.equals("NO DEVICE ATTACHED")) {
       z = false;
     } else {
       z = true;
     }
     arrayList2.add(new ServoConfiguration(i, str2, z));
   }
   servoControllerConfiguration.addServos(arrayList2);
   return servoControllerConfiguration;
 }