예제 #1
0
        /// <summary>
        /// Loads the configuration from the xml file into the processor
        /// </summary>
        private void LoadConfiguration(string p_localDirectory)
        {
            var _filename = Path.Combine(p_localDirectory, BitMooseSettings.SettingsFileName);

            this.__MooseSettings = new BitMooseSettings();
            this.__MooseSettings.Load(_filename);
        }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="p_localDirectory"></param>
 /// <param name="p_debugLog"></param>
 /// <param name="p_priority"></param>
 /// <param name="p_defUserName"></param>
 /// <param name="p_defPassword"></param>
 /// <param name="p_defMinerOpt"></param>
 /// <param name="p_defPool"></param>
 /// <param name="p_defHost"></param>
 /// <param name="p_defArgs"></param>
 /// <param name="p_defPort"></param>
 private void QuarkConfiguration(string p_localDirectory, bool p_debugLog, int p_priority, string p_defUserName, string p_defPassword, string p_defMinerOpt, string p_defPool, string p_defHost, string p_defArgs, int p_defPort)
 {
     __MooseSettings = new BitMooseSettings();
     __MooseSettings.LoadQuark(p_localDirectory, p_debugLog, p_priority, p_defUserName, p_defPassword, p_defMinerOpt, p_defPool, p_defHost, p_defArgs, p_defPort);
 }