2025-06-23 10:41:33 +08:00
|
|
|
|
#pragma once
|
|
|
|
|
#include "DAO.h"
|
|
|
|
|
|
|
|
|
|
namespace DBPlatformSpace
|
|
|
|
|
{
|
2025-06-23 18:01:09 +08:00
|
|
|
|
/// 水密舱壁位置定义表BC
|
2025-06-23 10:41:33 +08:00
|
|
|
|
class BCBHFrDefTableDAO : public subDBDAO
|
|
|
|
|
{
|
|
|
|
|
public:
|
2025-06-23 18:01:09 +08:00
|
|
|
|
int _cBHD; ///<是否是槽型舱壁
|
|
|
|
|
int _corDepth_old; ///<槽深
|
|
|
|
|
double _corDepth; ///<槽深_double
|
|
|
|
|
int _corDirection; ///<槽型朝向
|
|
|
|
|
int _currentState; ///<当前状态是待删除、已修改等
|
|
|
|
|
string _frame; ///<肋位
|
|
|
|
|
int _frameNo; ///<肋位号
|
|
|
|
|
double _frameOffset; ///<肋位偏移
|
|
|
|
|
int _frameofLSAftPlate; ///<底凳后侧板肋位号
|
|
|
|
|
int _frameofLSForePlate; ///<底凳前侧板肋位号
|
|
|
|
|
double _hofLSAftPlate; ///<底凳后侧板高
|
|
|
|
|
double _hofLSForePlate; ///<底凳前侧板高
|
|
|
|
|
int _index; ///<排序编号,从0开始,使用findall接口获取时,list为排序后结果
|
|
|
|
|
string _lSPlate_Aft_Frame; ///<底凳后侧板肋位
|
|
|
|
|
double _lSPlate_Aft_FrameOffset; ///<底凳后侧板肋位偏移
|
|
|
|
|
string _lSPlate_Fore_Frame; ///<底凳前侧板肋位
|
|
|
|
|
double _lSPlate_Fore_FrameOffset; ///<底凳前侧板肋位偏移
|
|
|
|
|
int _lStool; ///<是否是底凳
|
|
|
|
|
string _tankName; ///<舱壁名称(新增)
|
|
|
|
|
int _tankType; ///<舱壁类型
|
2025-06-23 10:41:33 +08:00
|
|
|
|
|
|
|
|
|
ODI BCBHFrDefTableDAO();
|
|
|
|
|
virtual ODI ~BCBHFrDefTableDAO();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ODI virtual Mapper* createMapper();
|
|
|
|
|
ODI static DAO* createObject();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static ODI ResultMsg FindAll(list<BCBHFrDefTableDAO*> & pnewlist);
|
|
|
|
|
|
|
|
|
|
static ODI ResultMsg FindByID(int id, BCBHFrDefTableDAO * &pnewdao);
|
|
|
|
|
};
|
|
|
|
|
}
|