mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-14 09:37:36 -05:00
Adds missing class for airspy tuner
This commit is contained in:
35
src/source/tuner/airspy/AirspySampleRate.java
Normal file
35
src/source/tuner/airspy/AirspySampleRate.java
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
package source.tuner.airspy;
|
||||||
|
|
||||||
|
public class AirspySampleRate
|
||||||
|
{
|
||||||
|
private int mIndex;
|
||||||
|
private int mValue;
|
||||||
|
private String mLabel;
|
||||||
|
|
||||||
|
public AirspySampleRate( int index, int value, String label )
|
||||||
|
{
|
||||||
|
mIndex = index;
|
||||||
|
mValue = value;
|
||||||
|
mLabel = label;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getIndex()
|
||||||
|
{
|
||||||
|
return mIndex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getRate()
|
||||||
|
{
|
||||||
|
return mValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLabel()
|
||||||
|
{
|
||||||
|
return mLabel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toString()
|
||||||
|
{
|
||||||
|
return getLabel();
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user