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_Para_PlaneTransBulkheadDAO : public subDBDAO
|
|
|
|
|
{
|
|
|
|
|
public:
|
2025-06-23 18:01:09 +08:00
|
|
|
|
string _geoIDs; ///<几何GeoIDs
|
|
|
|
|
int _index; ///<序号
|
|
|
|
|
string _panelIDs; ///<生成PanelIDs
|
|
|
|
|
int _paraID; ///<平面横舱壁ID
|
|
|
|
|
int _sectionID; ///<所属横剖面ID号
|
|
|
|
|
string _xs; ///<x坐标,字符大小512
|
|
|
|
|
string _ys; ///<y坐标,字符大小512
|
2025-06-23 10:41:33 +08:00
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
};
|
|
|
|
|
}
|