-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRadarItem.cs
51 lines (43 loc) · 1.36 KB
/
RadarItem.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using System;
using System.Drawing;
namespace Interface_RADAR
{
public interface RadarItem : IComparable<RadarItem>
{
/// <summary>
/// Unique ID for each RadarItem
///
/// This is used to update existing RadarItems on the Radar
/// </summary>
int ID { get; }
/// <summary>
/// The Azimuth on which to display the RadarItem
///
/// Logically, the range of values is [0,359], but any
/// valid integer will be resolved to the correct value
/// </summary>
int Azimuth { get; set; }
/// <summary>
/// The Elevation on the Radar of the RadarItem
/// The range of values is [0,90]
/// </summary>
int Range { get; set; }
/// <summary>
/// The Height of the RadarItem
/// </summary>
int Height { get; set; }
/// <summary>
/// The Width of the RadarItem
/// </summary>
int Width { get; set; }
/// <summary>
/// The DateTime for when the RadarItem was created
/// </summary>
DateTime Created { get; }
/// <summary>
/// Specifies how to draw the RadarItem
/// </summary>
/// <param name="g"></param>
void DrawItem(Radar radar, Graphics g);
}
}