Esempio n. 1
0
        /// <summary>
        /// Загрузить базу из файла.
        /// </summary>
        public void LBase()
        {
            LoggerMaster.LoggerM.Debug("In class: " + nameof(TaxiStation) + " : " + "Try call: " + MethodBase.GetCurrentMethod());

            List <Car> tmpv;
            uint       rmtmp;

            DBManage.LoadBase(out tmpv, out rmtmp);
            this.AllCars     = tmpv;
            this.ResultMoney = rmtmp;
        }
Esempio n. 2
0
        /// <summary>
        /// Сохранить базу в файл.
        /// </summary>
        public void SBase()
        {
            LoggerMaster.LoggerM.Debug("In class: " + nameof(TaxiStation) + " : " + "Try call: " + MethodBase.GetCurrentMethod());

            DBManage.SaveBase(AllCars, ResultMoney);
        }