rv.InputCommand.processAnswerString C# (CSharp) Method

processAnswerString() private method

private processAnswerString ( string a ) : bool
a string
return bool
        internal override bool processAnswerString(string a)
        {
            if (!base.processAnswerString(a))
                return false;

            if(_port < 0)
            {
                a = a.Replace("%1INPT=", "");
                int retVal = int.Parse(a);

                _type = (InputType)(retVal / 10);
                _port = retVal % 10;
            }

            return true;
        }