corrected method setWatermeter() in InventoryController