Esempio n. 1
0
        /// <summary>
        /// 保存配置类实例
        /// </summary>
        /// <returns></returns>
        public static bool SaveConfig(WshelperConfigInfo scheduleconfiginfo)
        {
            WshelperConfigFileManager scfm = new WshelperConfigFileManager();

            WshelperConfigFileManager.ConfigInfo = scheduleconfiginfo;
            return(scfm.SaveConfig());
        }
Esempio n. 2
0
 /// <summary>
 /// 获取进程配置类实例
 /// </summary>
 /// <returns></returns>
 public static WshelperConfigInfo GetConfig()
 {
     return(WshelperConfigFileManager.LoadConfig());
 }