[fea]
[删除站点]
This commit is contained in:
yangyakun
2024-10-17 18:58:03 +08:00
parent c74493fa73
commit 11426a743a

View File

@@ -79,8 +79,11 @@ object LineManager : CallerBase<ILineCallback>() {
private var autopilotId: String by Delegates.observable("") { _, oldValue, newValue ->
if (oldValue != newValue) {
CallerEagleBaseFunctionCall4OchManager.setOchAutopilotOrderId(newValue)
getStations { start, end ->
val (start, end) = getStations()
if(start!=null&&end!=null){
CallerDataCenterBizListener.invokeOchInfo(OchInfo(0, mutableListOf(start.toMogoLocation(),end.toMogoLocation())))
}else{
CallerDataCenterBizListener.invokeOchInfo(OchInfo(0, mutableListOf()))
}
}