46 lines
1.5 KiB
C++
46 lines
1.5 KiB
C++
#pragma once
|
|
#include "DAO.h"
|
|
|
|
namespace DBPlatformSpace
|
|
{
|
|
/// 2D水平槽型纵舱壁
|
|
class D2_HoriCorrugatedLongitudinalDAO : public subDBDAO
|
|
{
|
|
public:
|
|
int _afterFixType; ///<后端的固定形式 =0 固定 =1 简支
|
|
double _b_hclb; ///<纵舱壁横向位置
|
|
string _bottomSegment; ///<下端线段 板架ID或者几何ID
|
|
int _bottomType; ///<外壳选择类型 =0 自动 =1 用户选择
|
|
int _foreFixType; ///<前端的固定形式 =0 固定 =1 简支
|
|
int _manufactureType; ///<制造工艺:=0 冷热成形/ =1 组合型
|
|
int _orient; ///<第一个槽条朝向:=0 左舷/ =1 右舷
|
|
string _panelIDs; ///<生成PanelID逗号分隔字符串
|
|
int _paraID; ///<水平槽型纵舱壁ID
|
|
int _sectionID; ///<所属横剖面ID号
|
|
string _topSegment; ///<上端线段 板架ID或者几何ID
|
|
int _topType; ///<外壳选择类型 =0 自动 =1 用户选择
|
|
|
|
ODI D2_HoriCorrugatedLongitudinalDAO();
|
|
ODI ~D2_HoriCorrugatedLongitudinalDAO();
|
|
|
|
|
|
//_panelIDs
|
|
ODI ResultMsg savePanelIDs(list<int> panelIDlist);
|
|
ODI ResultMsg getPanelIDs(list<int>& panelIDlist);
|
|
|
|
|
|
ODI virtual Mapper* createMapper();
|
|
ODI static DAO* createObject();
|
|
|
|
|
|
static ODI ResultMsg FindAll(list<D2_HoriCorrugatedLongitudinalDAO*> & pnewlist);
|
|
|
|
static ODI ResultMsg FindByID(int id, D2_HoriCorrugatedLongitudinalDAO * &pnewdao);
|
|
|
|
static ResultMsg ODI FindBySectionID(int sectionID, list<D2_HoriCorrugatedLongitudinalDAO*>&newlist);
|
|
|
|
static ResultMsg ODI FindByParaID(int paraID, list<D2_HoriCorrugatedLongitudinalDAO*>& newlist);// [4/28/2022 wwu]
|
|
|
|
};
|
|
}
|