52 lines
1.6 KiB
C++
52 lines
1.6 KiB
C++
#pragma once
|
|
#include "DAO.h"
|
|
|
|
namespace DBPlatformSpace
|
|
{
|
|
/// 2D垂直槽型纵舱壁
|
|
class D2_VerticalCorrugatedLongitudinalDAO : public subDBDAO
|
|
{
|
|
public:
|
|
double _a; ///<槽条面板宽度
|
|
double _b; ///<槽条腹板宽度
|
|
double _b1; ///<顶凳参数
|
|
double _b2; ///<顶凳参数
|
|
double _b3; ///<底凳参数
|
|
double _b4; ///<底凳参数
|
|
double _b_hclb; ///<纵舱壁横向位置
|
|
string _bottomSegment; ///<下端线段 板架ID或者几何ID
|
|
int _bottomType; ///<外壳选择类型 =0 自动 =1 用户选择
|
|
double _c; ///<槽深
|
|
double _h1; ///<顶凳参数
|
|
double _h2; ///<顶凳参数
|
|
double _h3; ///<底凳参数
|
|
double _h4; ///<底凳参数
|
|
int _manufactureType; ///<制造工艺:=0 冷热成形/ =1 组合型
|
|
string _panelIDs; ///<生成PanelID逗号分隔字符串
|
|
int _paraID; ///<垂直槽型纵舱壁ID
|
|
int _sectionID; ///<所属横剖面ID号
|
|
string _topSegment; ///<上端线段 板架ID或者几何ID
|
|
int _topType; ///<外壳选择类型 =0 自动 =1 用户选择
|
|
int _type; ///<卸货板/封槽板类型
|
|
|
|
ODI D2_VerticalCorrugatedLongitudinalDAO();
|
|
ODI ~D2_VerticalCorrugatedLongitudinalDAO();
|
|
|
|
//_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_VerticalCorrugatedLongitudinalDAO*> & pnewlist);
|
|
|
|
static ODI ResultMsg FindByID(int id, D2_VerticalCorrugatedLongitudinalDAO * &pnewdao);
|
|
|
|
static ResultMsg ODI FindBySectionID(int sectionID, list<D2_VerticalCorrugatedLongitudinalDAO*>&newlist);
|
|
|
|
static ResultMsg ODI FindByParaID(int paraID, list<D2_VerticalCorrugatedLongitudinalDAO*>& newlist);
|
|
};
|
|
}
|