Пример #1
0
        public bool ReadParameter(McmParameter param)
        {
            Trace.Assert((param.Attrib & McmParameter.Attribute.Read) == McmParameter.Attribute.Read);
            SendReadCommand(param.Command);

            var commandResponse = GetCommandResponse(500, out var str);

            if (commandResponse)
            {
                commandResponse = param.TryParseCommandResponse(str);
            }

            responding = commandResponse;

            return(commandResponse);
        }
Пример #2
0
 static bool FindPredicate_Parameter(McmParameter p) => p.Command == key;