using AsbCloudApp.Data.ProcessMaps;
using AsbCloudApp.Repositories;
using AsbCloudApp.Requests;
using AsbCloudApp.Services;
using AsbCloudDb.Model.ProcessMaps;
using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
using AsbCloudWebApi.IntegrationTests;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace AsbCloudWebApi.Controllers.ProcessMaps;
///
/// РТК план выставление
///
public class ProcessMapPlanOperationTFOrientationControllerTest :
ProcessMapPlanBaseControllerTest
{
public ProcessMapPlanOperationTFOrientationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationTFOrientation")
{
}
private readonly ProcessMapPlanOperationTFOrientationDto dto = new ProcessMapPlanOperationTFOrientationDto()
{
IdWell = 1,
DepthStart = 1,
DepthEnd = 2,
Id = 0,
IdWellSectionType = 1,
DifferentialPressure = 1,
Reaming1NumberOfRepetitions = 1,
Reaming1StopPointOffBottom = 1,
Reaming1ROPUp = 1,
Reaming1ROPDown = 1,
Reaming1Interval = 1,
Reaming1FlowRateUp = 1,
Reaming1FlowRateDown = 1,
SetpointsSlackingOff = 1,
MaxPressure = 1,
MaxTorque = 1,
planTF = 1,
SetpointsTight = 1,
Spring = 1
};
private readonly ProcessMapPlanOperationTFOrientation entity = new ProcessMapPlanOperationTFOrientation()
{
IdWell = 1,
DepthEnd = 10,
DepthStart = 2,
Id = 0,
IdWellSectionType = 1,
IdAuthor = 1,
IdEditor = 1,
Creation = DateTimeOffset.UtcNow,
DifferentialPressure = 1,
Reaming1NumberOfRepetitions = 1,
Reaming1StopPointOffBottom = 1,
Reaming1ROPUp = 1,
Reaming1ROPDown = 1,
Reaming1Interval = 1,
Reaming1FlowRateUp = 1,
Reaming1FlowRateDown = 1,
SetpointsSlackingOff = 1,
MaxPressure = 1,
MaxTorque = 1,
planTF = 1,
SetpointsTight = 1,
Spring = 1
};
[Fact]
public async Task Get_actual_returns_success()
{
await Get(entity, dto);
}
protected override ProcessMapPlanOperationTFOrientation GetByNote(DbSet dbSet, ProcessMapPlanOperationTFOrientationDto dto)
{
throw new NotImplementedException();
}
protected override ProcessMapPlanOperationTFOrientationDto GetByNote(IEnumerable dtos, ProcessMapPlanOperationTFOrientationDto dto)
{
throw new NotImplementedException();
}
protected override ProcessMapPlanOperationTFOrientation? GetByWellId()
{
throw new NotImplementedException();
}
}