forked from badvectors/ATISPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ATISAudio.cs
31 lines (28 loc) · 829 Bytes
/
ATISAudio.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
using System;
using vatsys;
namespace ATISPlugin
{
public class ATISAudio
{
public ATISAudio()
{
Id = Guid.NewGuid();
}
public ATISAudio(byte[] audio, int atisIndex, string callsign, uint freq, Coordinate location, TimeSpan interval) : this()
{
Audio = audio;
ATISIndex = atisIndex;
Callsign = callsign;
Frequency = freq;
VisPoint = location;
Duration = interval;
}
public Guid Id { get; set; }
public byte[] Audio { get; set; }
public int ATISIndex { get; set; }
public string Callsign { get; set; }
public uint Frequency { get; set; }
public Coordinate VisPoint { get; set; }
public TimeSpan Duration { get; set; }
}
}