DPS/include/SDP/Sdp_Tank_OtInfoDAO.h

37 lines
1.2 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
{
/// Sdp_Tank_OtInfo
class Sdp_Tank_OtInfoDAO : public subDBDAO
{
public:
int _tankID; ///<舱室id
double _ltk; ///<所考虑的液货舱长度m取所考虑的前后两个横舱壁之间的长度。
int _bectbhd; ///<横舱壁是否为槽形
double _btk; ///<液货舱后舱壁位置处的最大宽度。
double _btk_mid; ///<液货舱长度中间位置处宽度
double _ldk; ///<横舱壁顶凳之间,当未设置顶凳时,为槽型舱壁翼板之间,在甲板平面处的货油舱长度
double _bdk; ///<顶边舱之间或顶边舱与中心甲板箱之间,当未设置顶凳时,为槽型翼板间,在甲板平面处的货油舱宽度。
double _lib; ///<横舱壁底凳之间,在内底平面处的货油舱长度
double _bib; ///<底边舱之间或底边舱与中心底凳之间在内底平面处的货油舱宽度m。
double _lfs; ///<液货舱顶部长度
double _btop; ///<液货舱顶部宽度,在舱室中部量取
int _bebaltk; ///<用作压载水舱
int _bwe; ///<压载水处理方式?
ODI Sdp_Tank_OtInfoDAO();
ODI ~Sdp_Tank_OtInfoDAO();
ODI virtual Mapper* createMapper();
ODI static DAO* createObject();
static ODI ResultMsg FindAll(list<Sdp_Tank_OtInfoDAO*> & pnewlist);
static ODI ResultMsg FindByID(int id, Sdp_Tank_OtInfoDAO * &pnewdao);
};
}