eis/inc/cda/StmDAO.h

54 lines
1.0 KiB
C
Raw Permalink Normal View History

/*********************************************************************
*
* : 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