rc
This commit is contained in:
@@ -7,6 +7,8 @@ import com.mogo.utils.logger.Logger;
|
||||
* @since 2019-12-23
|
||||
* <p>
|
||||
* 各个模块递调试信息控制接口
|
||||
* <p>
|
||||
* 注:该类已经不再是简单的调试配置,已经涉及到功能逻辑了 囧
|
||||
*/
|
||||
public class DebugConfig {
|
||||
|
||||
@@ -115,17 +117,18 @@ public class DebugConfig {
|
||||
|
||||
/**
|
||||
* 设置使用哪个语音助手
|
||||
*
|
||||
* @param aiType {@link #AI_TYPE_TXZ} {@link #AI_TYPE_SPEECH}
|
||||
*/
|
||||
public static void setAIType(int aiType){
|
||||
Logger.d("DebugConfig", "setAiType: " + aiType);
|
||||
public static void setAIType( int aiType ) {
|
||||
Logger.d( "DebugConfig", "setAiType: " + aiType );
|
||||
sAIType = aiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 使用哪个语音助手 {@link #AI_TYPE_TXZ} {@link #AI_TYPE_SPEECH}
|
||||
*/
|
||||
public static int getAIType(){
|
||||
public static int getAIType() {
|
||||
return sAIType;
|
||||
}
|
||||
|
||||
@@ -164,4 +167,14 @@ public class DebugConfig {
|
||||
public static void setActiveAIAssistFlag( boolean sActiveAIAssistFlag ) {
|
||||
DebugConfig.sActiveAIAssistFlag = sActiveAIAssistFlag;
|
||||
}
|
||||
|
||||
private static boolean useMockObuData;
|
||||
|
||||
public static void setUseMockObuData( boolean use ) {
|
||||
useMockObuData = use;
|
||||
}
|
||||
|
||||
public static boolean isUseMockObuData() {
|
||||
return useMockObuData;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user