811812813814815816817818819820821
} @Override public void addSensor(String sensorName) { if (getDevice(sensorName, sensorsList) == null) { ISensor device = new SensorModel(); device.setName(sensorName); device.setEnabled(true); sensorsList.add(device); } }