Skip to content

Commit

Permalink
FIX-2142 ToWitsml return actual type
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasbruvik committed Nov 27, 2023
1 parent 6e94373 commit 942c0c6
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Src/WitsmlExplorer.Api/Models/BhaRun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class BhaRun : ObjectOnWellbore
public string ObjectiveBha { get; init; }
public CommonData CommonData { get; init; }

public override IWitsmlQueryType ToWitsml()
public override WitsmlBhaRuns ToWitsml()
{
return new WitsmlBhaRun
{
Expand Down
2 changes: 1 addition & 1 deletion Src/WitsmlExplorer.Api/Models/ChangeLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class ChangeLog : ObjectOnWellbore
public string LastChangeType { get; init; }
public CommonData CommonData { get; init; }

public override IWitsmlQueryType ToWitsml()
public override WitsmlChangeLogs ToWitsml()
{
return new WitsmlChangeLog
{
Expand Down
2 changes: 1 addition & 1 deletion Src/WitsmlExplorer.Api/Models/FluidsReport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class FluidsReport : ObjectOnWellbore
public List<Fluid> Fluids { get; set; }
public CommonData CommonData { get; init; }

public override IWitsmlQueryType ToWitsml()
public override WitsmlFluidsReports ToWitsml()
{
return new WitsmlFluidsReport
{
Expand Down
2 changes: 1 addition & 1 deletion Src/WitsmlExplorer.Api/Models/FormationMarker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class FormationMarker : ObjectOnWellbore
public string Description { get; init; }
public CommonData CommonData { get; init; }

public override IWitsmlQueryType ToWitsml()
public override WitsmlFormationMarkers ToWitsml()
{
return new WitsmlFormationMarker
{
Expand Down
2 changes: 1 addition & 1 deletion Src/WitsmlExplorer.Api/Models/LogObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static string ConvertDirection(WitsmlLog witsmlLog)
return witsmlLog?.Direction?.ToLowerInvariant() ?? WitsmlLog.WITSML_DIRECTION_INCREASING;
}

public override IWitsmlQueryType ToWitsml()
public override WitsmlLogs ToWitsml()
{
WitsmlLog log = new()
{
Expand Down
2 changes: 1 addition & 1 deletion Src/WitsmlExplorer.Api/Models/MessageObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class MessageObject : ObjectOnWellbore
public string TypeMessage { get; init; }
public CommonData CommonData { get; init; }

public override IWitsmlQueryType ToWitsml()
public override WitsmlMessages ToWitsml()
{
return new WitsmlMessage
{
Expand Down
2 changes: 1 addition & 1 deletion Src/WitsmlExplorer.Api/Models/MudLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class MudLog : ObjectOnWellbore
public List<MudLogGeologyInterval> GeologyInterval { get; set; }
public CommonData CommonData { get; init; }

public override IWitsmlQueryType ToWitsml()
public override WitsmlMudLogs ToWitsml()
{
return new WitsmlMudLog
{
Expand Down
2 changes: 1 addition & 1 deletion Src/WitsmlExplorer.Api/Models/Rig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class Rig : ObjectOnWellbore
public string YearEntService { get; init; }
public CommonData CommonData { get; init; }

public override IWitsmlQueryType ToWitsml()
public override WitsmlRigs ToWitsml()
{
return new WitsmlRig
{
Expand Down
2 changes: 1 addition & 1 deletion Src/WitsmlExplorer.Api/Models/Risk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Risk : ObjectOnWellbore
public string Mitigation { get; init; }
public CommonData CommonData { get; init; }

public override IWitsmlQueryType ToWitsml()
public override WitsmlRisks ToWitsml()
{
return new WitsmlRisk
{
Expand Down
2 changes: 1 addition & 1 deletion Src/WitsmlExplorer.Api/Models/Trajectory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Trajectory : ObjectOnWellbore
public string ServiceCompany { get; init; }
public CommonData CommonData { get; init; }

public override IWitsmlQueryType ToWitsml()
public override WitsmlTrajectories ToWitsml()
{
return new WitsmlTrajectory
{
Expand Down
2 changes: 1 addition & 1 deletion Src/WitsmlExplorer.Api/Models/Tubular.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class Tubular : ObjectOnWellbore
public string TypeTubularAssy { get; init; }
public CommonData CommonData { get; init; }

public override IWitsmlQueryType ToWitsml()
public override WitsmlTubulars ToWitsml()
{
return new WitsmlTubular
{
Expand Down
2 changes: 1 addition & 1 deletion Src/WitsmlExplorer.Api/Models/WbGeometry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class WbGeometry : ObjectOnWellbore
public LengthMeasure DepthWaterMean { get; init; }
public CommonData CommonData { get; init; }

public override IWitsmlQueryType ToWitsml()
public override WitsmlWbGeometrys ToWitsml()
{
return new WitsmlWbGeometry
{
Expand Down

0 comments on commit 942c0c6

Please sign in to comment.