DPS/include/2D/D2_TransStiffenerDAO.h

65 lines
2.5 KiB
C++
Raw 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_TransStiffenerDAO : public subDBDAO
{
public:
double _angle; ///<朝向
double _angle1; ///<腹板朝向
double _angle2; ///<面板朝向
int _appID; ///<加强筋编号
int _backEndID; ///<端部连接编码
double _bendReducFactor; ///<弯曲折减因子
int _bucklingType; ///<仅为屈曲加强筋:0 -- 屈曲屈服加强筋1 -- 仅为屈曲加强筋
int _foreEndID; ///<端部连接编码
int _geomID; ///<所属几何id
string _geomIDs; ///<所属几何id
int _groupNumber; ///<加强筋组编号
int _holeID; ///<穿越孔样式
double _leftSpace; ///<左间距
int _longPanelID1; ///<横向加强筋首端连接的纵向板架
int _longPanelID2; ///<横向加强筋尾端连接的纵向板架
int _longStifferID1; ///<纵骨1id
int _longStifferID2; ///<纵骨2id
int _materailID; ///<材料编码
int _panelID; ///<所属板架ID号
int _polygonID; ///<所属几何
int _profileID; ///<型材编码
double _rightSpace; ///<右间距
double _shearReducFactor; ///<剪切折减因子
int _side; ///<内外侧0 -- 内侧或朝后1 -- 外侧或朝前
int _singleShell; ///<单壳加强筋 0 -- 单壳1 -- 双壳
double _span; ///<跨距
int _stiffenerType; ///<横向加强筋类型1 -- 横向加强筋2 -- 普通横向加强筋(多边形)
int _stiffnerNameNumber; ///<名称编号
string _transStiffenerStyle; ///<横向加强筋样式
int _transStifferID1; ///<横向加强筋首端连接的横向加强筋
int _transStifferID2; ///<横向加强筋尾端连接的横向加强筋
int _webBackEndID; ///<端部连接编码
double _webDirX; ///<腹板朝向向量X分量
double _webDirY; ///<腹板朝向向量Y分量
double _webDirZ; ///<腹板朝向向量Z分量
int _webForeEndID; ///<端部连接编码
ODI D2_TransStiffenerDAO();
virtual ODI ~D2_TransStiffenerDAO();
ODI virtual Mapper* createMapper();
ODI static DAO* createObject();
static ODI ResultMsg FindAll(list<D2_TransStiffenerDAO*> & pnewlist);
static ODI ResultMsg FindByID(int id, D2_TransStiffenerDAO * &pnewdao);
static ResultMsg ODI FindByPanelID(int panelID, list<D2_TransStiffenerDAO*>&newlist);
// [11/5/2021 wwu]
ODI ResultMsg delAllByPanelID(int panelId, int commitType = COMMIT_T_IMMEDIATELY);
};
}