[6.2.4] add common of chain , versionCode

This commit is contained in:
zhongchao
2023-12-06 17:49:42 +08:00
parent 9bda271c10
commit cfbf4fca20
2 changed files with 4 additions and 2 deletions

View File

@@ -136,7 +136,7 @@ class SystemVersionView @JvmOverloads constructor(
}
ivHDCache.setOnClickListener {
hmiAction("$M_HMI$TAG", mapOf("isHDCached" to isHDCached),true)
hmiAction("$M_HMI$TAG", mapOf("isHDCached" to isHDCached))
if (isHDCached) {// 已缓存
ToastUtils.showShort(resources.getString(R.string.offline_had_downloaded))
} else {// 未缓存

View File

@@ -1,4 +1,6 @@
package com.mogo.eagle.core.data.deva.chain
data class ChainCommon(val lat:Double, val lon:Double, val lineId:Long) {
import com.mogo.eagle.core.data.app.AppConfigInfo
data class ChainCommon(val lat:Double, val lon:Double, val lineId:Long, val eagleVersionCode:Int = AppConfigInfo.appVersionCode) {
}