public void setup(SensorType sensor, String type, int channel, int cc, int min, int max) { ParameterConfigurationPanel panel = panels.get(sensor); if (panel == null) throw new RuntimeException("No configuration available for sensor type " + sensor); panel.setup(type, channel, cc, min, max); }
public void setup(SensorType sensor, String type, String mode) { ParameterConfigurationPanel panel = panels.get(sensor); if (panel == null) throw new RuntimeException("No configuration available for sensor type " + sensor); panel.setup(type, mode); }