44 lines
845 B
C++
44 lines
845 B
C++
#pragma once
|
|
#include<iostream>
|
|
#include<zsub/HandleMessage.h>
|
|
#include <zlib/MemTrk.h>
|
|
#include <zlib/MemCachedClient.h>
|
|
|
|
class HandleMessage008 : public HandleMessage
|
|
{
|
|
public:
|
|
HandleMessage008(void);
|
|
~HandleMessage008(void);
|
|
|
|
protected:
|
|
/*自定义组织电文的其它来源数据*/
|
|
virtual void AssembleOther(const string& address,int i);
|
|
|
|
/*自定义发送电文电文*/
|
|
virtual void MessageSend();
|
|
|
|
|
|
private:
|
|
|
|
bool GetModelValue();
|
|
int getTHData(string key);
|
|
int GetMemValue(string mename);
|
|
private:
|
|
|
|
MessageICEPrx ptg_proxy;
|
|
string prexn;
|
|
string prewc;
|
|
|
|
|
|
MemCachedClient m_mc;
|
|
CMemTrk* mp_trk;
|
|
|
|
map<string,float> ModelValue;
|
|
map<string,float> mp_th;
|
|
map<string,string> item_zone;
|
|
map<string,float> item_value;
|
|
map<string,float> MemValue;
|
|
|
|
|
|
};
|