feat: se implementan informantes
This commit is contained in:
parent
92ce18173e
commit
e83a41cd54
4 changed files with 11 additions and 4 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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}");
|
||||
}
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue