portList.add("b");
char[] a = {'a', 'b'};
for (int j = 0; j < a.length; j++) {
char port = a[j];
for (int i = 0; i < 8; i++) {
DigitalSensor sensor = factory.createDigitalSensor();
sensor.setUid(getUid());
String genericDeviceId = port + String.valueOf(i);
String subId = "in" + genericDeviceId;
sensor.setSubId(subId);
sensor.setPin(i);
sensor.setPort(port);
sensor.setGenericDeviceId(genericDeviceId);
sensor.init();
sensor.setMbrick(this);
logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT,
subId);
}
for (int i = 0; i < 8; i++) {
DigitalActorIO16 actor = factory.createDigitalActorIO16();