예제 #1
0
  public void announceSensor(VSensorConfig vs) {

    Sensor sensor = createLSMSensor(vs);

    logger.warn("Sensor is to be announced");
    logger.warn(vs);
    logger.warn(sensor.getName());

    /*
    // create LSMTripleStore instance
    LSMTripleStore lsmStore = new LSMTripleStore();

    //set user information for authentication
    lsmStore.setUser(user);

    if (sensor==null)
        logger.warn("SENSOR IS NULL");
    else
        logger.warn("sensor not null");

    //call sensorAdd method
    lsmStore.sensorAdd(sensor);
          */
  }