Пример #1
0
 /// <summary>
 /// Add message to log.
 /// </summary>
 bool LocoBufferPreviewMessage(byte[] message, Message decoded)
 {
     var response = Response.Decode(message);
     Log("<- " + response + " { " + Message.ToString(message) + " }");
     lbInputs.ProcessResponse(response);
     inputLogView.ProcessResponse(response);
     switchLogView.ProcessResponse(response);
     return false;
 }
Пример #2
0
        /// <summary>
        /// Add message to log.
        /// </summary>
        bool LocoBufferPreviewMessage(byte[] message, Message decoded)
        {
            var response = Response.Decode(message);

            Log("<- " + response + " { " + Message.ToString(message) + " }");
            lbInputs.ProcessResponse(response);
            inputLogView.ProcessResponse(response);
            switchLogView.ProcessResponse(response);
            return(false);
        }
Пример #3
0
 /// <summary>
 /// Add send message to log.
 /// </summary>
 bool LocoBufferSendMessage(byte[] message, Message decoded)
 {
     Log("-> " + Message.ToString(message));
     return false;
 }
Пример #4
0
 /// <summary>
 /// Add send message to log.
 /// </summary>
 bool LocoBufferSendMessage(byte[] message, Message decoded)
 {
     Log("-> " + Message.ToString(message));
     return(false);
 }