| | |
| | | package com.flightfeather.monitor.analysis.dust |
| | | |
| | | import com.flightfeather.monitor.analysis.dust.exception.* |
| | | import com.flightfeather.monitor.domain.ds1.entity.DustExceptionData |
| | | import com.flightfeather.monitor.domain.ds1.repository.DustExceptionDataRep |
| | | import com.flightfeather.monitor.domain.ds1.repository.DustExceptionSettingRep |
| | |
| | | private val dustSiteStatusRep: DustSiteStatusRep, |
| | | ) { |
| | | |
| | | private var running = false |
| | | var running = false |
| | | |
| | | private val taskList = mutableListOf<BaseDustExceptionAnalysis>() |
| | | |
| | |
| | | taskList.clear() |
| | | taskList.apply { |
| | | add(ExceptionDataMissing(it)) |
| | | add(ExceptionNoFluctuation(it)) |
| | | add(ExceptionApproachExceeding(it)) |
| | | add(ExceptionExceedingTimes(it)) |
| | | add(ExceptionSlideAverage(it)) |
| | | add(ExceptionValueMutation(it)) |
| | | add(ExceptionDataLowValue(it)) |
| | | add(ExceptionDataExceed(it)) |
| | | // add(ExceptionNoFluctuation(it)) |
| | | // add(ExceptionApproachExceeding(it)) |
| | | // add(ExceptionExceedingTimes(it)) |
| | | // add(ExceptionSlideAverage(it)) |
| | | // add(ExceptionValueMutation(it)) |
| | | // add(ExceptionDataLowValue(it)) |
| | | // add(ExceptionDataExceed(it)) |
| | | // add(ExceptionValidRate(it)) |
| | | } |
| | | } |
| | | } |