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