Пример #1
0
        /// <summary>
        /// clear the old data in sydb, then load new data from input file
        /// </summary>
        /// <param name="filefullname"></param>
        public static void ReloadGlobalSydb(string filefullname)
        {
            GENERIC_SYSTEM_PARAMETERS sydbdata = FileLoader.Load <GENERIC_SYSTEM_PARAMETERS>(filefullname);
            SyDB sydb = SyDB.GetInstance();

            sydb.clear();
            sydb.LoadData(sydbdata);
        }