Exemplo n.º 1
0
        /// <summary>
        /// </summary>
        /// <param name="commandBlock">
        ///     The response.
        /// </param>
        protected virtual void Send(CommandBlock commandBlock)
        {
            if (commandBlock == null)
            {
                return;
            }

            //            Trace.WriteLineIf("Send from " + Name + " " + commandBlock.Cmd1);

            Send(commandBlock.ToBytes());
        }