DPS/include/TOTAL/WebFrameTableDAO.h

38 lines
1.1 KiB
C++

#pragma once
#include "DAO.h"
namespace DBPlatformSpace
{
/// 强框架位置
class WebFrameTableDAO : public subDBDAO
{
public:
int _areaType; ///<区域类型
int _currentState; ///<当前状态是待删除、已修改等
string _endFrame; ///<终止肋位
int _endFrameNo; ///<终止肋位号
double _endFrameOffset; ///<终止肋位偏移
int _locationType; ///<船体位置 如甲板以上 甲板以下
int _spaceNumBetweenFrames_OLD; ///<每两个强框架间的肋距个数
double _spaceNumBetweenFrames; ///<每两个强框架间的肋距个数 new
string _startFrame; ///<起始肋位
int _startFrameNo; ///<起始肋位号
double _startFrameOffset; ///<起始肋位偏移
ODI WebFrameTableDAO();
ODI ~WebFrameTableDAO();
ODI virtual Mapper* createMapper();
ODI static DAO* createObject();
virtual ODI ResultMsg delAllByType(int AreaType, int LocationType, int commitType = COMMIT_T_IMMEDIATELY);
static ODI ResultMsg FindAll(list<WebFrameTableDAO*> & pnewlist);
static ODI ResultMsg FindByID(int id, WebFrameTableDAO * &pnewdao);
static ODI ResultMsg FindByType(int AreaType, int LocationType, list<WebFrameTableDAO*>& DAOlist);
};
}