DPS/include/TOTAL/FPSOBasicDataDAO.h

37 lines
959 B
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
{
/// FPSO基本信息
class FPSOBasicDataDAO : public subDBDAO
{
public:
int _bottomType; ///<船底类型 0双层底 1单层底
int _changeStrategy; ///<营运换板策略 0净尺寸 1百分比
double _n; ///<装卸载次数
int _nT; ///<设计寿命期间总循环次数
double _nfd; ///<设计寿命
double _nr; ///<腐蚀年限
double _nt_Interval; ///<检验间隔
int _refitFlag; ///<新建还是改装 0:新建 1: 改装
double _tbal; ///<疲劳压载吃水
double _tmax; ///<疲劳满载吃水
double _tz; ///<平均跨零周期
double _v; ///<最大迁移速度
ODI FPSOBasicDataDAO();
virtual ODI ~FPSOBasicDataDAO();
ODI virtual Mapper* createMapper();
ODI static DAO* createObject();
virtual ODI ResultMsg save(int commitType = COMMIT_T_IMMEDIATELY);
static ODI ResultMsg FindAll(FPSOBasicDataDAO* & pnewdao);
static ODI ResultMsg FindByID(int id, FPSOBasicDataDAO * &pnewdao);
};
}