43 lines
1.2 KiB
C++
43 lines
1.2 KiB
C++
#pragma once
|
|
#include "DAO.h"
|
|
|
|
namespace DBPlatformSpace
|
|
{
|
|
/// 2D舱口围板
|
|
class D2_HatchCoamDAO : public subDBDAO
|
|
{
|
|
public:
|
|
double _b_co; ///<舱口围板距离中纵剖面的水平距离
|
|
double _btop; ///<舱口围板顶板宽度
|
|
int _deckID; ///<主甲板ID
|
|
double _h_co; ///<舱口围板高出主甲板的垂向距离
|
|
string _panelIDs; ///<生成PanelID逗号分隔字符串
|
|
int _paraID; ///<舱口围板ID
|
|
int _sectionID; ///<所属横剖面ID号
|
|
string _selectedGeomIDs; ///<几何
|
|
int _selectedType; ///<选择类型1 =0 自动 =1 用户选择
|
|
|
|
ODI D2_HatchCoamDAO();
|
|
virtual ODI ~D2_HatchCoamDAO();
|
|
|
|
|
|
ODI virtual Mapper* createMapper();
|
|
ODI static DAO* createObject();
|
|
|
|
//_panelIDs
|
|
ODI ResultMsg savePanelIDs(list<int> panelIDlist);
|
|
ODI ResultMsg getPanelIDs(list<int>& panelIDlist);
|
|
|
|
|
|
static ODI ResultMsg FindAll(list<D2_HatchCoamDAO*> & pnewlist);
|
|
|
|
static ODI ResultMsg FindByID(int id, D2_HatchCoamDAO * &pnewdao);
|
|
|
|
static ResultMsg ODI FindByDeckID(int deckID, list<D2_HatchCoamDAO*>&newlist);
|
|
|
|
static ResultMsg ODI FindByParaID(int paraID, list<D2_HatchCoamDAO*>&newlist);
|
|
|
|
static ResultMsg ODI FindBySectionID(int sectionID, list<D2_HatchCoamDAO*>&newlist);
|
|
};
|
|
}
|