Compare commits

..

6 commits

Author SHA1 Message Date
Leonel Toro
e83a41cd54 feat: se implementan informantes 2025-07-21 10:42:34 -04:00
Leonel Toro
92ce18173e Merge branch 'Desarrollo' into DEV-LT 2025-07-21 10:19:36 -04:00
Leonel Toro
f27f4f54f6 Merge branch 'fix-dga' into DEV-LT 2025-07-15 11:06:02 -04:00
bcastrogallardo
564f47d8ac fix directorio 2025-07-14 12:34:33 -04:00
Leonel Toro
fb266caa62 Merge branch 'Desarrollo' into DEV-LT 2025-07-12 00:49:26 -04:00
Leonel Toro
3745a022d1 feat: se ajusta peticion para nuevo endpoint que obtiene los valores en tiempo real 2025-07-12 00:49:17 -04:00
5 changed files with 12 additions and 5 deletions

View file

@ -59,9 +59,9 @@ namespace BLL.Recuperacion_DGA
{
Autenticacion = new Autenticacion
{
Password = CredencialDGA.Password,
RutEmpresa = medicion.TIPO_EMPRESA == "EV" ? CredencialDGA.RutEsval : CredencialDGA.RutAv,
RutUsuario = CredencialDGA.RutUsuario
Password = medicion.Password,
RutEmpresa = medicion.Empresa_Informante == "EV" ? CredencialDGA.RutEsval : CredencialDGA.RutAv,
RutUsuario = medicion.RUT
},
MedicionSubterranea = new Medicion
{

View file

@ -33,7 +33,8 @@ namespace DAL
await connection.ExecuteAsync(query, new { Ids = medicionesGuardadas });
return true;
}
catch(Exception ex) {
catch (Exception ex)
{
throw new Exception($"Error {ex.Message}");
}

View file

@ -6,6 +6,7 @@
public string? CODIGO_DGA { get; set; }
public string? ID_COMUNA { get; set; }
public string? MACRO { get; set; }
public string? SENSOR { get; set; }

View file

@ -7,6 +7,8 @@
public string? CAUDAL { get; set; }
public string? ID_COMUNA { get; set; }
public string? TOTALIZADOR_CAUDAL { get; set; }
public DateTime? FECHA_MEDICION_CAUDAL { get; set; }
@ -14,5 +16,8 @@
public string? NIVEL_FREATICO_DEL_POZO { get; set; }
public string? TIPO_EMPRESA { get; set; }
public string? RUT { get; set; }
public string? Password { get; set; }
public string? Empresa_Informante { get; set; }
}
}

View file

@ -4,6 +4,6 @@
{
public string Uid { get; set; }
public double? Value { get; set; }
public long TimeStamp { get; set; }
public double TimeStamp { get; set; }
}
}