| | |
| | | if (factor != null && tag != null) { |
| | | if (tag.exceptionExisted) { |
| | | tag.startData?.let { |
| | | resultList.add(newResult(it, lastData, factor, tag.exceptionData)) |
| | | resultList.add(newResult(it, tag.endData, factor, tag.exceptionData)) |
| | | } |
| | | tag.exceptionExisted = false |
| | | } |
| | |
| | | val tag1 = tagMap[f.main] ?: return@forEach |
| | | if (tag1.exceptionExisted) { |
| | | tag1.startData?.let { |
| | | resultList.add(newResult(it, lastData, f, tag1.exceptionData)) |
| | | resultList.add(newResult(it, tag1.endData, f, tag1.exceptionData)) |
| | | } |
| | | tag1.exceptionExisted = false |
| | | } |
| | |
| | | |
| | | } |
| | | |
| | | override fun newResult( |
| | | |
| | | |
| | | fun newResult( |
| | | start: BaseRealTimeData, |
| | | end: BaseRealTimeData?, |
| | | factor: FactorFilter.SelectedFactor, |