[6.9.0]
[fix] [offlin] [led fix]
This commit is contained in:
@@ -313,6 +313,15 @@ object LineModel {
|
||||
|
||||
}
|
||||
|
||||
fun isLastStation(end: BusStationBean):Boolean{
|
||||
return if (stationList.isNullOrEmpty()) {
|
||||
false
|
||||
}else{
|
||||
val last = stationList?.last()
|
||||
return last==end
|
||||
}
|
||||
}
|
||||
|
||||
fun getTaskTime(): String {
|
||||
return DateTimeUtil.formatLongToString(
|
||||
currentTask?.startTime ?: System.currentTimeMillis(),
|
||||
|
||||
@@ -103,7 +103,7 @@ object ThirdDeviceData {
|
||||
lineInfo.lineName,
|
||||
start.name,
|
||||
end.name,
|
||||
LineModel.isLastStation() == true
|
||||
LineModel.isLastStation(end)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user