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.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "iGuiGridPty_global.h"
|
|
|
|
|
|
|
|
|
|
// 该类只是为了方便进行边界相关信息的处理
|
|
|
|
|
// 进行边界类型信息的扩展而新增
|
|
|
|
|
//边界位置(是在井位上的位置)
|
|
|
|
|
enum eBdyPosType
|
|
|
|
|
{
|
|
|
|
|
BYP_Left = 0,
|
|
|
|
|
BYP_Right,
|
|
|
|
|
BYP_Top,
|
|
|
|
|
BYP_Bottom,
|
|
|
|
|
BYP_Cricle,
|
|
|
|
|
BYP_None
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class X_GUI_GRIDPTY_EXPORT iBdyInfo
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
iBdyInfo();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
QString m_sName; //对应的英文标识,如:x1,ne,se等
|
|
|
|
|
QString m_sAlias; //对应的中文标识,如:边界距离1,上边界等
|
|
|
|
|
|
|
|
|
|
double m_dValue; //距离
|
|
|
|
|
QString m_sType; //类型,封闭 tr("CloseB")、定压 tr("FixP"),后续可以扩充为其他
|
|
|
|
|
|
|
|
|
|
bool m_bValid; //是否有效
|
|
|
|
|
|
|
|
|
|
eBdyPosType m_ePosType;
|
|
|
|
|
};
|
|
|
|
|
typedef QVector<iBdyInfo*> VecBdyInfos;
|