public void RdSwitchRxState(int id, bool longClick) { RdDst dst = _StateManager.Radio[id]; Debug.Assert((_StateManager.Radio.Rtx == 0) || !dst.Tx || ((dst.RtxGroup != 0) && (dst.RtxGroup != _StateManager.Radio.Rtx))); if (!dst.Rx || dst.Monitoring) { _EngineCmdManager.SetRdRx(id, true); } else if ((dst.Ptt != PttState.NoPtt && dst.Ptt != PttState.ExternPtt) || longClick) { _EngineCmdManager.SetRdRx(id, false); } else { _EngineCmdManager.NextRdAudio(id); } }