예제 #1
0
 public void Reset()
 {
     name           = "";
     side           = 0;
     Position       = new DcsPosition();
     LngLngPosition = new DCSLatLngPosition();
 }
예제 #2
0
 public void Reset()
 {
     name     = "";
     pos      = new DcsPosition();
     ptt      = false;
     selected = 0;
     unit     = "";
     simultaneousTransmission = false;
     LastUpdate = 0;
 }
예제 #3
0
 public void Reset()
 {
     name     = "";
     pos      = new DcsPosition();
     latLng   = new DCSLatLngPosition();
     ptt      = false;
     selected = 0;
     unit     = "";
     simultaneousTransmission        = false;
     simultaneousTransmissionControl = SimultaneousTransmissionControl.EXTERNAL_DCS_CONTROL;
     LastUpdate = 0;
 }
 public static double CalculateDistance(DcsPosition from, DcsPosition too)
 {
     return
         (Math.Abs(
              Math.Sqrt(Math.Pow(too.x - from.x, 2) + Math.Pow(too.y - from.y, 2) + Math.Pow(too.z - from.z, 2))));
 }