GrpcPrint/PrintS/Controller/Controller.h

37 lines
787 B
C++

#pragma once
#include "../Machine/Machine.h"
#include "../PLC/MachineCtrl.h"
#include "../PLC/CoreCommunication.h"
#include "../Config/ConfigManager.h"
#include "../Communication/ComServer.h"
#include "../remote/RemoteClient.h"
#include "../Purifier/BasePurifier.h"
class Controller {
public:
Controller();
~Controller();
void Init();
public:
Machine* m_Machine;
CoreCommunication* m_CoreCommunication;
PLCAxis* m_Axis;
StateCtrlWrapper* m_StateCtrlWrapper;
SysParamWrapper* m_SysParamWrapper;
AxisRecordWrapper* m_AxisRecordWrapper;
SignalStateWrapper* m_SignalStateWrapper;
MachineCtrl* m_MachineCtrl;
RemoteClient* m_RemoteClient;
ComServer* m_ComServer;
BasePurifier* m_Purifier;
JobController jc;
ScannerCtrl* m_ScannerCtrl;
MachineCfg* m_MachineCfg;
};