eis/inc/dao/ParamMag.h

74 lines
2.3 KiB
C
Raw Normal View History

/*********************************************************************
*
* : ParamMag.h
*
* : Shanghai Baosight Software Co., Ltd.
*
* :
* :
* :
*
*
* 1.0 2010-09-02 echo_li
*
*********************************************************************/
#ifndef _PARAM_MAG_H
#define _PARAM_MAG_H
#include <log4cplus/LOG.h>
#include "dbinc/T_LOV_PARAM.h"
using namespace log4cplus;
/*********************************************************************
* : //TODO请补充类名称
* : Shanghai Baosight Software Co., Ltd.
* :
* :
* :
*
* 1.0 2010-09-02 echo_li
*
*********************************************************************/
class ParamMag{
public:
/**********************************************************************
* : PlantParam表中数值型的值,2009-3-26
* GetNumberParamValue
* short
* :
* paramName: [in] const string&
* datavalue: [out]float &
* type: [in] const string&
*
*
* 1.0 2010-09-02 echo_li
*
**********************************************************************/
static short GetNumberParamValue(const string& paramName, float& datavalue, const string& type="L3");
/**********************************************************************
* : PlantParam表中数值型的值
* GetCharParamValue
* short
* :
* paramName: [in] const string&
* pvalue: [out]char *
* type: [in] const string&
*
*
* 1.0 2010-09-02 echo_li
*
**********************************************************************/
static short GetCharParamValue(const string& paramName, char* pvalue, const string& type="L3" );
private:
static T_LOV_PARAM m_plantParam;
};
#endif //Endif _LIMITS_MAG_H