42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
#pragma once
|
||
#include "DAO.h"
|
||
|
||
namespace DBPlatformSpace
|
||
{
|
||
/// 2D平面横舱壁
|
||
class D2_Para_PlaneTransBulkheadDAO : public subDBDAO
|
||
{
|
||
public:
|
||
string _geoIDs; ///<几何GeoIDs
|
||
int _index; ///<序号
|
||
string _panelIDs; ///<生成PanelIDs
|
||
int _paraID; ///<平面横舱壁ID
|
||
int _sectionID; ///<所属横剖面ID号
|
||
string _xs; ///<x坐标,字符大小512
|
||
string _ys; ///<y坐标,字符大小512
|
||
|
||
ODI D2_Para_PlaneTransBulkheadDAO();
|
||
virtual ODI ~D2_Para_PlaneTransBulkheadDAO();
|
||
|
||
|
||
ODI virtual Mapper* createMapper();
|
||
ODI static DAO* createObject();
|
||
|
||
//_panelIDs
|
||
ODI ResultMsg savePanelIDs(list<int> panelIDlist);
|
||
ODI ResultMsg getPanelIDs(list<int>& panelIDlist);
|
||
|
||
//_geoIDs
|
||
ODI ResultMsg saveGeoIDs(list<int> geoIDlist);
|
||
ODI ResultMsg getGeoIDs(list<int>& geoIDlist);
|
||
|
||
static ODI ResultMsg FindAll(list<D2_Para_PlaneTransBulkheadDAO*> & pnewlist);
|
||
|
||
static ODI ResultMsg FindByID(int id, D2_Para_PlaneTransBulkheadDAO * &pnewdao);
|
||
|
||
static ResultMsg ODI FindByParaID(int paraID, list<D2_Para_PlaneTransBulkheadDAO*>&newlist);
|
||
|
||
static ResultMsg ODI FindBySectionID(int sectionID, list<D2_Para_PlaneTransBulkheadDAO*>&newlist);
|
||
};
|
||
}
|