private bool OnCommandReceived(object sender, Message message, int port) { //if (Status.NodeStatus != NodeStatusValues.Active) return false; //Clear bus & node errors _bus.ClearErrors(); Status.LastError = 0; //Most common parameters var stack = new SimpleStack(message.Data); stack.ClearRead(); Log.Debug(string.Format("received command from node {0}", message.Source)); return Execute(message.Source, message.Command, message.Data); }