예제 #1
0
 public void UpdateCurrent(UserAmounts q, UserAmounts b)
 {
     currentA = new UserAmounts(q.TradeName, q.BaseAmount, q.CoinAmount);
     currentB = new UserAmounts(b.TradeName, b.BaseAmount, b.CoinAmount);
 }
예제 #2
0
 public void UpdateBase(UserAmounts q, UserAmounts b)
 {
     baseA = new UserAmounts(q.TradeName, q.BaseAmount, q.CoinAmount);
     baseB = new UserAmounts(b.TradeName, b.BaseAmount, b.CoinAmount);
 }