eis/eqpalg/algs/exp_bound.h
Huamonarch 224c2c45c4 Remove irrelevant comments from eqpalg source files
Cleaned 66 files across all eqpalg subdirectories:
- Removed commented-out dead code
- Removed redundant Chinese inline comments that restate variable/function names
- Removed trailing ///< annotations on self-explanatory fields
- Removed namespace closing comments
- Preserved all file headers, Doxygen documentation, and logic explanations
- No code changes — only comment removal
2026-05-09 13:30:09 +08:00

41 lines
833 B
C++

#pragma once
/**
* @file exp_bound.h
* @brief 数据超限幅值
* @author your name (you@domain.com)
* @version 0.1
* @date 2026-01-19
*
* Copyright: Baosight Co. Ltd.
* DO NOT COPY/USE WITHOUT PERMISSION
*
*/
#include <array>
#include <eqpalg/algs/exp_base.h>
#include <eqpalg/define/public.h>
#include <map>
#include <utility>
using std::string;
class ExpBound : public ExpBase {
public:
ExpBound(const string &name, const mix_cc::json &rule_json,
const string &ruleId, size_t exp_type);
virtual ~ExpBound();
public:
int init() override;
virtual AlarmInfo mon_proc() override;
std::vector<AlarmInfo> exec_task(mix_cc::time_range_t time_range) override;
private:
double limit_error_;
double limit_warn_;
string value_exp_str_;
private:
int init_X_exp();
void print_load_content();
};