DPS/include/SDP/Sdp_Tank_BaseInfoDAO.h

41 lines
1.3 KiB
C++
Raw Permalink 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
{
/// sdp_tank_baseinfo
class Sdp_Tank_BaseInfoDAO : public subDBDAO
{
public:
int _beconnected; ///<是否与底边舱、顶边舱或双舷侧舱连通
int _bedss; ///<是否含Double Side Space
int _bwe; ///<压载水置换方式
double _hair; ///<液舱舱顶以上的空气管或溢流管高度m。
double _htk; ///<最大液舱高度
double _pdrop; ///<过载压力
int _pipeLowDeck; ///<溢流管高度是否低于干舷甲板
double _ppv; ///<安全阀压力
int _tankID; ///<舱室id
double _v; ///<舱容
double _xg_ap; ///<舱室重心(相对于AP)。取为舱室型心。
double _yg; ///<舱室重心,取为舱室型心
double _zc; ///<锚链管顶端Z坐标m
double _zfd; ///<进水最深平衡水线的Z坐标
double _zg; ///<舱室重心,取为舱室型心
double _ztest; ///<试验载荷高度
double _ztop; ///<舱顶坐标不包括小的舱口的液舱最高点的Z坐标m。
ODI Sdp_Tank_BaseInfoDAO();
virtual ODI ~Sdp_Tank_BaseInfoDAO();
ODI virtual Mapper* createMapper();
ODI static DAO* createObject();
static ODI ResultMsg FindAll(list<Sdp_Tank_BaseInfoDAO*> & pnewlist);
static ODI ResultMsg FindByID(int id, Sdp_Tank_BaseInfoDAO * &pnewdao);
};
}