2025-06-23 10:41:33 +08:00
|
|
|
|
#pragma once
|
|
|
|
|
#include "DAO.h"
|
|
|
|
|
|
|
|
|
|
namespace DBPlatformSpace
|
|
|
|
|
{
|
2025-06-23 18:01:09 +08:00
|
|
|
|
/// 2D线几何数据
|
2025-06-23 10:41:33 +08:00
|
|
|
|
class D2_CurveDataDAO : public subDBDAO
|
|
|
|
|
{
|
|
|
|
|
public:
|
2025-06-23 18:01:09 +08:00
|
|
|
|
int _clockwise; ///<0 逆时针;1 顺时针
|
|
|
|
|
int _geomID; ///<线ID(2D程序自动生成)
|
|
|
|
|
int _index; ///<序号(在父数据中顺序)
|
|
|
|
|
int _panelAppID; ///<板架ID
|
|
|
|
|
int _parentGeomID; ///<父线ID
|
|
|
|
|
int _secctionID; ///<剖面ID
|
|
|
|
|
int _type; ///<线类型:0 直线;1 样条线;2 圆弧;3 多段线
|
2025-06-23 10:41:33 +08:00
|
|
|
|
|
|
|
|
|
ODI D2_CurveDataDAO();
|
|
|
|
|
virtual ODI ~D2_CurveDataDAO();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ODI virtual Mapper* createMapper();
|
|
|
|
|
ODI static DAO* createObject();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static ODI ResultMsg FindAll(list<D2_CurveDataDAO*> & pnewlist);
|
|
|
|
|
|
|
|
|
|
static ODI ResultMsg FindByID(int id, D2_CurveDataDAO * &pnewdao);
|
|
|
|
|
|
|
|
|
|
static ResultMsg ODI FindByGeomID(int geomID, list<D2_CurveDataDAO*>&newlist);
|
|
|
|
|
|
|
|
|
|
static ResultMsg ODI FindByPanelAppID(int panelAppID, list<D2_CurveDataDAO*>&newlist);
|
|
|
|
|
|
|
|
|
|
static ResultMsg ODI FindByParentGeomID(int parentGeomID, list<D2_CurveDataDAO*>&newlist);
|
|
|
|
|
|
|
|
|
|
static ResultMsg ODI FindBySecctionID(int secctionID, list<D2_CurveDataDAO*>&newlist);
|
|
|
|
|
};
|
|
|
|
|
}
|