#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 class ComServer { typedef ComServer thisclass; public: ComServer(); ~ComServer(); void Init(); void Startup(); void SendToClients(); public: TempCtrlClient* m_TempCtrlClient; OxygenClient* m_OxygenClient; vector 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* m_ComServerCfgMap; MachineCfg* m_MachineCfg; ExtCfg* m_ExtCfg; Machine* m_Machine; AlarmCfgWrapper* m_AlarmCfgWrapper; };