Exemplo n.º 1
0
 public void Command_Forward_Backward(int speed, int times, ref Communication TcpClnt)
 {
     TcpClnt.Send_Data_By_Client(movement.Motion_Foreward_Backward(speed));
     time = times;
     Time_Thread = new Thread(new ParameterizedThreadStart(Time_Thread_Fcn));
     Time_Thread.Start(TcpClnt);
 }
Exemplo n.º 2
0
 public void Command_Stop(ref Communication TcpClnt)
 {
     TcpClnt.Send_Data_By_Client(movement.Motion_Foreward_Backward(63));
     TcpClnt.Send_Data_By_Client(movement.Direction_Right_Left(63));
 }