2025-06-23 10:41:33 +08:00
|
|
|
#pragma once
|
|
|
|
#include "DAO.h"
|
|
|
|
|
|
|
|
namespace DBPlatformSpace
|
|
|
|
{
|
2025-06-23 18:01:09 +08:00
|
|
|
/// 2D多边几何界数据
|
2025-06-23 10:41:33 +08:00
|
|
|
class D2_PolygonDataDAO : public subDBDAO
|
|
|
|
{
|
|
|
|
public:
|
2025-06-23 18:01:09 +08:00
|
|
|
int _geomID; ///<多边形ID(2D程序自动生成)
|
|
|
|
int _index; ///<序号(在父数据中顺序)
|
|
|
|
int _panelAppID; ///<板架ID
|
|
|
|
int _parentGeomID; ///<父数据ID
|
|
|
|
int _secctionID; ///<剖面ID
|
2025-06-23 10:41:33 +08:00
|
|
|
|
|
|
|
ODI D2_PolygonDataDAO();
|
|
|
|
ODI ~D2_PolygonDataDAO();
|
|
|
|
|
|
|
|
|
|
|
|
ODI virtual Mapper* createMapper();
|
|
|
|
ODI static DAO* createObject();
|
|
|
|
|
|
|
|
|
|
|
|
static ODI ResultMsg FindAll(list<D2_PolygonDataDAO*> & pnewlist);
|
|
|
|
|
|
|
|
static ODI ResultMsg FindByID(int id, D2_PolygonDataDAO * &pnewdao);
|
|
|
|
|
|
|
|
static ResultMsg ODI FindByGeomID(int geomID, list<D2_PolygonDataDAO*>&newlist);
|
|
|
|
|
|
|
|
static ResultMsg ODI FindByPanelAppID(int panelAppID, list<D2_PolygonDataDAO*>&newlist);
|
|
|
|
|
|
|
|
static ResultMsg ODI FindByParentGeomID(int parentGeomID, list<D2_PolygonDataDAO*>&newlist);
|
|
|
|
|
|
|
|
static ResultMsg ODI FindBySecctionID(int secctionID, list<D2_PolygonDataDAO*>&newlist);
|
|
|
|
};
|
|
|
|
}
|