[fea]
[日志]
This commit is contained in:
yangyakun
2024-11-21 15:36:12 +08:00
parent cb0d4614c5
commit ef966a1e73
3 changed files with 7 additions and 1 deletions

View File

@@ -414,6 +414,7 @@ object LineModel {
if(isClear) {
val ochInfo = OchInfo(1, mutableListOf())
ochInfo.siteMarkerList = mutableListOf()
OchChainLogManager.writeChainLog("地图","站点信息:${ochInfo}")
CallerDataCenterBizListener.invokeOchInfo(ochInfo)
}else{
val siteList = mutableListOf<SiteMarkerBean>()
@@ -446,6 +447,7 @@ object LineModel {
if(start!=null&&end!=null){
val ochInfo = OchInfo(1, mutableListOf(start.toMogoLocation(),end.toMogoLocation()))
ochInfo.siteMarkerList = siteList
OchChainLogManager.writeChainLog("地图","站点信息:${ochInfo}")
CallerDataCenterBizListener.invokeOchInfo(ochInfo)
}
}

View File

@@ -138,7 +138,7 @@ object TicketModel {
)
OchChainLogManager.writeChainLog(
"核销人数",
"任务:${currentTask.taskId} zhan'dian"
"任务:${currentTask.taskId} 站点:${firstStation.siteId}_${firstStation.name}"
)
}

View File

@@ -7,4 +7,8 @@ import com.mogo.eagle.core.data.map.SiteMarkerBean
// type 1-> 起终点+站点
data class OchInfo(var type: Int, var latLonList: List<MogoLocation>?) {
var siteMarkerList: List<SiteMarkerBean>? = null// 起终点+站点
override fun toString(): String {
return "OchInfo(type=$type, latLonList=$latLonList, siteMarkerList=$siteMarkerList)"
}
}