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.
77 lines
2.5 KiB
C++
77 lines
2.5 KiB
C++
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
// 数值试井绘图对象类型
|
|
enum NM_Obj_Type {
|
|
NOT_Point = 0, // 点
|
|
NOT_Line = 1, // 线
|
|
NOT_Polygon = 2, // 多边形
|
|
NOT_PolygonOutline = 3, // 边界
|
|
NOT_Line_Crack = 4, // 裂缝
|
|
NOT_Line_Fault = 5, // 断层
|
|
NOT_Other, // 其它
|
|
NOT_UNKNWON
|
|
};
|
|
// 多相流的类型
|
|
enum NM_PHASE_TYPE {
|
|
PHASE_Oil, // 油
|
|
PHASE_Gas, // 气
|
|
PHASE_Water, // 水
|
|
PHASE_UNKNOWN // 其它
|
|
};
|
|
// 结构树节点类型
|
|
enum NM_TREE_TYPE {
|
|
TREE_OilReservoir, // 油藏节点
|
|
TREE_Data, // 数据节点
|
|
TREE_Mesh, // 网格节点
|
|
TREE_Solve, // 求解节点
|
|
TREE_Postprocessing,// 后处理节点
|
|
TREE_UNKNOW, // 其它
|
|
};
|
|
// 结构树油藏子节点
|
|
enum NM_TREE_OIL_RESERVOIR_TYPE {
|
|
TREE_Oil_Reservoir_Outline, // 边界节点
|
|
TREE_Oil_Reservoir_Well, // 井节点
|
|
TREE_Oil_Reservoir_Fault, // 断层节点
|
|
TREE_Oil_Reservoir_Crack, // 裂缝节点
|
|
TREE_Oil_Reservoir_Region, // 区域节点
|
|
TREE_Oil_Reservoir_Region_UNKNOW, // 其它
|
|
};
|
|
// 油藏边界类型
|
|
enum NM_OIL_RESERVOIR_OUTLINE_TYPE {
|
|
OIL_Reservoir_Outline_No_Flow, // 封闭
|
|
OIL_Reservoir_Outline_Constant_Pressure, // 定压
|
|
OIL_Reservoir_Outline_UNKNOW, // 其它
|
|
};
|
|
|
|
// 裂缝流动模型
|
|
enum NM_OIL_RESERVOIR_CRACK_FLOW_MODEL {
|
|
OIL_Reservoir_Crack_Flow_Infinite_Conductivity, // 无限导流
|
|
OIL_Reservoir_Crack_Flow_Finite_Conductivity, // 有限导流
|
|
OIL_Reservoir_Crack_Flow_UNKNOW, // 其它
|
|
};
|
|
|
|
// 断层流动模型
|
|
enum NM_OIL_RESERVOIR_FAULT_FLOW_MODEL {
|
|
OIL_Reservoir_Fault_Flow_Leaky, // 渗透
|
|
OIL_Reservoir_Fault_Flow_Composite_Limit, // 复合极限
|
|
OIL_Reservoir_Fault_Flow_UNKNOW, // 其它
|
|
};
|
|
|
|
namespace nmDataModelType
|
|
{
|
|
// 数据模型类型定义
|
|
const QString sTypeNumDataDemo = "zx_NumDataDemo";
|
|
const QString sTypeNumDataOilReservoirOutline = "zx_NumDataOilReservoirOutline";
|
|
const QString sTypeNumDataExample = "zx_NumDataExample";
|
|
}
|
|
|
|
namespace nmDataTableName
|
|
{
|
|
// 数据模型类型定义
|
|
const QString sTableNumDataDemo = "N_DATA_OIL_DEMO";
|
|
const QString sTableNumDataOilReservoirOutline = "N_DATA_OIL_RESERVOIR_OUTLINE";
|
|
const QString sTableNumDataExample = "N_DATA_OIL_EXAMPLE";
|
|
}
|