public RTPRobotScanner() { _robotCommunicator = new RTPRobotCommunicator(); _dataCommunicator = new RTPDataCommunicator(); _dataCommunicator.Start(); _dataCommunicator.OnRobotInfoDetected += OnRobotInfoDetected; _thread = new ThreadJob(); _thread.ThreadHandler += ThreadHandler; _thread.Start(); }
public CommunicationThread(RTPRobotCommunicator o) { owner = o; }