-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMidiEntry.cs
68 lines (54 loc) · 1.47 KB
/
MidiEntry.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
using System;
using SDRSharp.Radio;
namespace SDRSharp.MidiControl
{
public class MidiEntry
{
private DetectorType _detectorType;
private long _frequency;
private int _stepsize;
private int _audiogain;
private int _bandbreite;
private bool _startstop;
public MidiEntry() { }
public MidiEntry(MidiEntry midiEntry)
{
_frequency = midiEntry._frequency;
_stepsize = midiEntry._stepsize;
_audiogain = midiEntry._audiogain;
_bandbreite = midiEntry._bandbreite;
_detectorType = midiEntry._detectorType;
_startstop = midiEntry._startstop;
}
public bool Startstop
{
get { return _startstop; }
set { _startstop = value; }
}
public DetectorType DetectorType
{
get { return _detectorType; }
set { _detectorType = value; }
}
public int Bandbreite
{
get { return _bandbreite; }
set { _bandbreite = value; }
}
public long Frequency
{
get { return _frequency; }
set { _frequency = value; }
}
public int Stepsize
{
get { return _stepsize; }
set { _stepsize = value; }
}
public int Audiogain
{
get { return _audiogain; }
set { _audiogain = value; }
}
}
}