54 lines
1.0 KiB
C++
54 lines
1.0 KiB
C++
/*********************************************************************
|
||
*
|
||
* 文 件: LstDAO.h 班组模块数据访问接口,默认提供Proc方式实现
|
||
*
|
||
* 版权所有: Shanghai Baosight Software Co., Ltd.
|
||
*
|
||
* 概述:
|
||
* :
|
||
* :
|
||
*
|
||
* 版本历史
|
||
* 1.0 2010-06-22 echo_li 初次建立
|
||
* 2010-08-10 liliang 增加停机数据访问接口
|
||
* %USER%
|
||
*********************************************************************/
|
||
#ifndef STMDAO_H_
|
||
#define STMDAO_H_
|
||
|
||
#include <map>
|
||
#include <dao/DbStandardDBAX.h>
|
||
#include "T_LOV_LIMIT.h"
|
||
#include <string>
|
||
#include <log4cplus/LOG.h>
|
||
|
||
|
||
using namespace std;
|
||
|
||
|
||
struct S_LIMITTENSION
|
||
{
|
||
string plantType;
|
||
string limitName;
|
||
int minValue;
|
||
int maxValue;
|
||
};
|
||
|
||
|
||
namespace baosight{
|
||
class StmDAO
|
||
{
|
||
public:
|
||
|
||
short GetLimits(const string planttype,map<string ,S_LIMITTENSION> &limitTension);
|
||
|
||
short GetLimit(const string planttype,const string limitname,S_LIMITTENSION &limitTension);
|
||
|
||
public:
|
||
StmDAO();
|
||
~StmDAO();
|
||
|
||
};
|
||
}
|
||
#endif
|