Beispiel #1
0
 private void AddNode(ReceiveAISEventArgs e)
 {
     RadarItem item = new RadarItem(e, ITEM_SIZE);
     UpdateRadians(item, e.GpsLocation);
     _radar.AddItem(item);
     lock (itemRegister)
     {
         itemRegister.Add(item.ID, item);
     }
 }
Beispiel #2
0
 public RadarItem(ReceiveAISEventArgs aisData, int size)
 {
     AisData = aisData;
     _width = size;
     _height = size;
 }