[6.6.2] close the obu default connect func

This commit is contained in:
EmArrow
2024-09-20 20:10:21 +08:00
parent 901a5f0036
commit 404edc319a

View File

@@ -31,16 +31,16 @@ class MoGoObuProvider : IMoGoObuProvider {
//bus乘客版本obu功能去掉大理项目需要全部车辆接收不再限制
mContext = context
mContext?.let {
val ipAddress =
SharedPrefsMgr.getInstance().getString(MoGoConfig.OBU_IP, MogoObuConst.OBU_DEFAULT_IP)
//mogo obu
MogoPrivateObuNewManager.INSTANCE.connectObu(
it,
ipAddress,
CommonUtils.getIpAddressString()
)
}
// mContext?.let {
// val ipAddress =
// SharedPrefsMgr.getInstance().getString(MoGoConfig.OBU_IP, MogoObuConst.OBU_DEFAULT_IP)
// //mogo obu
// MogoPrivateObuNewManager.INSTANCE.connectObu(
// it,
// ipAddress,
// CommonUtils.getIpAddressString()
// )
// }
//监听obu版本数据
MogoPrivateObuNewManager.INSTANCE.readSystemConfig()