eis/eqpm/eqpm.h

52 lines
985 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
/**
* @file eqpm.h
* @brief 设备维护
* @author your name (you@domain.com)
* @version 0.1
* @date 2023-12-19
*
* Copyright: Baosight Co. Ltd.
* DO NOT COPY/USE WITHOUT PERMISSION
*
*/
#include <eqpm/eqpm_icei.h>
#include <glob/ConnectionMag.h>
#include <log4cplus/LOG.h>
#include <pace/Component.h>
#include <pace/pace.h>
#include <iostream>
#include <memory>
#include <string>
using namespace std;
namespace baosight {
/**
* @brief 负载程序的启动和初始变量信息的加载
*/
class eqpm : public Component {
public:
/**
* @brief Construct a new eqpm object
*/
eqpm();
/**
* @brief Destroy the eqpm object
*/
virtual ~eqpm();
/**
* @brief 启动进程
* @return int
*/
virtual int start();
private:
MessageICEPtr eqpm_server; ///< Ice通信模块
std::unique_ptr<LOG> logger_;
std::shared_ptr<ConnectionMag> con_mag_; ///< DB2连接管理器邹师傅的模块需要
};
}; // namespace baosight