private void _listener_OnSentenceReceived(object sender, string s)
        {
            var packet        = _packetFactory.Get(s);
            var updatedVessel = _vessels.Add(packet.Message, packet.Talker);

            OnVesselUpdate?.Invoke(this, updatedVessel);
        }
예제 #2
0
 private void W_OnVesselUpdate(object sender, Vessel vessel)
 {
     ReceptionEllipse = Visibility.Visible;
     OnVesselUpdate?.Invoke(this, vessel);
     ReceptionEllipse = Visibility.Hidden;
 }