49 lines
1.2 KiB
C
Raw Normal View History

2024-03-19 17:45:12 +08:00
#pragma once
//#include "../stdafx.h"
#include "Command.h"
#include "../external/SocketHandle/SocketHandle.h"
#include "../config/ConfigManager.h"
#include "TempCtrlClient.h"
#include "OxygenClient.h"
#include "IPGLaserClient.h"
#include "ChillerClient.h"
#include "UPSClient.h"
#include "PowderSupplySimpleClient.h"
#include "PowderCarClient.h"
#include "PowerMeterClient.h"
#include "ScannerPowerClient.h"
#include <map>
class ComServer
{
typedef ComServer thisclass;
public:
ComServer();
~ComServer();
void Init();
void Startup();
2024-04-23 13:41:16 +08:00
void Shutdown();
2024-03-19 17:45:12 +08:00
2024-04-15 10:08:28 +08:00
void SendToClients();
2024-03-19 17:45:12 +08:00
public:
TempCtrlClient* m_TempCtrlClient;
OxygenClient* m_OxygenClient;
vector<IPGLaserClientV1*> m_LaserClients;
PowderSupplySimpleClient* m_SimpleSupplyClient;
//ChillerClient* m_LaserChillerClient;
ChillerClient* m_LaserChillerClient;
// ChillerClient* m_PurifierChillerClient;
UPSClient* m_UPSClient;
//PowderCarClient* m_PowderCarClient;
ScannerPowerClient* m_ScannerPowerClient;
PowerMeterClient* m_PowerMeterClient;
private:
//map<string, ComServerCfg*>* m_ComServerCfgMap;
MachineCfg* m_MachineCfg;
ExtCfg* m_ExtCfg;
Machine* m_Machine;
AlarmCfgWrapper* m_AlarmCfgWrapper;
};