DD.WellWorkover.Cloud/AsbCloudWebApi.IntegrationTests/Data/Defaults.cs
2024-03-11 13:16:07 +03:00

56 lines
1.2 KiB
C#

using AsbCloudDb.Model;
namespace AsbCloudWebApi.IntegrationTests.Data
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2211:Поля, не являющиеся константами, не должны быть видимыми",
Justification = "<Ожидание>")]
public static class Defaults
{
public static SimpleTimezone Timezone => new()
{
Hours = 1
};
public static Deposit[] Deposits => new Deposit[]
{
new()
{
Caption = "Deposit1",
Latitude = 10,
Longitude = 20,
Timezone = Timezone,
Clusters = new[]
{
new Cluster
{
Caption = "Cluster1",
Latitude = 10,
Longitude = 20,
Timezone = Timezone,
Wells = new[]
{
new Well
{
IdWellType = 1,
IdState = 1,
Caption = "Well1",
Latitude = 10,
Longitude = 20,
Timezone = Timezone,
Telemetry = new Telemetry
{
RemoteUid = "555-555-555",
TimeZone = Timezone
},
RelationCompaniesWells = new RelationCompanyWell[]
{
new() { IdCompany = 1 },
},
}
}
}
}
}
};
}
}