First Commit

This commit is contained in:
Jorge Luis caudillo esparza
2026-05-09 16:36:57 -07:00
parent 96ad4c0d3e
commit d0c284d9c0
131 changed files with 4009 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
namespace ADS.Apis.Gps.Application.Units;
public interface IUnitLocationQueryService
{
Task<UnitLastLocationResponse?> GetLastLocationByNoEconomicoAsync(
int cveUsuario,
string noEconomico,
CancellationToken ct = default);
Task<IReadOnlyList<UnitClientLocationResponse>> GetLocationsByClientAsync(
int cveUsuario,
int cveCliente,
CancellationToken ct = default);
}

View File

@@ -0,0 +1,12 @@
namespace ADS.Apis.Gps.Application.Units;
public sealed class UnitClientLocationResponse
{
public string? NoEconomico { get; set; }
public decimal? Velocidad { get; set; }
public bool? Encendido { get; set; }
public DateTime? FechaTrama { get; set; }
public string? Punto { get; set; }
public double? Longitud { get; set; }
public double? Latitud { get; set; }
}

View File

@@ -0,0 +1,12 @@
namespace ADS.Apis.Gps.Application.Units;
public sealed class UnitLastLocationResponse
{
public string? NoEconomico { get; set; }
public decimal? Velocidad { get; set; }
public bool? Encendido { get; set; }
public DateTime? FechaTrama { get; set; }
public string? Punto { get; set; }
public double? Longitud { get; set; }
public double? Latitud { get; set; }
}