/** * @file eqpalg/stat_tools/stat_alarm.h * @brief 统计模块的报警 * @author Cat (null.null.null@qq.com) * @version 0.1 * @date 2021-09-09 * * Copyright: Baosight Co. Ltd. * DO NOT COPY/USE WITHOUT PERMISSION * */ #pragma once #include #include #include "mix_cc/type/range.h" /** * @brief 统计模块的报警信息 */ struct StatAlarm { public: bool alarmed; std::string alarm_str; std::vector value; std::vector range; public: StatAlarm(); ~StatAlarm(); operator bool(); };