public bool ExitThreads()
{
if (rspDataIn != null)
rspDataIn.ThreadCtrl.ControlThread(ThreadControl.ThreadCtrl.Exit);
if (txDataOut != null)
txDataOut.threadCtrl.ControlThread(ThreadControl.ThreadCtrl.Exit);
if (rxDataIn != null)
rxDataIn.ThreadCtrl.ControlThread(ThreadControl.ThreadCtrl.Exit);
if (rxTxMgr != null)
rxTxMgr.threadCtrl.ControlThread(ThreadControl.ThreadCtrl.Exit);
return true;
}