GrpcPrint/PrintC/Communication/PowderCarClient.h

29 lines
594 B
C
Raw Normal View History

2024-04-18 11:59:51 +08:00
#pragma once
#include "BaseClient.h"
#include <map>
#include "../config/bean/IOCfg.h"
class PowderCarClient :public TcpClient
{
public:
PowderCarClient(void* pconfig = nullptr);
~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<char, float> m_WeightValues;
IOCfg* m_PrintStorageCar1Connect;
IOCfg* m_PrintStorageCar2Connect;
IOCfg* m_CleanStorageCar1Connect;
IOCfg* m_CleanStorageCar2Connect;
};