コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }