[dev_robotaxi-d-app-module_2132_221223_2.13.2] 去掉断开老obu的操作
This commit is contained in:
@@ -188,11 +188,12 @@ class SOPSettingView @JvmOverloads constructor(
|
||||
tbObu.isChecked = CallerOBUManager.isConnected()
|
||||
tbObu.setOnCheckedChangeListener { _, isChecked ->
|
||||
if (!isChecked) {
|
||||
if (AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode)) {
|
||||
CallerOBUManager.resetObuIpAddress("192.168.1.199")
|
||||
} else if (AppIdentityModeUtils.isBus(FunctionBuildConfig.appIdentityMode)) {
|
||||
CallerOBUManager.resetObuIpAddress("192.168.8.199")
|
||||
}
|
||||
CallerOBUManager.resetObuIpAddress("192.168.1.199")
|
||||
// if (AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode)) {
|
||||
// CallerOBUManager.resetObuIpAddress("192.168.1.199")
|
||||
// } else if (AppIdentityModeUtils.isBus(FunctionBuildConfig.appIdentityMode)) {
|
||||
// CallerOBUManager.resetObuIpAddress("192.168.8.199")
|
||||
// }
|
||||
} else {
|
||||
//断开链接
|
||||
CallerOBUManager.disConnectObu()
|
||||
|
||||
Reference in New Issue
Block a user