DPS/include/2D/D2_Para_PlaneTransBulkheadD...

42 lines
1.2 KiB
C++
Raw Permalink 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.

#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);
};
}