#pragma once /** * @file eqp_status.h * @brief 刷新设备运行状态 * @author your name (you@domain.com) * @version 0.1 * @date 2024-03-07 * * Copyright: Baosight Co. Ltd. * DO NOT COPY/USE WITHOUT PERMISSION * */ #include #include #include #include using std::map; class EqpStatus { public: EqpStatus(); ~EqpStatus(); /** * @brief Get the data json object * @return std::string */ std::string get_data_json(); private: std::unique_ptr logger_; BinaryTele binary_tele{CMemVar::Const()->event_eis_start, "T_LOV_FDAAITEM"}; private: /** * @brief * @return int */ int update_status(); /** * @brief * @return int */ int select_eqp_data(); };