kopia lustrzana https://github.com/N0BOY/FT8CN
34 wiersze
852 B
Java
34 wiersze
852 B
Java
package com.bg7yoz.ft8cn.database;
|
|
|
|
/**
|
|
* 控制的模式
|
|
* @author BGY70Z
|
|
* @date 2023-03-20
|
|
*/
|
|
public class ControlMode {
|
|
public static final int VOX=0;
|
|
public static final int CAT=1;
|
|
//public static final int NETWORK=2;
|
|
public static final int BLUETOOTH=3;
|
|
public static final int RTS=4;//CI-V指令还是有效的
|
|
public static final int DTR=5;//CI-V指令还是有效的
|
|
|
|
public static String getControlModeStr(int mode){
|
|
switch (mode){
|
|
case VOX:
|
|
return "VOX";
|
|
case CAT:
|
|
return "CAT";
|
|
//case NETWORK:
|
|
// return "WIFI";
|
|
case BLUETOOTH:
|
|
return "Bluetooth";
|
|
case RTS:
|
|
return "RTS";
|
|
case DTR:
|
|
return "DTR";
|
|
}
|
|
return "";
|
|
}
|
|
}
|