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 const string RemoteUid = "555-555-555";

  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 },
                    },
                 }
              }
           }
        }
     }
  };
}