34 lines
1.0 KiB
C++
34 lines
1.0 KiB
C++
#pragma once
|
|
#include "DAO.h"
|
|
|
|
namespace DBPlatformSpace
|
|
{
|
|
/// SDP舱室晃荡和剖面关联
|
|
class Csr_Tank_Sloshing_SectionDAO : public subDBDAO
|
|
{
|
|
public:
|
|
int _btransPlane; ///<当指定剖面舱室范围内是否有横向框架且类型不含Transverse Plane Swash Bulkhead
|
|
int _btransswashBulkhead; ///<当指定剖面舱室范围内是否有横向框架且类型为Transverse Plane Swash Bulkhead
|
|
int _frame; ///<强框架位置肋位
|
|
double _offsetX; ///<强框架位置偏移
|
|
int _tankID; ///<货油舱室id
|
|
int _tsecID; ///<强框架关联剖面id
|
|
|
|
ODI Csr_Tank_Sloshing_SectionDAO();
|
|
virtual ODI ~Csr_Tank_Sloshing_SectionDAO();
|
|
|
|
|
|
ODI virtual Mapper* createMapper();
|
|
ODI static DAO* createObject();
|
|
|
|
|
|
static ODI ResultMsg FindAll(list<Csr_Tank_Sloshing_SectionDAO*> & pnewlist);
|
|
|
|
static ODI ResultMsg FindByID(int id, Csr_Tank_Sloshing_SectionDAO * &pnewdao);
|
|
|
|
static ResultMsg ODI FindByTankID(int tankID, list<Csr_Tank_Sloshing_SectionDAO*>&newlist);
|
|
|
|
static ResultMsg ODI FindByTsecID(int tsecID, list<Csr_Tank_Sloshing_SectionDAO*>&newlist);
|
|
};
|
|
}
|