@Override public boolean addOutputSensor(String sensorName,int state){
  OutputSensor outputSensor=new OutputSensor(sensorName);
  if (!outputSensor.setState(state)) {
    return false;
  }
  _outputSensorList.add(outputSensor);
  return true;
}

@ Override public boolean addOutputSensor ( String sensorName , int state ) { OutputSensor outputSensor = new OutputSensor ( sensorName ) ; if ( ! outputSensor . setState ( state ) ) { return false ; } _outputSensorList . add ( outputSensor ) ; return true ; }
add an output sensor to this route
