You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.6 KiB
C++
50 lines
1.6 KiB
C++
|
|
#ifndef TRACKFAULTPOINT_H
|
|
#define TRACKFAULTPOINT_H
|
|
/*
|
|
20250808 gaofeng
|
|
断点数据可以放到油层组道中,断点数据统一由井数据表进行管理,且断点数据对象与井数据表中的数据条数是一一对应,因此处理断点数据对象与数据表中记录的关联需要注意
|
|
*/
|
|
|
|
#pragma once
|
|
#include "InTrackTextRange.h"
|
|
class AFX_EXT_CLASS CInTrackFaultPoint : public CInTrackTextRange
|
|
{
|
|
public:
|
|
CInTrackFaultPoint();
|
|
CInTrackFaultPoint(const CRect8& position);
|
|
virtual ~CInTrackFaultPoint();
|
|
CLONE_WELLOBJECT(CInTrackFaultPoint)
|
|
virtual void operator=(CInTrackFaultPoint& object);
|
|
|
|
public:
|
|
virtual void Draw(CXyDC* pDC);
|
|
public:
|
|
|
|
virtual BOOL Intersects(const CRect8& rect, double dHandleSize);
|
|
virtual void Serialize(CArchive& ar, const short &ver);
|
|
virtual void MoveHandleTo(int nHandle, CPoint2D point);
|
|
public:
|
|
int m_iPointNum; //断点编号
|
|
double m_dThrow; //断距
|
|
CString m_sfaultedHori; //断缺层位
|
|
CString m_sCompareWell; //对比井
|
|
double m_dCompareWellTop,m_dCompareWellBottom; //对比井顶,底深
|
|
CString m_faultTopLayer; //断失顶层
|
|
CString m_faultBottomLayer; //断失底层
|
|
|
|
double m_dThrow1; //断距1
|
|
CString m_sfaultedHori1; //断缺层位1
|
|
CString m_sCompareWell1; //对比井1
|
|
double m_dCompareWellTop1,m_dCompareWellBottom1; //对比井1顶,底深
|
|
protected:
|
|
void Init();
|
|
public:
|
|
virtual int ReadPCG_SelfData(CKXmlParse& xp, const short& ver, CTrackObj* pTrack);
|
|
virtual void WritePCG_SelfData(CFile &fw, int nBaseTabNum);
|
|
virtual void UpdateRowData();
|
|
virtual void SetObjDataToRow(VARINTARR*pRow);
|
|
};
|
|
|
|
|
|
#endif |