internal UssDropEvent InvokeEvent(UssDropEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         UssDrop?.Invoke(_api, arg);
     }
     return(arg);
 }
예제 #2
0
 private void ApplyUssDrop(UssDrop ussDrop)
 {
     _tracker.Modify(ussDrop.Timestamp, x =>
     {
         x.Body            = null;
         x.SurfaceLocation = null;
         x.Station         = null;
         x.SignalSource    = new SignalSource(new LocalisedString(ussDrop.USSType, ussDrop.USSType_Localised), ussDrop.USSThreat);
     });
 }