54 lines
1.5 KiB
C#
54 lines
1.5 KiB
C#
namespace OperationControl.Mapas.Creation
|
|
{
|
|
/// <summary>
|
|
/// DTO pronto para alimentar o cockpit de criação.
|
|
///
|
|
/// O bloco GNSS é preenchido pelo Controller, pois o service
|
|
/// de domínio não conhece GpsService/GPSModel.
|
|
/// </summary>
|
|
public sealed class MapaResumoCriacao
|
|
{
|
|
public bool EmCriacao { get; init; }
|
|
|
|
public string Nome { get; init; } =
|
|
string.Empty;
|
|
|
|
public int RuaAtual { get; init; }
|
|
|
|
public int QuantidadeRuas { get; init; }
|
|
|
|
public int QuantidadeRuasValidas { get; init; }
|
|
|
|
public int PontosRuaAtual { get; init; }
|
|
|
|
public int PontosTotal { get; init; }
|
|
|
|
public double ComprimentoRuaAtualMetros { get; init; }
|
|
|
|
public double ComprimentoTotalMetros { get; init; }
|
|
|
|
public MapaModoCapturaCriacao ModoCaptura { get; init; }
|
|
|
|
public bool GravacaoAutomaticaAtiva { get; init; }
|
|
|
|
public double DistanciaMinimaAutomaticaMetros { get; init; }
|
|
|
|
public bool PodeNovaRua { get; init; }
|
|
|
|
public bool PodeSalvar { get; init; }
|
|
|
|
public IReadOnlyList<MapaRuaResumoCriacao> Ruas { get; init; } =
|
|
Array.Empty<MapaRuaResumoCriacao>();
|
|
|
|
/*
|
|
* Estado do GNSS local para o cockpit.
|
|
*/
|
|
public bool LeituraGnssValida { get; init; }
|
|
|
|
public bool QualidadeAlta { get; init; }
|
|
|
|
public string StatusGnss { get; init; } =
|
|
"GNSS sem leitura.";
|
|
}
|
|
}
|