增加在工具箱的赋值逻辑,避免打开调试窗时可能存在的主动获取基础信息

This commit is contained in:
xuxinchao
2022-05-19 20:00:16 +08:00
parent 5c352cf128
commit 3a6c275311

View File

@@ -202,6 +202,9 @@ class AutoPilotAndCheckView @JvmOverloads constructor(
speedLimit = carConfigResp.speedLimit
tvAcceleration.text = "加速度 ${carConfigResp.maxAcceleration} m/s²"
etInputSpeed.setText((carConfigResp.speedLimit * 3.6).toInt().toString())
AppConfigInfo.plateNumber = carConfigResp.plateNumber//车牌号
AppConfigInfo.iPCMacAddress = carConfigResp.macAddress//工控机MAC地址
AppConfigInfo.protocolVersionNumber = carConfigResp.protocolVersionValue//工控机协议版本
}
}
}