DPS/include/2D/D2_Para_WebFrameDAO.h

69 lines
1.6 KiB
C
Raw Normal View History

2025-06-23 10:41:33 +08:00
#pragma once
#include "DAO.h"
namespace DBPlatformSpace
{
2025-06-23 18:01:09 +08:00
/// 2D 强框架
2025-06-23 10:41:33 +08:00
class D2_Para_WebFrameDAO : public subDBDAO
{
public:
2025-06-23 18:01:09 +08:00
string _geomIDs; ///<所属几何ids
2025-06-23 10:41:33 +08:00
double _h1; ///<
double _h10; ///<
double _h11; ///<
double _h12; ///<
double _h2; ///<
double _h3; ///<
double _h4; ///<
double _h5; ///<
double _h6; ///<
double _h7; ///<
double _h8; ///<
double _h9; ///<
2025-06-23 18:01:09 +08:00
string _panelIDs; ///<关联PanelIDs
int _paraID; ///<横隔板ID
2025-06-23 10:41:33 +08:00
double _r1; ///<
double _r10; ///<
double _r11; ///<
double _r12; ///<
double _r2; ///<
double _r3; ///<
double _r4; ///<
double _r5; ///<
double _r6; ///<
double _r7; ///<
double _r8; ///<
double _r9; ///<
2025-06-23 18:01:09 +08:00
int _sectionID; ///<所属横剖面ID号
string _selectedGeomIDs; ///<几何
string _selectedtype1; ///<选择类型
int _type1; ///<类型: =0 =1
int _type2; ///<类型: =0 =1
2025-06-23 10:41:33 +08:00
ODI D2_Para_WebFrameDAO();
virtual ODI ~D2_Para_WebFrameDAO();
ODI virtual Mapper* createMapper();
ODI static DAO* createObject();
//_panelIDs
ODI ResultMsg savePanelIDs(list<int> panelIDlist);
ODI ResultMsg getPanelIDs(list<int>& panelIDlist);
//_geoIDs
ODI ResultMsg saveGeoIDs(list<int> geoIDlist);
ODI ResultMsg getGeoIDs(list<int>& geoIDlist);
static ODI ResultMsg FindAll(list<D2_Para_WebFrameDAO*> & pnewlist);
static ODI ResultMsg FindByID(int id, D2_Para_WebFrameDAO * &pnewdao);
static ResultMsg ODI FindByParaID(int paraID, list<D2_Para_WebFrameDAO*>&newlist);
static ResultMsg ODI FindBySectionID(int sectionID, list<D2_Para_WebFrameDAO*>&newlist);
};
}