private bool RunRobot(DataTable dt, int[] listSelectIndex, int currentIndex, string user, string Position, string strConnect)
 {
     if (dt.Rows.Count == 0)
     {
         return(false);
     }
     Robot.cMain RB = new Robot.cMain();
     return(RB.Run(strConnect, user, OfficeSpaceId, currentTools, dt, listSelectIndex, currentIndex, DatabaseTemp));
 }
 private bool StopRobot()
 {
     Robot.cMain RB = new Robot.cMain();
     return(RB.Stop(currentTools));
 }