eis/inc/cda/StmDAO.h

54 lines
1.0 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.

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