Пример #1
0
 public BankLevelDelta Diff(BankLevelJsonData other)
 {
     return(new BankLevelDelta(level,
                               other.levelPriceCoins - levelPriceCoins,
                               other.profit - profit,
                               other.profitInterval - profitInterval));
 }
Пример #2
0
 public BankLevelData(BankLevelJsonData data)
 {
     this.Level           = data.level;
     this.LevelPriceCoins = data.levelPriceCoins;
     this.Profit          = data.profit;
     this.ProfitInterval  = data.profitInterval;
 }