Example #1
0
        /// <summary>
        /// 返回配置类实例

        /// </summary>
        /// <returns></returns>
        public static SiteInfoConfig LoadConfig(string PhyFilePath)
        {
            M_SiteInfoConfig = (SiteInfoConfig)DefaultConfigFileManager.DeserializeInfo(PhyFilePath, typeof(SiteInfoConfig));
            return(M_SiteInfoConfig);
        }
Example #2
0
        /// <summary>
        /// 重设配置类实例

        /// </summary>
        public static SiteInfoConfig GetConfig(string PhyFilePath)
        {
            M_SiteInfoConfig = LoadConfig(PhyFilePath);
            return(M_SiteInfoConfig);
        }