public void Reset() { name = ""; side = 0; Position = new DcsPosition(); LngLngPosition = new DCSLatLngPosition(); }
public void Reset() { name = ""; pos = new DcsPosition(); ptt = false; selected = 0; unit = ""; simultaneousTransmission = false; LastUpdate = 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)))); }