GrpcPrint/PrintS/Controller/Controller.h

33 lines
676 B
C
Raw Normal View History

2024-03-25 13:22:32 +08:00
#pragma once
#include "../Machine/Machine.h"
#include "../PLC/MachineCtrl.h"
#include "../PLC/CoreCommunication.h"
#include "../Config/ConfigManager.h"
2024-03-26 10:33:00 +08:00
#include "../Communication/ComServer.h"
#include "../remote/RemoteClient.h"
2024-03-25 13:22:32 +08:00
2024-04-10 16:15:33 +08:00
class Controller {
2024-03-25 13:22:32 +08:00
public:
2024-04-10 16:15:33 +08:00
Controller();
~Controller();
2024-03-25 13:22:32 +08:00
void Init();
2024-04-07 17:09:01 +08:00
public:
2024-03-25 13:22:32 +08:00
Machine* m_Machine;
CoreCommunication* m_CoreCommunication;
PLCAxis* m_Axis;
StateCtrlWrapper* m_StateCtrlWrapper;
SysParamWrapper* m_SysParamWrapper;
AxisRecordWrapper* m_AxisRecordWrapper;
SignalStateWrapper* m_SignalStateWrapper;
2024-03-26 10:33:00 +08:00
MachineCtrl* m_MachineCtrl;
RemoteClient* m_RemoteClient;
ComServer* m_ComServer;
2024-03-25 13:22:32 +08:00
2024-04-07 17:09:01 +08:00
ScannerCtrl* m_ScannerCtrl;
2024-03-25 13:22:32 +08:00
};