Compare commits
No commits in common. "e83a41cd54269bb74b1ad81a27a192a596261179" and "8cd2d45211abfc98539e93cb76a3b9bb7f1c7fbf" have entirely different histories.
e83a41cd54
...
8cd2d45211
5 changed files with 5 additions and 12 deletions
|
@ -59,9 +59,9 @@ namespace BLL.Recuperacion_DGA
|
||||||
{
|
{
|
||||||
Autenticacion = new Autenticacion
|
Autenticacion = new Autenticacion
|
||||||
{
|
{
|
||||||
Password = medicion.Password,
|
Password = CredencialDGA.Password,
|
||||||
RutEmpresa = medicion.Empresa_Informante == "EV" ? CredencialDGA.RutEsval : CredencialDGA.RutAv,
|
RutEmpresa = medicion.TIPO_EMPRESA == "EV" ? CredencialDGA.RutEsval : CredencialDGA.RutAv,
|
||||||
RutUsuario = medicion.RUT
|
RutUsuario = CredencialDGA.RutUsuario
|
||||||
},
|
},
|
||||||
MedicionSubterranea = new Medicion
|
MedicionSubterranea = new Medicion
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,8 +33,7 @@ namespace DAL
|
||||||
await connection.ExecuteAsync(query, new { Ids = medicionesGuardadas });
|
await connection.ExecuteAsync(query, new { Ids = medicionesGuardadas });
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch(Exception ex) {
|
||||||
{
|
|
||||||
|
|
||||||
throw new Exception($"Error {ex.Message}");
|
throw new Exception($"Error {ex.Message}");
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
public string? CODIGO_DGA { get; set; }
|
public string? CODIGO_DGA { get; set; }
|
||||||
|
|
||||||
public string? ID_COMUNA { get; set; }
|
|
||||||
public string? MACRO { get; set; }
|
public string? MACRO { get; set; }
|
||||||
|
|
||||||
public string? SENSOR { get; set; }
|
public string? SENSOR { get; set; }
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
public string? CAUDAL { get; set; }
|
public string? CAUDAL { get; set; }
|
||||||
|
|
||||||
public string? ID_COMUNA { get; set; }
|
|
||||||
|
|
||||||
public string? TOTALIZADOR_CAUDAL { get; set; }
|
public string? TOTALIZADOR_CAUDAL { get; set; }
|
||||||
|
|
||||||
public DateTime? FECHA_MEDICION_CAUDAL { get; set; }
|
public DateTime? FECHA_MEDICION_CAUDAL { get; set; }
|
||||||
|
@ -16,8 +14,5 @@
|
||||||
public string? NIVEL_FREATICO_DEL_POZO { get; set; }
|
public string? NIVEL_FREATICO_DEL_POZO { get; set; }
|
||||||
|
|
||||||
public string? TIPO_EMPRESA { get; set; }
|
public string? TIPO_EMPRESA { get; set; }
|
||||||
public string? RUT { get; set; }
|
|
||||||
public string? Password { get; set; }
|
|
||||||
public string? Empresa_Informante { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
{
|
{
|
||||||
public string Uid { get; set; }
|
public string Uid { get; set; }
|
||||||
public double? Value { get; set; }
|
public double? Value { get; set; }
|
||||||
public double TimeStamp { get; set; }
|
public long TimeStamp { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue