public void pushDataToDashBoard(TeSensor teSensor) {
   // TODO Auto-generated method stub
   dashBoardMessage.getSensorData().setName(teSensor.getName());
   dashBoardMessage.getSensorData().setLocation(teSensor.getLocation());
   dashBoardMessage.getSensorData().setDescription(teSensor.getDescription());
   dashBoardMessage.getSensorData().setTemprValue(teSensor.getTemprValue());
   dashBoardMessage.setUpdateType("TeSensor");
 }
  public TeSensorManager() {
    // TODO for now hardcoding the sensors, but later the details of all the sensors will be read
    // from a config file

    teSensorMap = new HashMap<String, TeSensor>();

    for (int i = 1; i <= 5; i++) {

      TeSensor sensorObj = new TeSensor();
      sensorObj.setName("tesensor" + i);
      sensorObj.setLocation("location" + i);
      sensorObj.setDescription("description" + i);
      sensorObj.setTemprValue(0);

      teSensorMap.put(sensorObj.getName(), sensorObj);
    }
  }