function update(Sensor $sen)
 {
     $query = "UPDATE `sensor` SET `sensor_board_id`='" . $sen->getSensorBoardId() . "',`manufactured_date`='" . $sen->getManufacturedDate() . "',`sensor_type`='" . $sen->getSensorType() . "',`sensor_status`='" . $sen->getSensorStatus() . "' WHERE `idsensor`='" . $sen->getIdsensor() . "'";
     $this->con->openConnection();
     $this->con->executeRawQuery($query);
     $this->con->closeConnection();
 }