51 lines
994 B
C++
51 lines
994 B
C++
/*********************************************************************
|
||
*
|
||
* 文 件: MatStruct.h //TODO请概述文件功能
|
||
*
|
||
* 版权所有: Shanghai Baosight Software Co., Ltd.
|
||
*
|
||
* 概述://TODO请添加本文件包含功能详细描述
|
||
* ://TODO
|
||
* ://TODO
|
||
*
|
||
* 版本历史
|
||
* 1.0 2011-06-10 fuxiandong //TODO请添加本次主要修改内容
|
||
* %USER%
|
||
*********************************************************************/
|
||
#ifndef MatStruct_H_
|
||
#define MatStruct_H_
|
||
|
||
#include <dao/MatStructDBAX.h>
|
||
#include <log4cplus/LOG.h>
|
||
|
||
namespace baosight{
|
||
class MatStructDBAX;
|
||
class MatStruct
|
||
{
|
||
public:
|
||
MAT_STRUCTURE matUnits;
|
||
public:
|
||
bool dbAccess;
|
||
char* dbMessage;
|
||
char messageBuffer[200];
|
||
public:
|
||
MatStruct()
|
||
{
|
||
dbAccess = true;
|
||
}
|
||
|
||
public:
|
||
MatStruct( MU_CODE &muCode )
|
||
{
|
||
LOG log(__FUNCTION__);
|
||
dbAccess = true;
|
||
MatStructDBAX dbObj( muCode, *this );
|
||
}
|
||
public:
|
||
private:
|
||
};
|
||
}
|
||
|
||
#endif
|
||
|