25 lines
439 B
C++
25 lines
439 B
C++
#pragma once
|
|
#include "BaseClient.h"
|
|
#include "../config/bean/ExtCfg.h"
|
|
#include "../config/bean/AlarmCfg.h"
|
|
|
|
class WaterTempClient :public TcpClient
|
|
{
|
|
public:
|
|
WaterTempClient(CommunicationCfg* pconfig);
|
|
|
|
~WaterTempClient() {
|
|
|
|
}
|
|
void InitCommand();
|
|
float GetWaterTemp();
|
|
private:
|
|
void static ProcTempInfo(void* pobject, Command* pcommand);
|
|
|
|
private:
|
|
float m_WaterTemp;
|
|
ExtCfg* m_ExtCfg;
|
|
AlarmCfgWrapper* m_AlarmCfgWrapper;
|
|
};
|
|
|