CTCOfficeGUI.MainScreen.OnAuthorityEntered C# (CSharp) Метод

OnAuthorityEntered() приватный Метод

User entered an authority
private OnAuthorityEntered ( string value ) : void
value string Authority entered
Результат void
        private void OnAuthorityEntered(string value)
        {
            //Send authority and track block to CTC controller
            if (!m_ctcController.SetAuthority(m_selectedTrackBlock, value))
            {
                ShowOKPopup("Error", "Authority cannot be set because it is invalid", OnPopupAcknowledged);
            }
            else
            {
                CloseOpenPopups();
            }
        }