|
|
using System;
|
|
|
using System.Data;
|
|
|
using System.Collections.Generic;
|
|
|
//using DQ.Construction.NewLook.Utility;
|
|
|
using InterfaceWorkAreaData.LoadCurveData;
|
|
|
namespace InterfaceWorkAreaData
|
|
|
{
|
|
|
public class CUnique
|
|
|
{
|
|
|
public string strID { get; set; }
|
|
|
public int id { get; set; }
|
|
|
}
|
|
|
|
|
|
public class cWellBaseInfo : CUnique
|
|
|
{
|
|
|
public string WellName { get; set; }
|
|
|
public string WellCode;
|
|
|
public double? BushingLevel;
|
|
|
public double? x;
|
|
|
public double? y;
|
|
|
public string WellType; // 井别
|
|
|
public string Area;
|
|
|
public string WellCategory; //井型
|
|
|
public double? finishedDepth;
|
|
|
public double? xBottom;
|
|
|
public double? yBottom;
|
|
|
}
|
|
|
|
|
|
public class cWellCurve : CUnique
|
|
|
{
|
|
|
public string CurveName;
|
|
|
public string unit; //曲线单位
|
|
|
public double startDepth;
|
|
|
public double endDepth;
|
|
|
public double relv;
|
|
|
public double abnormal;
|
|
|
public double []value;
|
|
|
}
|
|
|
|
|
|
public class cStratum : CUnique // 地层
|
|
|
{
|
|
|
public string name;
|
|
|
public double top;
|
|
|
public double bottom;
|
|
|
}
|
|
|
|
|
|
public class cResult : CUnique//解释分层
|
|
|
{
|
|
|
public string name;
|
|
|
public string result;
|
|
|
public string facies;
|
|
|
public double top;
|
|
|
public double bottom;
|
|
|
public double thick;
|
|
|
}
|
|
|
|
|
|
public class cDiscrete : CUnique
|
|
|
{
|
|
|
public string name;
|
|
|
public double[] value;
|
|
|
public double[] depth;
|
|
|
}
|
|
|
|
|
|
public class cPerforation:CUnique
|
|
|
{
|
|
|
public double? top;
|
|
|
public double? bottom;
|
|
|
public string layer;
|
|
|
public string perforationMethod;
|
|
|
}
|
|
|
|
|
|
public class cFaultPoint : CUnique
|
|
|
{
|
|
|
public cFaultPoint() { compareWell = ""; }
|
|
|
public double? depth;
|
|
|
public string faultName;
|
|
|
public string compareWell;
|
|
|
public double? compareWellTop;
|
|
|
public double? compareWellBottom;
|
|
|
public string faultTopLayer;
|
|
|
public string faultBottomLayer;
|
|
|
}
|
|
|
|
|
|
public class cWellTrackPoint : CUnique
|
|
|
{
|
|
|
public double? depth;
|
|
|
public double? bevel;
|
|
|
public double? azimuth;
|
|
|
public double? x;
|
|
|
public double? y;
|
|
|
public double? depthV;
|
|
|
}
|
|
|
|
|
|
public class cWellStratification : CUnique
|
|
|
{
|
|
|
public cWellStratification() { name = ""; }
|
|
|
public int level;
|
|
|
public string name;
|
|
|
public string code;
|
|
|
public int parentId;
|
|
|
public int order;
|
|
|
}
|
|
|
|
|
|
public class cWellSandSet : CUnique
|
|
|
{//层组分层
|
|
|
public cWellSandSet() { result = facies = ""; }
|
|
|
public string name;
|
|
|
public double top;
|
|
|
public double bottom;
|
|
|
public string result;
|
|
|
public string facies;
|
|
|
}
|
|
|
|
|
|
public class cStratumDivision
|
|
|
{
|
|
|
public cStratumDivision (){ name = code = classname = ""; }
|
|
|
public int id;
|
|
|
public string name;
|
|
|
public string code;
|
|
|
public int parentID;
|
|
|
public string classname;
|
|
|
public int orderId;
|
|
|
}
|
|
|
|
|
|
public class cWellReservesLayer
|
|
|
{
|
|
|
public cWellReservesLayer() { facies = subfacies = layer = electricLogInterpretation = ""; }
|
|
|
public int id;
|
|
|
public string layer;
|
|
|
public double? topSecondSandstone;
|
|
|
public double? bottomSecondSandstone;
|
|
|
public double? topFirstSandstone;
|
|
|
public double? bottomFirstSandstone;
|
|
|
public double? pureEffectiveTopEstimate;
|
|
|
public double? pureEffectiveThicknessEstimate;
|
|
|
public string electricLogInterpretation;
|
|
|
public string facies;
|
|
|
public string subfacies;
|
|
|
public double? viewEffectiveTop;
|
|
|
public double? viewEffectiveThickness;
|
|
|
}
|
|
|
|
|
|
public class cWellInnerLayer
|
|
|
{
|
|
|
public cWellInnerLayer() { type = ""; }
|
|
|
public int id;
|
|
|
public double? top;
|
|
|
public double? bottom;
|
|
|
public double? thickness;
|
|
|
public string type;
|
|
|
}
|
|
|
|
|
|
public class cWellCycle
|
|
|
{
|
|
|
public cWellCycle() { type = ""; }
|
|
|
public int id;
|
|
|
public double? top;
|
|
|
public double? bottom;
|
|
|
public string type;
|
|
|
}
|
|
|
|
|
|
public class cWellLithology
|
|
|
{
|
|
|
public cWellLithology() { color = oilcontent = inclusions = structure = lithologyprefix = lithology = ""; }
|
|
|
public int id;
|
|
|
public double? top;
|
|
|
public double? bottom;
|
|
|
public double? thickness;
|
|
|
public string color;
|
|
|
public string oilcontent;
|
|
|
public string inclusions;
|
|
|
public string structure;
|
|
|
public string lithologyprefix;
|
|
|
public string lithology;
|
|
|
}
|
|
|
|
|
|
public class cWellOilTest
|
|
|
{
|
|
|
public cWellOilTest() { verdict = method = layer = ""; }
|
|
|
public int id;
|
|
|
public double? top;
|
|
|
public double? bottom;
|
|
|
public double? dayOil;
|
|
|
public double? dayWater;
|
|
|
public double? dayGas;
|
|
|
public double? sumOil;
|
|
|
public double? sumWater;
|
|
|
public double? sumGas;
|
|
|
public string verdict; //试油结论
|
|
|
public string method;
|
|
|
public double? staticMpa; //静压
|
|
|
public double? caseMpa; //套压
|
|
|
public double? flowMpa; //流压;
|
|
|
public double density; //密度
|
|
|
public double viscosity;// 粘度
|
|
|
public string layer;//
|
|
|
public string startTime;
|
|
|
public string endTime;
|
|
|
public double staticTemperature; //静温
|
|
|
public double thickness;
|
|
|
public double stroke; //冲程
|
|
|
}
|
|
|
|
|
|
public class cWellCoring
|
|
|
{
|
|
|
public cWellCoring() { }
|
|
|
public int id;
|
|
|
public double top;
|
|
|
public double bottom;
|
|
|
public string method;
|
|
|
public string layer;
|
|
|
public string date;
|
|
|
public int times;
|
|
|
public double length;
|
|
|
public double diameter;
|
|
|
public double oilsaturatedlength;
|
|
|
public string firstlayer;
|
|
|
public string secondlayer;
|
|
|
public string thridlayer;
|
|
|
}
|
|
|
|
|
|
public class cWellSideWallCoring
|
|
|
{
|
|
|
public cWellSideWallCoring() { }
|
|
|
public int id;
|
|
|
public double top;
|
|
|
public int number;
|
|
|
public string color;
|
|
|
public string oilcontent;
|
|
|
public string inclusions;
|
|
|
public string structure;
|
|
|
public string lithologyprefix;
|
|
|
public string lithology;
|
|
|
public string firstlayer;
|
|
|
public string secondlayer;
|
|
|
public string thridlayer;
|
|
|
}
|
|
|
|
|
|
public interface IWorkAreaData
|
|
|
{
|
|
|
string dataSource { get; set; }
|
|
|
|
|
|
List<cWellBaseInfo> getWellsInfo();
|
|
|
//List<string> getWellCurveNames(string wellname);
|
|
|
|
|
|
//List<cWellCurve> getWellCurves(string wellname);
|
|
|
//cWellCurve getWellCurve(string wellname, string curveName);
|
|
|
|
|
|
List<cDiscrete> getWellDiscretes(string wellname);
|
|
|
List<string> getWellDiscreteNames(string wellname);
|
|
|
|
|
|
// List<cStratum> getWellStratums(string wellname);
|
|
|
// List<cResult> getWellResults(string wellname);
|
|
|
|
|
|
ResultDataInfo getCurvesData(string wellName, ref DataTable table);
|
|
|
|
|
|
List<cPerforation> getWellPerforations(string wellname);
|
|
|
|
|
|
List<cFaultPoint> getWellFaultPoints(string wellname);
|
|
|
|
|
|
List<cWellTrackPoint> getWellTrajectory(string wellname);
|
|
|
|
|
|
List<cWellStratification> getWellStratification();
|
|
|
|
|
|
List<cWellSandSet> getWellSandSets(string wellname);
|
|
|
|
|
|
List<cStratumDivision> getStratumDivisions();
|
|
|
|
|
|
List<cWellReservesLayer> getReservesLayers(string wellname);
|
|
|
|
|
|
List<cWellInnerLayer> getInnerLayers(string wellname);
|
|
|
|
|
|
List<cWellCycle> getWellCycles(string wellname, int termType); //1= 长期旋回,2=中期旋回,3=短期旋回,
|
|
|
|
|
|
List<cWellLithology> getWellLithologys(string wellname);
|
|
|
|
|
|
List<cWellOilTest> getWellOilTests(string wellname);
|
|
|
|
|
|
List<cWellCoring> getWellCorings(string wellname);
|
|
|
|
|
|
List<cWellSideWallCoring> getWellSideWallCorings(string wellname);
|
|
|
bool isConn();
|
|
|
bool Conn(string ds);
|
|
|
}
|
|
|
}
|