mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-04-22 22:26:39 +00:00
a7a645c7ab
add tests
18 lines
378 B
C#
18 lines
378 B
C#
namespace SatelliteProvider.Common.DTO;
|
|
|
|
public class Direction
|
|
{
|
|
public double Distance { get; set; }
|
|
public double Azimuth { get; set; }
|
|
|
|
public Direction() { }
|
|
|
|
public Direction(double distance, double azimuth)
|
|
{
|
|
Distance = distance;
|
|
Azimuth = azimuth;
|
|
}
|
|
|
|
public override string ToString() => $"{Distance:F2}, {Azimuth:F1} deg";
|
|
}
|