Пример #1
0
 public static GotoTianzhufengRobot GetInstance()
 {
     if (Instance == null)
     {
         Instance = new GotoTianzhufengRobot();
     }
     return(Instance);
 }
Пример #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();
 }
Пример #3
0
 public override void Run()
 {
     base.Run();
     if (_targetAddress.Equals("天柱峰下"))
     {
         Stop();
         Robot rbt = GotoTianzhufengRobot.GetInstance();
         rbt.AfterCmd = this.AfterCmd;
         rbt.Run();
     }
     DoStep1();
 }