kopia lustrzana https://github.com/N0BOY/FT8CN
20 wiersze
513 B
Java
20 wiersze
513 B
Java
|
package com.bg7yoz.ft8cn.connector;
|
||
|
|
||
|
public class ConnectMode {
|
||
|
public static final int USB_CABLE=0;
|
||
|
public static final int BLUE_TOOTH=1;
|
||
|
public static final int NETWORK=2;
|
||
|
public static String getModeStr(int mode){
|
||
|
switch (mode){
|
||
|
case USB_CABLE:
|
||
|
return "USB Cable";
|
||
|
case BLUE_TOOTH:
|
||
|
return "Bluetooth";
|
||
|
case NETWORK:
|
||
|
return "Network";
|
||
|
default:
|
||
|
return "-";
|
||
|
}
|
||
|
}
|
||
|
}
|