|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
|
|
// 数值试井绘图对象类型
|
|
|
|
|
enum NM_Obj_Type {
|
|
|
|
|
NOT_Point = 0, // 点
|
|
|
|
|
NOT_Line, // 线
|
|
|
|
|
NOT_Polygon, // 多边形
|
|
|
|
|
NOT_PolygonOutline, // 边界
|
|
|
|
|
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, // 其它
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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";
|
|
|
|
|
}
|