2024-07-04 11:02:45 +05:00
|
|
|
using AsbCloudDb.Model;
|
2024-01-19 17:49:09 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
namespace AsbCloudWebApi.IntegrationTests.Data;
|
|
|
|
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2211:Поля, не являющиеся константами, не должны быть видимыми",
|
|
|
|
Justification = "<Ожидание>")]
|
|
|
|
public static class Defaults
|
2024-01-19 17:49:09 +05:00
|
|
|
{
|
2024-08-19 10:01:07 +05:00
|
|
|
public static SimpleTimezone Timezone => new()
|
|
|
|
{
|
|
|
|
Hours = 1
|
|
|
|
};
|
2024-03-11 15:16:07 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
public const string RemoteUid = "555-555-555";
|
2024-05-21 09:12:22 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
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 = RemoteUid,
|
|
|
|
TimeZone = Timezone
|
|
|
|
},
|
|
|
|
RelationCompaniesWells = new RelationCompanyWell[]
|
|
|
|
{
|
|
|
|
new() { IdCompany = 1 },
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
2024-03-11 15:16:07 +05:00
|
|
|
}
|