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