37 lines
914 B
C++
37 lines
914 B
C++
#pragma once
|
|
#include "DAO.h"
|
|
|
|
namespace DBPlatformSpace
|
|
{
|
|
/// 2D点集合数据
|
|
class D2_PointDataDAO : public subDBDAO
|
|
{
|
|
public:
|
|
int _geomID; ///<点ID(2D程序自动生成)
|
|
int _parentGeomID; ///<父数据ID
|
|
int _secctionID; ///<剖面ID
|
|
double _x; ///<X坐标
|
|
double _y; ///<Y坐标
|
|
double _z; ///<Z坐标
|
|
int _index; ///<序号(在父数据中顺序)
|
|
|
|
ODI D2_PointDataDAO();
|
|
ODI ~D2_PointDataDAO();
|
|
|
|
|
|
ODI virtual Mapper* createMapper();
|
|
ODI static DAO* createObject();
|
|
|
|
|
|
static ODI ResultMsg FindAll(list<D2_PointDataDAO*> & pnewlist);
|
|
|
|
static ODI ResultMsg FindByID(int id, D2_PointDataDAO * &pnewdao);
|
|
|
|
static ResultMsg ODI FindByGeomID(int geomID, list<D2_PointDataDAO*>&newlist);
|
|
|
|
static ResultMsg ODI FindByParentGeomID(int parentGeomID, list<D2_PointDataDAO*>&newlist);
|
|
|
|
static ResultMsg ODI FindBySecctionID(int secctionID, list<D2_PointDataDAO*>&newlist);
|
|
};
|
|
}
|