| | |
| | | * @date 2025/5/13 |
| | | * @author feiyu02 |
| | | */ |
| | | @Deprecated("2025.5.29, 逻辑与业务不匹配,后续删除") |
| | | class RealTimeExceptionSlideAverage : BaseExceptionAnalysis<RealTimeAnalysisConfig, RealTimeExceptionResult> { |
| | | |
| | | constructor(config: RealTimeAnalysisConfig) : super(config) |
| | |
| | | */ |
| | | open fun onNewException(tag: ExceptionSlideAverageTag, factor: FactorFilter.SelectedFactor, exceptionStatus: ExceptionStatusType) { |
| | | if (tag.startData == null) return |
| | | val ex = newResult(tag.startData!!, lastData, factor, tag.exceptionData) |
| | | val ex = newResult(tag.startData!!, tag.endData, factor, tag.exceptionData) |
| | | .apply { status = exceptionStatus.value } |
| | | // 异常已创建时,更新异常信息 |
| | | if (tag.exceptionCreated) { |
| | |
| | | } |
| | | |
| | | |
| | | override fun newResult( |
| | | fun newResult( |
| | | start: BaseRealTimeData, |
| | | end: BaseRealTimeData?, |
| | | factor: FactorFilter.SelectedFactor, |