#pragma once #include "BaseClient.h" #include #include "../config/bean/IOCfg.h" class PowderCarClient :public TcpClient { public: PowderCarClient(CommunicationCfg* pconfig); ~PowderCarClient(); void InitCommand(); void GetWeightValue(float& pcar1, float& pcar2, float &ccar1, float &ccar2); private: void static PorcWeightValue(void* pobject, Command* pcommand); void CycleBegin(); private: map m_WeightValues; IOCfg* m_PrintStorageCar1Connect; IOCfg* m_PrintStorageCar2Connect; IOCfg* m_CleanStorageCar1Connect; IOCfg* m_CleanStorageCar2Connect; };