mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
P25 Work-in-progress check-in.
This commit is contained in:
21
src/decode/p25/reference/Status.java
Normal file
21
src/decode/p25/reference/Status.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package decode.p25.reference;
|
||||
|
||||
public enum Status
|
||||
{
|
||||
TALKAROUND,
|
||||
BUSY,
|
||||
REPEATER,
|
||||
IDLE,
|
||||
UNKNOWN;
|
||||
|
||||
|
||||
public Status fromValue( int value )
|
||||
{
|
||||
if( 0 <= value && value <= 3 )
|
||||
{
|
||||
return values()[ value ];
|
||||
}
|
||||
|
||||
return UNKNOWN;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user