Beispiel #1
0
        private void initHailiesBot()
        {
            MyXML xml = new MyXML(config_path);

            try
            {
                n_hailiesChest_run_number.Value = Convert.ToDecimal(xml.read(hb_run_number));
            }
            catch { }

            try
            {
                n_hailieRunDalay.Value = Convert.ToDecimal(xml.read(hb_run_delay));
            }
            catch { }

            try
            {
                n_hailie_rest.Value = Convert.ToDecimal(xml.read(hb_rest));
            }
            catch { }

            HailiesChestBot = new B_HailiesChestBot();
        }
Beispiel #2
0
        private void initHailiesBot()
        {
            MyXML xml = new MyXML(config_path);

            try
            {
                n_hailiesChest_run_number.Value = Convert.ToDecimal(xml.read(hb_run_number));
            }
            catch { }

            try
            {
                n_hailieRunDalay.Value = Convert.ToDecimal(xml.read(hb_run_delay));
            }
            catch { }

            try
            {
                n_hailie_rest.Value = Convert.ToDecimal(xml.read(hb_rest));
            }
            catch { }
            
            HailiesChestBot = new B_HailiesChestBot();
        }