#pragma once #include #include "nmDataLogFile.h" // 数值试井绘图对象类型 enum NM_Obj_Type { NOT_Point = 0, // 点 NOT_Point_Well, // 井 NOT_Line, // 线 NOT_Polygon, // 多边形 NOT_PolygonOutline, // 边界 NOT_Line_Crack, // 裂缝 NOT_Line_Fault, // 断层 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"; } #define NM_DATA_LOG_FILE(x) nmDataLogFile::getInstance()->writeLog(x)