Example #1
0
 public void _initMoneyMgr(MoneyMgr nMoneyMgr)
 {
     foreach (MoneyB i in mMoneyB)
     {
         i._initMoneyMgr(nMoneyMgr);
     }
 }
Example #2
0
 public void _initMoneyMgr(MoneyMgr nMoneyMgr)
 {
     foreach (MoneyConfig i in mMoneyConfig)
     {
         Money money_ = new Money(i._getId());
         nMoneyMgr._addMoney(money_);
     }
 }
Example #3
0
        public void _initMoneyMgr(MoneyMgr nMoneyMgr)
        {
            Money money_ = nMoneyMgr._getMoney(mId);

            if (null == money_)
            {
                LogService logService_ =
                    __singleton <LogService> ._instance();

                string logError =
                    string.Format(@"MoneyB _initMoneyMgr:{0}"
                                  , mId);
                logService_._logError(logError);
                return;
            }
            money_._setValue(mValue);
            money_._setTotal(mTotal);
            money_._setDayInc(mDayInc);
            money_._setDayDec(mDayDec);
            money_._setMaxDec(mMaxDec);
            money_._setMaxInc(mMaxInc);
            money_._setDebts(mDebts);
        }