public void SetTransferAmount(ReagentUnit amount) { amount = ReagentUnit.New(Math.Clamp(amount.Int(), MinimumTransferAmount.Int(), MaximumTransferAmount.Int())); TransferAmount = amount; }