def set_volume_in_pump(self, volume):
    self.volume_in_pump = volume
    constants.volume_in_pump = volume
def set_volume_in_pump(self, volume):
    self.volume_in_pump = volume
    constants.volume_in_pump = volume