|
|
@ -13,20 +13,18 @@ |
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include "iflytop/core/spdlogfactory/logger.hpp"
|
|
|
|
#include "iflytop/components/restful_server/restful_server.hpp"
|
|
|
|
#include "iflytop/core/components/jobs/work_queue.hpp"
|
|
|
|
#include "iflytop/core/components/timer/simple_timer.hpp"
|
|
|
|
#include "iflytop/core/spdlogfactory/logger.hpp"
|
|
|
|
#include "iflytoplinuxsdk/src/iflytop/components/iflytop_front_end_service/iflytop_front_end_service.hpp"
|
|
|
|
//
|
|
|
|
#include "configs/gconfig.hpp"
|
|
|
|
#include "zservice_container/zservice_container.hpp"
|
|
|
|
|
|
|
|
//
|
|
|
|
#include "configs/gconfig.hpp"
|
|
|
|
#include "iflytop/core/components/jobs/work_queue.hpp"
|
|
|
|
#include "iflytop/core/components/timer/simple_timer.hpp"
|
|
|
|
|
|
|
|
// #include "zlinuxcomponents/iflytop_can_protocol_stack/basic/iflytop_virtual_can_slave.hpp"
|
|
|
|
// #include "zlinuxcomponents/iflytop_can_protocol_stack/iflytop_can_protocol_controler.hpp"
|
|
|
|
//
|
|
|
|
#include "src/service/iflytop_can_host_device.hpp"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief |
|
|
@ -46,8 +44,9 @@ using namespace core; |
|
|
|
class MainControlService : public enable_shared_from_this<MainControlService> { |
|
|
|
ENABLE_LOGGER(MainControlService); |
|
|
|
|
|
|
|
shared_ptr<GConfig> m_zconfig; |
|
|
|
shared_ptr<RestfulServer> m_restfulServer; |
|
|
|
shared_ptr<GConfig> m_zconfig; |
|
|
|
shared_ptr<RestfulServer> m_restfulServer; |
|
|
|
shared_ptr<IflytopFrontEndService> m_iflytopwsService; |
|
|
|
|
|
|
|
public: |
|
|
|
MainControlService(){}; |
|
|
|