public static GotoTianzhufengRobot GetInstance()
 {
     if (Instance == null)
     {
         Instance = new GotoTianzhufengRobot();
     }
     return(Instance);
 }
Exemple #2
0
 private RobotManager()
 {
     FindPath        = FindPathRobot.GetInstance();
     GotoTianzhufeng = GotoTianzhufengRobot.GetInstance();
     LianDan         = LianDanRobot.GetInstance();
     SongJing        = SongJingRobot.GetInstance();
     Zhenfa          = ZhenfaRobot.GetInstance();
     LuanZhou        = AutoWanderRobot.GetInstance();
     Caiqi           = CaiqiRobot.GetInstance();
     WuDangNew       = WuDangNewRobot.GetInstance();
 }
Exemple #3
0
 public override void Run()
 {
     base.Run();
     if (_targetAddress.Equals("天柱峰下"))
     {
         Stop();
         Robot rbt = GotoTianzhufengRobot.GetInstance();
         rbt.AfterCmd = this.AfterCmd;
         rbt.Run();
     }
     DoStep1();
 }