[6.6.2] close the obu default connect func
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user