Example #1
0
        private void RdButton_Click(object sender, EventArgs e)
        {
            int id = ((UrrRdButton)sender).Id;

            try
            {
                if (_StateManager.ManagingSite)
                {
                    _CmdManager.ChangeSite(id);
                }
                else
                {
                    _CmdManager.RdSwitchRtxState(id);
                }
            }
            catch (Exception ex)
            {
                int    pos = _RdButtons.IndexOf((UrrRdButton)sender);
                string msg = string.Format("ERROR modificando pertenencia a grupo Rtx de frecuencia RD [Pos={0}] [Id={1}]", pos, id);
                _Logger.Error(msg, ex);
            }
        }