private void InfoUpdate(object sender, EventArgs e) { InQueueCount.Content = replicationNode.MessagesQueueProc.InMessagesQueue.Count; OutQueueCount.Content = replicationNode.MessagesQueueProc.OutMessagesQueue.Count; Counter.Content = replicationNode.CheckCounter; NodesList.Clear(); if (replicationNode.NodesInfo != null) { foreach (var value in replicationNode.NodesInfo) { NodesList.AppendText( $"Id={value.NodeId},Role={value.Role},State={value.State},Count={value.CheckCounter},PCount={value.CheckCounterPrev} \r\n"); } } }