39 lines
1.0 KiB
C++
39 lines
1.0 KiB
C++
#pragma once
|
|
#include "DAO.h"
|
|
|
|
namespace DBPlatformSpace
|
|
{
|
|
/// 2D纵向板列
|
|
class D2_LongPlateDAO : public subDBDAO
|
|
{
|
|
public:
|
|
int _appID; ///<板列编号
|
|
double _bendReducFactor; ///<弯曲折减因子
|
|
double _lengthEnd; ///<板列结束位置
|
|
double _lengthStart; ///<板列开始位置
|
|
int _materailID; ///<材料编码
|
|
int _panelID; ///<所属板架ID号
|
|
int _ruleID; ///<规范结构属性
|
|
double _shearReducFactor; ///<剪切折减因子
|
|
double _thickness; ///<板厚
|
|
double _width; ///<板宽
|
|
|
|
ODI D2_LongPlateDAO();
|
|
ODI ~D2_LongPlateDAO();
|
|
|
|
|
|
ODI virtual Mapper* createMapper();
|
|
ODI static DAO* createObject();
|
|
|
|
|
|
static ODI ResultMsg FindAll(list<D2_LongPlateDAO*> & pnewlist);
|
|
|
|
static ODI ResultMsg FindByID(int id, D2_LongPlateDAO * &pnewdao);
|
|
|
|
static ResultMsg ODI FindByPanelID(int panelID, list<D2_LongPlateDAO*>&newlist);
|
|
|
|
// [11/5/2021 wwu]
|
|
ODI ResultMsg delAllByPanelID(int panelId, int commitType = COMMIT_T_IMMEDIATELY);
|
|
};
|
|
}
|