eis/inc/zhd/SnapshotCus.h

64 lines
1.6 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*********************************************************************
*
* 文 件: SnapshotCus.h 启动文件
*
* 版权所有: Shanghai Baosight Software Co., Ltd.
*
* 概述://TODO请添加本文件包含功能详细描述
* //TODO
* //TODO
*
* 版本历史
* %USER%
*********************************************************************/
#ifndef H_zhd_SnapshotCus_H
#define H_zhd_SnapshotCus_H
#include <proxy/MessageICE.h>
#include <tag/Tag.h>
#include <zhd/Snapshot.h>
#include <zlib/MemTrk.h>
#include <zlib/MemCoil.h>
#include <zlib/MemTable.hpp>
#include <zlib/MemFix.hpp>
namespace baosight
{
class SnapshotCus : public Snapshot
{
public:
SnapshotCus();
virtual ~SnapshotCus();
public:
virtual int Dispatch(int eventNo,const ::Ice::ByteSeq& seq);
protected:
virtual int CacheCase(int eventNo, const char* seq);
virtual int StatCase(int eventNo, const char* seq);
virtual int TeleCase(int eventNo, const char* seq);
virtual int iMultiLinkCase(int eventNo, const char* seq);
virtual int StringCase(int eventNo,const string& tagitem,const string& chinese,const string& seq);
private: // ADD FOR YOUR FUNCTIONS
// 写入3D相关数据
virtual int Write3D(int eventNo);
int WriteAlarm(int eventNo, const ::Ice::ByteSeq &seq);
private:
char msz_unit_no[32]; // 机组号 ADD BY LIUXS 2020-09-22
CMemTrk* mp_trk; // 3D大屏显示用
CMemCoil* mp_coil; // 3D大屏显示用
private:
//map<eventNo,CMemFix<PLC_DATA>*> m_mapfix;
map<int,CMemFix<PLC_DATA>*> m_mapfix;
};
}
#endif