feat: migracion y ajustes de configuracion, servicios y el sistema de logueo a la nueva app
This commit is contained in:
parent
45f5ec5f84
commit
3348272225
92 changed files with 2676 additions and 19 deletions
16
SHARED/DTO/DocumentResponse.cs
Normal file
16
SHARED/DTO/DocumentResponse.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.DTO
|
||||
{
|
||||
public class DocumentResponse
|
||||
{
|
||||
public string owner { get; set; }
|
||||
public string type { get; set; }
|
||||
public string uid { get; set; }
|
||||
public string name { get; set; }
|
||||
}
|
||||
}
|
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.DTO
|
||||
namespace Shared.DTO.Envios_DGA
|
||||
{
|
||||
public class MedicionScada
|
||||
{
|
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.DTO
|
||||
namespace Shared.DTO.Envios_DGA
|
||||
{
|
||||
public class MedicionSubterraneaRequest
|
||||
{
|
17
SHARED/DTO/HistoricRequest.cs
Normal file
17
SHARED/DTO/HistoricRequest.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.DTO
|
||||
{
|
||||
public class HistoricRequest
|
||||
{
|
||||
public string DataSource { get; set; }
|
||||
public string Resolution { get; set; }
|
||||
public List<string> Uids { get; set; }
|
||||
public long StartTs { get; set; }
|
||||
public long EndTs { get; set; }
|
||||
}
|
||||
}
|
15
SHARED/DTO/HistoricResponse.cs
Normal file
15
SHARED/DTO/HistoricResponse.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.DTO
|
||||
{
|
||||
public class HistoricResponse
|
||||
{
|
||||
public string Uid { get; set; }
|
||||
public double? Value { get; set; }
|
||||
public long TimeStamp { get; set; }
|
||||
}
|
||||
}
|
47
SHARED/DTO/Integracion_DGA/BitacoraPiloto.cs
Normal file
47
SHARED/DTO/Integracion_DGA/BitacoraPiloto.cs
Normal file
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class BitacoraPiloto
|
||||
{
|
||||
public string IdProceso { get; set; } = null!;
|
||||
|
||||
public DateTime? FechaInicial { get; set; }
|
||||
|
||||
public DateTime? FechaFinal { get; set; }
|
||||
|
||||
public string? AnoMes { get; set; }
|
||||
|
||||
public int? Ano { get; set; }
|
||||
|
||||
public int? Mes { get; set; }
|
||||
|
||||
public int? Sector { get; set; }
|
||||
|
||||
public string? Frecuencia { get; set; }
|
||||
|
||||
public string? Procesado { get; set; }
|
||||
|
||||
public DateTime? FechaMedicion { get; set; }
|
||||
|
||||
public string? Estructura { get; set; }
|
||||
|
||||
public string? Variante { get; set; }
|
||||
|
||||
public string? Campo { get; set; }
|
||||
|
||||
public float? ValorOra { get; set; }
|
||||
|
||||
public float? ValorSql { get; set; }
|
||||
|
||||
public string? Naturaleza { get; set; }
|
||||
|
||||
public string? CampoCondicion1 { get; set; }
|
||||
|
||||
public string? CampoCondicion2 { get; set; }
|
||||
|
||||
public int Cor { get; set; }
|
||||
|
||||
public int? Diferencia { get; set; }
|
||||
}
|
9
SHARED/DTO/Integracion_DGA/CabApoyoProceso.cs
Normal file
9
SHARED/DTO/Integracion_DGA/CabApoyoProceso.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabApoyoProceso
|
||||
{
|
||||
public string IdSensor { get; set; } = null!;
|
||||
}
|
21
SHARED/DTO/Integracion_DGA/CabBaseMonitoreoConsumo.cs
Normal file
21
SHARED/DTO/Integracion_DGA/CabBaseMonitoreoConsumo.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabBaseMonitoreoConsumo
|
||||
{
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public double? IdCliente { get; set; }
|
||||
|
||||
public string? IdDma { get; set; }
|
||||
|
||||
public string? FechaLectura { get; set; }
|
||||
|
||||
public double? ConsumoAcumulado { get; set; }
|
||||
|
||||
public string? CodigoLectura { get; set; }
|
||||
|
||||
public DateTime? FechaFacturacion { get; set; }
|
||||
}
|
11
SHARED/DTO/Integracion_DGA/CabClientesDma.cs
Normal file
11
SHARED/DTO/Integracion_DGA/CabClientesDma.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabClientesDma
|
||||
{
|
||||
public int? IdCliente { get; set; }
|
||||
|
||||
public string? IdDma { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabIncrementoValoresSenale.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabIncrementoValoresSenale.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabIncrementoValoresSenale
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabIncrementoValoresSenalesBaseform
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabIncrementoValoresSenalesNe.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabIncrementoValoresSenalesNe.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabIncrementoValoresSenalesNe
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabIncrementoValoresSenalesWt.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabIncrementoValoresSenalesWt.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabIncrementoValoresSenalesWt
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabIncrementoValoresSenalesWtPrueba
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
13
SHARED/DTO/Integracion_DGA/CabMaxFecha.cs
Normal file
13
SHARED/DTO/Integracion_DGA/CabMaxFecha.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabMaxFecha
|
||||
{
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? FrecuenciaRegistro { get; set; }
|
||||
|
||||
public DateTime? MaxFecha { get; set; }
|
||||
}
|
21
SHARED/DTO/Integracion_DGA/CabMonitoreoConsumo.cs
Normal file
21
SHARED/DTO/Integracion_DGA/CabMonitoreoConsumo.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabMonitoreoConsumo
|
||||
{
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public double? IdCliente { get; set; }
|
||||
|
||||
public string? IdDma { get; set; }
|
||||
|
||||
public string? FechaLectura { get; set; }
|
||||
|
||||
public double? ConsumoAcumulado { get; set; }
|
||||
|
||||
public string? CodigoLectura { get; set; }
|
||||
|
||||
public DateTime? FechaFacturacion { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabResultadoCargaHistorico.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabResultadoCargaHistorico.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabResultadoCargaHistorico
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabResultadoCargaHistoricoPwbi.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabResultadoCargaHistoricoPwbi.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabResultadoCargaHistoricoPwbi
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabSalidaValoresSenale.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabSalidaValoresSenale.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSalidaValoresSenale
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSalidaValoresSenalesBaseform
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabSalidaValoresSenalesNe.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabSalidaValoresSenalesNe.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSalidaValoresSenalesNe
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabSalidaValoresSenalesWt.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabSalidaValoresSenalesWt.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSalidaValoresSenalesWt
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
13
SHARED/DTO/Integracion_DGA/CabSenalesSensoresBorrada.cs
Normal file
13
SHARED/DTO/Integracion_DGA/CabSenalesSensoresBorrada.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSenalesSensoresBorrada
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime? FechaDesde { get; set; }
|
||||
|
||||
public string? FechaHasta { get; set; }
|
||||
}
|
29
SHARED/DTO/Integracion_DGA/CabSensore.cs
Normal file
29
SHARED/DTO/Integracion_DGA/CabSensore.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSensore
|
||||
{
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public string? Tipo { get; set; }
|
||||
|
||||
public string? Unidad { get; set; }
|
||||
|
||||
public string? FrecuenciaRegistro { get; set; }
|
||||
|
||||
public string? IdMedicion { get; set; }
|
||||
|
||||
public string? OrigenSenal { get; set; }
|
||||
|
||||
public int? CodMedicion { get; set; }
|
||||
|
||||
public byte? FrecuenciaEnvio { get; set; }
|
||||
|
||||
public int? CantidadData { get; set; }
|
||||
}
|
29
SHARED/DTO/Integracion_DGA/CabSensoresAgregar.cs
Normal file
29
SHARED/DTO/Integracion_DGA/CabSensoresAgregar.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSensoresAgregar
|
||||
{
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public string? Tipo { get; set; }
|
||||
|
||||
public string? Unidad { get; set; }
|
||||
|
||||
public string? FrecuenciaRegistro { get; set; }
|
||||
|
||||
public string? IdMedicion { get; set; }
|
||||
|
||||
public string? OrigenSenal { get; set; }
|
||||
|
||||
public int? CodMedicion { get; set; }
|
||||
|
||||
public byte? FrecuenciaEnvio { get; set; }
|
||||
|
||||
public int? CantidadData { get; set; }
|
||||
}
|
33
SHARED/DTO/Integracion_DGA/CabSensoresBaseform.cs
Normal file
33
SHARED/DTO/Integracion_DGA/CabSensoresBaseform.cs
Normal file
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSensoresBaseform
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public string? Tipo { get; set; }
|
||||
|
||||
public string? Unidad { get; set; }
|
||||
|
||||
public string? FrecuenciaRegistro { get; set; }
|
||||
|
||||
public string? IdMedicion { get; set; }
|
||||
|
||||
public string? OrigenSenal { get; set; }
|
||||
|
||||
public int? CodMedicion { get; set; }
|
||||
|
||||
public byte? FrecuenciaEnvio { get; set; }
|
||||
|
||||
public int? CantidadData { get; set; }
|
||||
|
||||
public short EstadoSensor { get; set; }
|
||||
}
|
31
SHARED/DTO/Integracion_DGA/CabSensoresEliminado.cs
Normal file
31
SHARED/DTO/Integracion_DGA/CabSensoresEliminado.cs
Normal file
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSensoresEliminado
|
||||
{
|
||||
public DateTime? FechaEliminacion { get; set; }
|
||||
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public string? Tipo { get; set; }
|
||||
|
||||
public string? Unidad { get; set; }
|
||||
|
||||
public string? FrecuenciaRegistro { get; set; }
|
||||
|
||||
public string? IdMedicion { get; set; }
|
||||
|
||||
public string? OrigenSenal { get; set; }
|
||||
|
||||
public int? CodMedicion { get; set; }
|
||||
|
||||
public byte? FrecuenciaEnvio { get; set; }
|
||||
|
||||
public int? CantidadData { get; set; }
|
||||
}
|
9
SHARED/DTO/Integracion_DGA/CabSensoresEliminar.cs
Normal file
9
SHARED/DTO/Integracion_DGA/CabSensoresEliminar.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSensoresEliminar
|
||||
{
|
||||
public string? IdSensor { get; set; }
|
||||
}
|
33
SHARED/DTO/Integracion_DGA/CabSensoresHistorico.cs
Normal file
33
SHARED/DTO/Integracion_DGA/CabSensoresHistorico.cs
Normal file
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSensoresHistorico
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public string? Tipo { get; set; }
|
||||
|
||||
public string? Unidad { get; set; }
|
||||
|
||||
public string? FrecuenciaRegistro { get; set; }
|
||||
|
||||
public string? IdMedicion { get; set; }
|
||||
|
||||
public string? OrigenSenal { get; set; }
|
||||
|
||||
public int? CodMedicion { get; set; }
|
||||
|
||||
public byte? FrecuenciaEnvio { get; set; }
|
||||
|
||||
public int? CantidadData { get; set; }
|
||||
|
||||
public short EstadoSensor { get; set; }
|
||||
}
|
33
SHARED/DTO/Integracion_DGA/CabSensoresNe.cs
Normal file
33
SHARED/DTO/Integracion_DGA/CabSensoresNe.cs
Normal file
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSensoresNe
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public string? Tipo { get; set; }
|
||||
|
||||
public string? Unidad { get; set; }
|
||||
|
||||
public string? FrecuenciaRegistro { get; set; }
|
||||
|
||||
public string? IdMedicion { get; set; }
|
||||
|
||||
public string? OrigenSenal { get; set; }
|
||||
|
||||
public int? CodMedicion { get; set; }
|
||||
|
||||
public byte? FrecuenciaEnvio { get; set; }
|
||||
|
||||
public int? CantidadData { get; set; }
|
||||
|
||||
public short EstadoSensor { get; set; }
|
||||
}
|
29
SHARED/DTO/Integracion_DGA/CabSensoresRevisar.cs
Normal file
29
SHARED/DTO/Integracion_DGA/CabSensoresRevisar.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSensoresRevisar
|
||||
{
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public string? Tipo { get; set; }
|
||||
|
||||
public string? Unidad { get; set; }
|
||||
|
||||
public string? FrecuenciaRegistro { get; set; }
|
||||
|
||||
public string? IdMedicion { get; set; }
|
||||
|
||||
public string? OrigenSenal { get; set; }
|
||||
|
||||
public int? CodMedicion { get; set; }
|
||||
|
||||
public byte? FrecuenciaEnvio { get; set; }
|
||||
|
||||
public int? CantidadData { get; set; }
|
||||
}
|
35
SHARED/DTO/Integracion_DGA/CabSensoresValidar.cs
Normal file
35
SHARED/DTO/Integracion_DGA/CabSensoresValidar.cs
Normal file
|
@ -0,0 +1,35 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSensoresValidar
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public string? Tipo { get; set; }
|
||||
|
||||
public string? Unidad { get; set; }
|
||||
|
||||
public string? FrecuenciaRegistro { get; set; }
|
||||
|
||||
public string? IdMedicion { get; set; }
|
||||
|
||||
public string? OrigenSenal { get; set; }
|
||||
|
||||
public int? CodMedicion { get; set; }
|
||||
|
||||
public byte? FrecuenciaEnvio { get; set; }
|
||||
|
||||
public int? CantidadData { get; set; }
|
||||
|
||||
public short EstadoSensor { get; set; }
|
||||
|
||||
public int CodEmpresa { get; set; }
|
||||
}
|
33
SHARED/DTO/Integracion_DGA/CabSensoresWt.cs
Normal file
33
SHARED/DTO/Integracion_DGA/CabSensoresWt.cs
Normal file
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSensoresWt
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public string? Tipo { get; set; }
|
||||
|
||||
public string? Unidad { get; set; }
|
||||
|
||||
public string? FrecuenciaRegistro { get; set; }
|
||||
|
||||
public string? IdMedicion { get; set; }
|
||||
|
||||
public string? OrigenSenal { get; set; }
|
||||
|
||||
public int? CodMedicion { get; set; }
|
||||
|
||||
public byte? FrecuenciaEnvio { get; set; }
|
||||
|
||||
public int? CantidadData { get; set; }
|
||||
|
||||
public short EstadoSensor { get; set; }
|
||||
}
|
33
SHARED/DTO/Integracion_DGA/CabSensoresWtPrueba.cs
Normal file
33
SHARED/DTO/Integracion_DGA/CabSensoresWtPrueba.cs
Normal file
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSensoresWtPrueba
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public string? Tipo { get; set; }
|
||||
|
||||
public string? Unidad { get; set; }
|
||||
|
||||
public string? FrecuenciaRegistro { get; set; }
|
||||
|
||||
public string? IdMedicion { get; set; }
|
||||
|
||||
public string? OrigenSenal { get; set; }
|
||||
|
||||
public int? CodMedicion { get; set; }
|
||||
|
||||
public byte? FrecuenciaEnvio { get; set; }
|
||||
|
||||
public int? CantidadData { get; set; }
|
||||
|
||||
public short EstadoSensor { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabUltimoEnvio.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabUltimoEnvio.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabUltimoEnvio
|
||||
{
|
||||
public string? EmpresaPiloto { get; set; }
|
||||
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? OrigenSenal { get; set; }
|
||||
|
||||
public string? MaxFecha { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabValoresSenale.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabValoresSenale.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabValoresSenale
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabValoresSenalesAgregar.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabValoresSenalesAgregar.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabValoresSenalesAgregar
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabValoresSenalesBaseform.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabValoresSenalesBaseform.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabValoresSenalesBaseform
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabValoresSenalesHistorico.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabValoresSenalesHistorico.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabValoresSenalesHistorico
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabValoresSenalesNe.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabValoresSenalesNe.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabValoresSenalesNe
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/CabValoresSenalesWt.cs
Normal file
15
SHARED/DTO/Integracion_DGA/CabValoresSenalesWt.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabValoresSenalesWt
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public string? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
43
SHARED/DTO/Integracion_DGA/DgaBorrado.cs
Normal file
43
SHARED/DTO/Integracion_DGA/DgaBorrado.cs
Normal file
|
@ -0,0 +1,43 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaBorrado
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? Zonal { get; set; }
|
||||
|
||||
public string? Comuna { get; set; }
|
||||
|
||||
public string? NombreCaptacion { get; set; }
|
||||
|
||||
public string? Fuente { get; set; }
|
||||
|
||||
public string? CodigoNbi { get; set; }
|
||||
|
||||
public string? CodigoDga { get; set; }
|
||||
|
||||
public string? InfraEstandarDga { get; set; }
|
||||
|
||||
public string? Macro { get; set; }
|
||||
|
||||
public string? Sensor { get; set; }
|
||||
|
||||
public decimal? UbicacionSensor { get; set; }
|
||||
|
||||
public string? MacroTag { get; set; }
|
||||
|
||||
public string? SensorTag { get; set; }
|
||||
|
||||
public int? TipoObra { get; set; }
|
||||
|
||||
public int? IdSensor { get; set; }
|
||||
|
||||
public long? Totalizador { get; set; }
|
||||
|
||||
public string? MarcaUbicacion { get; set; }
|
||||
|
||||
public DateTime? FechaBorrado { get; set; }
|
||||
}
|
41
SHARED/DTO/Integracion_DGA/DgaMacro.cs
Normal file
41
SHARED/DTO/Integracion_DGA/DgaMacro.cs
Normal file
|
@ -0,0 +1,41 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacro
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? Zonal { get; set; }
|
||||
|
||||
public string? Comuna { get; set; }
|
||||
|
||||
public string? NombreCaptacion { get; set; }
|
||||
|
||||
public string? Fuente { get; set; }
|
||||
|
||||
public string? CodigoNbi { get; set; }
|
||||
|
||||
public string? CodigoDga { get; set; }
|
||||
|
||||
public string? InfraEstandarDga { get; set; }
|
||||
|
||||
public string? Macro { get; set; }
|
||||
|
||||
public string? Sensor { get; set; }
|
||||
|
||||
public decimal? UbicacionSensor { get; set; }
|
||||
|
||||
public string? MacroTag { get; set; }
|
||||
|
||||
public string? SensorTag { get; set; }
|
||||
|
||||
public int? TipoObra { get; set; }
|
||||
|
||||
public int? IdSensor { get; set; }
|
||||
|
||||
public long? Totalizador { get; set; }
|
||||
|
||||
public string? MarcaUbicacion { get; set; }
|
||||
}
|
45
SHARED/DTO/Integracion_DGA/DgaMacroA.cs
Normal file
45
SHARED/DTO/Integracion_DGA/DgaMacroA.cs
Normal file
|
@ -0,0 +1,45 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroA
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? Zonal { get; set; }
|
||||
|
||||
public int? IdLocalidad { get; set; }
|
||||
|
||||
public string Localidad { get; set; } = null!;
|
||||
|
||||
public string? Comuna { get; set; }
|
||||
|
||||
public string? NombreCaptacion { get; set; }
|
||||
|
||||
public string? Fuente { get; set; }
|
||||
|
||||
public string? CodigoNbi { get; set; }
|
||||
|
||||
public string? CodigoDga { get; set; }
|
||||
|
||||
public string? InfraEstandarDga { get; set; }
|
||||
|
||||
public string? Macro { get; set; }
|
||||
|
||||
public string? Sensor { get; set; }
|
||||
|
||||
public decimal? UbicacionSensor { get; set; }
|
||||
|
||||
public string? MacroTag { get; set; }
|
||||
|
||||
public string? SensorTag { get; set; }
|
||||
|
||||
public int? TipoObra { get; set; }
|
||||
|
||||
public int? IdSensor { get; set; }
|
||||
|
||||
public long? Totalizador { get; set; }
|
||||
|
||||
public string? MarcaUbicacion { get; set; }
|
||||
}
|
41
SHARED/DTO/Integracion_DGA/DgaMacroQa.cs
Normal file
41
SHARED/DTO/Integracion_DGA/DgaMacroQa.cs
Normal file
|
@ -0,0 +1,41 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroQa
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? Zonal { get; set; }
|
||||
|
||||
public string? Comuna { get; set; }
|
||||
|
||||
public string? NombreCaptacion { get; set; }
|
||||
|
||||
public string? Fuente { get; set; }
|
||||
|
||||
public string? CodigoNbi { get; set; }
|
||||
|
||||
public string? CodigoDga { get; set; }
|
||||
|
||||
public string? InfraEstandarDga { get; set; }
|
||||
|
||||
public string? Macro { get; set; }
|
||||
|
||||
public string? Sensor { get; set; }
|
||||
|
||||
public decimal? UbicacionSensor { get; set; }
|
||||
|
||||
public string? MacroTag { get; set; }
|
||||
|
||||
public string? SensorTag { get; set; }
|
||||
|
||||
public int? TipoObra { get; set; }
|
||||
|
||||
public int? IdSensor { get; set; }
|
||||
|
||||
public long? Totalizador { get; set; }
|
||||
|
||||
public string? MarcaUbicacion { get; set; }
|
||||
}
|
16
SHARED/DTO/Integracion_DGA/DgaMacroResultado.cs
Normal file
16
SHARED/DTO/Integracion_DGA/DgaMacroResultado.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroResultado
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public double? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/DgaMacroResultadoQa.cs
Normal file
15
SHARED/DTO/Integracion_DGA/DgaMacroResultadoQa.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroResultadoQa
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public double? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/DgaMacroResultadoSup.cs
Normal file
15
SHARED/DTO/Integracion_DGA/DgaMacroResultadoSup.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroResultadoSup
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public double? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/DgaMacroResultadoSupFluj.cs
Normal file
15
SHARED/DTO/Integracion_DGA/DgaMacroResultadoSupFluj.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroResultadoSupFluj
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public double? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/DgaMacroResultadoSupFlujSuma.cs
Normal file
15
SHARED/DTO/Integracion_DGA/DgaMacroResultadoSupFlujSuma.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroResultadoSupFlujSuma
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public double? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/DgaMacroResultadoVilos.cs
Normal file
15
SHARED/DTO/Integracion_DGA/DgaMacroResultadoVilos.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroResultadoVilos
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public double? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
41
SHARED/DTO/Integracion_DGA/DgaMacroSup.cs
Normal file
41
SHARED/DTO/Integracion_DGA/DgaMacroSup.cs
Normal file
|
@ -0,0 +1,41 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroSup
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? Zonal { get; set; }
|
||||
|
||||
public string? Comuna { get; set; }
|
||||
|
||||
public string? NombreCaptacion { get; set; }
|
||||
|
||||
public string? Fuente { get; set; }
|
||||
|
||||
public string? CodigoNbi { get; set; }
|
||||
|
||||
public string? CodigoDga { get; set; }
|
||||
|
||||
public string? InfraEstandarDga { get; set; }
|
||||
|
||||
public string? Macro { get; set; }
|
||||
|
||||
public string? Sensor { get; set; }
|
||||
|
||||
public decimal? UbicacionSensor { get; set; }
|
||||
|
||||
public string? MacroTag { get; set; }
|
||||
|
||||
public string? SensorTag { get; set; }
|
||||
|
||||
public int? TipoObra { get; set; }
|
||||
|
||||
public int? IdSensor { get; set; }
|
||||
|
||||
public long? Totalizador { get; set; }
|
||||
|
||||
public string? MarcaUbicacion { get; set; }
|
||||
}
|
39
SHARED/DTO/Integracion_DGA/DgaMacroSupFluj.cs
Normal file
39
SHARED/DTO/Integracion_DGA/DgaMacroSupFluj.cs
Normal file
|
@ -0,0 +1,39 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroSupFluj
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? Zonal { get; set; }
|
||||
|
||||
public string? Comuna { get; set; }
|
||||
|
||||
public string? NombreCaptacion { get; set; }
|
||||
|
||||
public string? Fuente { get; set; }
|
||||
|
||||
public string? CodigoNbi { get; set; }
|
||||
|
||||
public string? CodigoDga { get; set; }
|
||||
|
||||
public string? InfraEstandarDga { get; set; }
|
||||
|
||||
public string? Macro { get; set; }
|
||||
|
||||
public string? Sensor { get; set; }
|
||||
|
||||
public decimal? UbicacionSensor { get; set; }
|
||||
|
||||
public string? MacroTag { get; set; }
|
||||
|
||||
public string? SensorTag { get; set; }
|
||||
|
||||
public int? TipoObra { get; set; }
|
||||
|
||||
public int? IdSensor { get; set; }
|
||||
|
||||
public decimal? Totalizador { get; set; }
|
||||
}
|
39
SHARED/DTO/Integracion_DGA/DgaMacroSupFlujSuma.cs
Normal file
39
SHARED/DTO/Integracion_DGA/DgaMacroSupFlujSuma.cs
Normal file
|
@ -0,0 +1,39 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroSupFlujSuma
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? Zonal { get; set; }
|
||||
|
||||
public string? Comuna { get; set; }
|
||||
|
||||
public string? NombreCaptacion { get; set; }
|
||||
|
||||
public string? Fuente { get; set; }
|
||||
|
||||
public string? CodigoNbi { get; set; }
|
||||
|
||||
public string? CodigoDga { get; set; }
|
||||
|
||||
public string? InfraEstandarDga { get; set; }
|
||||
|
||||
public string? Macro { get; set; }
|
||||
|
||||
public string? Sensor { get; set; }
|
||||
|
||||
public decimal? UbicacionSensor { get; set; }
|
||||
|
||||
public string? MacroTag { get; set; }
|
||||
|
||||
public string? SensorTag { get; set; }
|
||||
|
||||
public int? TipoObra { get; set; }
|
||||
|
||||
public int? IdSensor { get; set; }
|
||||
|
||||
public decimal? Totalizador { get; set; }
|
||||
}
|
41
SHARED/DTO/Integracion_DGA/DgaMacroSuperficial.cs
Normal file
41
SHARED/DTO/Integracion_DGA/DgaMacroSuperficial.cs
Normal file
|
@ -0,0 +1,41 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroSuperficial
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? Zonal { get; set; }
|
||||
|
||||
public string? Comuna { get; set; }
|
||||
|
||||
public string? NombreCaptacion { get; set; }
|
||||
|
||||
public string? Fuente { get; set; }
|
||||
|
||||
public string? CodigoNbi { get; set; }
|
||||
|
||||
public string? CodigoDga { get; set; }
|
||||
|
||||
public string? InfraEstandarDga { get; set; }
|
||||
|
||||
public string? Macro { get; set; }
|
||||
|
||||
public string? Sensor { get; set; }
|
||||
|
||||
public decimal? UbicacionSensor { get; set; }
|
||||
|
||||
public string? MacroTag { get; set; }
|
||||
|
||||
public string? SensorTag { get; set; }
|
||||
|
||||
public int? TipoObra { get; set; }
|
||||
|
||||
public int? IdSensor { get; set; }
|
||||
|
||||
public long? Totalizador { get; set; }
|
||||
|
||||
public string? MarcaUbicacion { get; set; }
|
||||
}
|
41
SHARED/DTO/Integracion_DGA/DgaMacroVilo.cs
Normal file
41
SHARED/DTO/Integracion_DGA/DgaMacroVilo.cs
Normal file
|
@ -0,0 +1,41 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaMacroVilo
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public string? Zonal { get; set; }
|
||||
|
||||
public string? Comuna { get; set; }
|
||||
|
||||
public string? NombreCaptacion { get; set; }
|
||||
|
||||
public string? Fuente { get; set; }
|
||||
|
||||
public string? CodigoNbi { get; set; }
|
||||
|
||||
public string? CodigoDga { get; set; }
|
||||
|
||||
public string? InfraEstandarDga { get; set; }
|
||||
|
||||
public string? Macro { get; set; }
|
||||
|
||||
public string? Sensor { get; set; }
|
||||
|
||||
public decimal? UbicacionSensor { get; set; }
|
||||
|
||||
public string? MacroTag { get; set; }
|
||||
|
||||
public string? SensorTag { get; set; }
|
||||
|
||||
public int? TipoObra { get; set; }
|
||||
|
||||
public int? IdSensor { get; set; }
|
||||
|
||||
public long? Totalizador { get; set; }
|
||||
|
||||
public string? MarcaUbicacion { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/DgaSensorResultado.cs
Normal file
15
SHARED/DTO/Integracion_DGA/DgaSensorResultado.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaSensorResultado
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public double? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/DgaSensorResultadoQa.cs
Normal file
15
SHARED/DTO/Integracion_DGA/DgaSensorResultadoQa.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaSensorResultadoQa
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public double? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/DgaSensorResultadoVilos.cs
Normal file
15
SHARED/DTO/Integracion_DGA/DgaSensorResultadoVilos.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DgaSensorResultadoVilos
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime TimeStamp { get; set; }
|
||||
|
||||
public double? Value { get; set; }
|
||||
|
||||
public string? Quality { get; set; }
|
||||
}
|
61
SHARED/DTO/Integracion_DGA/DiccionarioCalidad.cs
Normal file
61
SHARED/DTO/Integracion_DGA/DiccionarioCalidad.cs
Normal file
|
@ -0,0 +1,61 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class DiccionarioCalidad
|
||||
{
|
||||
public string? Empresa { get; set; }
|
||||
|
||||
public string? SubgerenciaZonal { get; set; }
|
||||
|
||||
public string? ZonaRedes { get; set; }
|
||||
|
||||
public string? Localidad { get; set; }
|
||||
|
||||
public string? Codigo1 { get; set; }
|
||||
|
||||
public string? Descripcion1 { get; set; }
|
||||
|
||||
public string? Relacion { get; set; }
|
||||
|
||||
public string? Codigo2 { get; set; }
|
||||
|
||||
public string? CodigoIdunicoSensor { get; set; }
|
||||
|
||||
public string? Descripcion2 { get; set; }
|
||||
|
||||
public string? TipoVariable { get; set; }
|
||||
|
||||
public string? TipoSensor { get; set; }
|
||||
|
||||
public string? UnidadesIhistorian { get; set; }
|
||||
|
||||
public string? UnidadesTaKaDu { get; set; }
|
||||
|
||||
public string? FuentePresion { get; set; }
|
||||
|
||||
public double? FrecuenciaTransmision { get; set; }
|
||||
|
||||
public string? FuenteDatos { get; set; }
|
||||
|
||||
public string? Manufactura { get; set; }
|
||||
|
||||
public string? Modelo { get; set; }
|
||||
|
||||
public string? TipoActivo { get; set; }
|
||||
|
||||
public string? ActivoAsociado { get; set; }
|
||||
|
||||
public double? CodigoIdgis { get; set; }
|
||||
|
||||
public double? Latitud { get; set; }
|
||||
|
||||
public double? Longitud { get; set; }
|
||||
|
||||
public string? Plcscada { get; set; }
|
||||
|
||||
public string? PantallaScada { get; set; }
|
||||
|
||||
public string? EstadoSensor { get; set; }
|
||||
}
|
177
SHARED/DTO/Integracion_DGA/EstructuraRedEsvalScadaNbi.cs
Normal file
177
SHARED/DTO/Integracion_DGA/EstructuraRedEsvalScadaNbi.cs
Normal file
|
@ -0,0 +1,177 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class EstructuraRedEsvalScadaNbi
|
||||
{
|
||||
public string? Empresa { get; set; }
|
||||
|
||||
public string? SubgerenciaZonal { get; set; }
|
||||
|
||||
public string? ZonaRedes { get; set; }
|
||||
|
||||
public string? Localidad { get; set; }
|
||||
|
||||
public string? Código2 { get; set; }
|
||||
|
||||
public string? Descripción2 { get; set; }
|
||||
|
||||
public string? Relación { get; set; }
|
||||
|
||||
public string? Código { get; set; }
|
||||
|
||||
public string? CódigoIdÚnicoSensor { get; set; }
|
||||
|
||||
public string? Descripción { get; set; }
|
||||
|
||||
public string? TipoDeVariable { get; set; }
|
||||
|
||||
public string? TipoDeSensor { get; set; }
|
||||
|
||||
public string? UnidadesIhistorian { get; set; }
|
||||
|
||||
public string? UnidadesEnTaKaDu { get; set; }
|
||||
|
||||
public string? FuenteDePresión { get; set; }
|
||||
|
||||
public string? FrecuenciaDeTransmisión { get; set; }
|
||||
|
||||
public string? FuenteDeDatos { get; set; }
|
||||
|
||||
public string? Manufactura { get; set; }
|
||||
|
||||
public string? Modelo { get; set; }
|
||||
|
||||
public string? TipoDeActivo { get; set; }
|
||||
|
||||
public string? ActivoAsociado { get; set; }
|
||||
|
||||
public string? CódigoIdGis { get; set; }
|
||||
|
||||
public string? Latitud { get; set; }
|
||||
|
||||
public string? Longitud { get; set; }
|
||||
|
||||
public string? PlcScada { get; set; }
|
||||
|
||||
public string? PantallaScada { get; set; }
|
||||
|
||||
public string? Empresa2 { get; set; }
|
||||
|
||||
public string? Column27 { get; set; }
|
||||
|
||||
public string? Column28 { get; set; }
|
||||
|
||||
public string? Column29 { get; set; }
|
||||
|
||||
public string? Column30 { get; set; }
|
||||
|
||||
public string? Column31 { get; set; }
|
||||
|
||||
public string? Column32 { get; set; }
|
||||
|
||||
public string? Column33 { get; set; }
|
||||
|
||||
public string? Column34 { get; set; }
|
||||
|
||||
public string? Column35 { get; set; }
|
||||
|
||||
public string? Column36 { get; set; }
|
||||
|
||||
public string? Column37 { get; set; }
|
||||
|
||||
public string? Column38 { get; set; }
|
||||
|
||||
public string? Column39 { get; set; }
|
||||
|
||||
public string? Column40 { get; set; }
|
||||
|
||||
public string? Column41 { get; set; }
|
||||
|
||||
public string? Column42 { get; set; }
|
||||
|
||||
public string? Column43 { get; set; }
|
||||
|
||||
public string? Column44 { get; set; }
|
||||
|
||||
public string? Column45 { get; set; }
|
||||
|
||||
public string? Column46 { get; set; }
|
||||
|
||||
public string? Column47 { get; set; }
|
||||
|
||||
public string? Column48 { get; set; }
|
||||
|
||||
public string? Column49 { get; set; }
|
||||
|
||||
public string? Column50 { get; set; }
|
||||
|
||||
public string? Column51 { get; set; }
|
||||
|
||||
public string? Column52 { get; set; }
|
||||
|
||||
public string? Column53 { get; set; }
|
||||
|
||||
public string? Column54 { get; set; }
|
||||
|
||||
public string? Column55 { get; set; }
|
||||
|
||||
public string? Column56 { get; set; }
|
||||
|
||||
public string? Column57 { get; set; }
|
||||
|
||||
public string? Column58 { get; set; }
|
||||
|
||||
public string? Column59 { get; set; }
|
||||
|
||||
public string? Column60 { get; set; }
|
||||
|
||||
public string? Column61 { get; set; }
|
||||
|
||||
public string? Column62 { get; set; }
|
||||
|
||||
public string? Column63 { get; set; }
|
||||
|
||||
public string? Column64 { get; set; }
|
||||
|
||||
public string? Column65 { get; set; }
|
||||
|
||||
public string? Column66 { get; set; }
|
||||
|
||||
public string? Column67 { get; set; }
|
||||
|
||||
public string? Column68 { get; set; }
|
||||
|
||||
public string? Column69 { get; set; }
|
||||
|
||||
public string? Column70 { get; set; }
|
||||
|
||||
public string? Column71 { get; set; }
|
||||
|
||||
public string? Column72 { get; set; }
|
||||
|
||||
public string? Column73 { get; set; }
|
||||
|
||||
public string? Column74 { get; set; }
|
||||
|
||||
public string? Column75 { get; set; }
|
||||
|
||||
public string? Column76 { get; set; }
|
||||
|
||||
public string? Column77 { get; set; }
|
||||
|
||||
public string? Column78 { get; set; }
|
||||
|
||||
public string? Column79 { get; set; }
|
||||
|
||||
public string? Column80 { get; set; }
|
||||
|
||||
public string? Column81 { get; set; }
|
||||
|
||||
public string? Column82 { get; set; }
|
||||
|
||||
public string? Column83 { get; set; }
|
||||
|
||||
public string? Column84 { get; set; }
|
||||
}
|
21
SHARED/DTO/Integracion_DGA/IoAsParamMaxcap.cs
Normal file
21
SHARED/DTO/Integracion_DGA/IoAsParamMaxcap.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class IoAsParamMaxcap
|
||||
{
|
||||
public string? IdScada { get; set; }
|
||||
|
||||
public string? FiltroWhereN0 { get; set; }
|
||||
|
||||
public string? FiltroWhereFrec { get; set; }
|
||||
|
||||
public int? MaxBomb { get; set; }
|
||||
|
||||
public string? Localidad { get; set; }
|
||||
|
||||
public string? Sgz { get; set; }
|
||||
|
||||
public string? NombrePlanta { get; set; }
|
||||
}
|
25
SHARED/DTO/Integracion_DGA/MedicionDga.cs
Normal file
25
SHARED/DTO/Integracion_DGA/MedicionDga.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class MedicionDga
|
||||
{
|
||||
public string? Code { get; set; }
|
||||
|
||||
public DateTime? DateOrigen { get; set; }
|
||||
|
||||
public DateTime? DateMedicionSup { get; set; }
|
||||
|
||||
public decimal? Caudal { get; set; }
|
||||
|
||||
public decimal? Altura { get; set; }
|
||||
|
||||
public DateTime? DateMedicionSub { get; set; }
|
||||
|
||||
public decimal? Totalizador { get; set; }
|
||||
|
||||
public decimal? Caudalsub { get; set; }
|
||||
|
||||
public decimal? Nivel { get; set; }
|
||||
}
|
25
SHARED/DTO/Integracion_DGA/MedicionDgaQa.cs
Normal file
25
SHARED/DTO/Integracion_DGA/MedicionDgaQa.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class MedicionDgaQa
|
||||
{
|
||||
public string? Code { get; set; }
|
||||
|
||||
public DateTime? DateOrigen { get; set; }
|
||||
|
||||
public DateTime? DateMedicionSup { get; set; }
|
||||
|
||||
public decimal? Caudal { get; set; }
|
||||
|
||||
public decimal? Altura { get; set; }
|
||||
|
||||
public DateTime? DateMedicionSub { get; set; }
|
||||
|
||||
public decimal? Totalizador { get; set; }
|
||||
|
||||
public decimal? Caudalsub { get; set; }
|
||||
|
||||
public decimal? Nivel { get; set; }
|
||||
}
|
25
SHARED/DTO/Integracion_DGA/MedicionDgaSupFluj.cs
Normal file
25
SHARED/DTO/Integracion_DGA/MedicionDgaSupFluj.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class MedicionDgaSupFluj
|
||||
{
|
||||
public string? Code { get; set; }
|
||||
|
||||
public DateTime? DateOrigen { get; set; }
|
||||
|
||||
public DateTime? DateMedicionSup { get; set; }
|
||||
|
||||
public decimal? Caudal { get; set; }
|
||||
|
||||
public decimal? Altura { get; set; }
|
||||
|
||||
public DateTime? DateMedicionSub { get; set; }
|
||||
|
||||
public decimal? Totalizador { get; set; }
|
||||
|
||||
public decimal? Caudalsub { get; set; }
|
||||
|
||||
public decimal? Nivel { get; set; }
|
||||
}
|
31
SHARED/DTO/Integracion_DGA/MedicionDgaSupFlujSuma.cs
Normal file
31
SHARED/DTO/Integracion_DGA/MedicionDgaSupFlujSuma.cs
Normal file
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class MedicionDgaSupFlujSuma
|
||||
{
|
||||
public string? Code { get; set; }
|
||||
|
||||
public DateTime? DateOrigen { get; set; }
|
||||
|
||||
public DateTime? DateMedicionSup { get; set; }
|
||||
|
||||
public decimal? Caudal { get; set; }
|
||||
|
||||
public decimal? Altura { get; set; }
|
||||
|
||||
public DateTime? DateMedicionSub { get; set; }
|
||||
|
||||
public decimal? Totalizador { get; set; }
|
||||
|
||||
public decimal? Caudalsub { get; set; }
|
||||
|
||||
public decimal? Nivel { get; set; }
|
||||
|
||||
public decimal? Suma1 { get; set; }
|
||||
|
||||
public decimal? Suma2 { get; set; }
|
||||
|
||||
public decimal? Total { get; set; }
|
||||
}
|
31
SHARED/DTO/Integracion_DGA/MedicionDgaSupFlujSumaQa.cs
Normal file
31
SHARED/DTO/Integracion_DGA/MedicionDgaSupFlujSumaQa.cs
Normal file
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class MedicionDgaSupFlujSumaQa
|
||||
{
|
||||
public string? Code { get; set; }
|
||||
|
||||
public DateTime? DateOrigen { get; set; }
|
||||
|
||||
public DateTime? DateMedicionSup { get; set; }
|
||||
|
||||
public decimal? Caudal { get; set; }
|
||||
|
||||
public decimal? Altura { get; set; }
|
||||
|
||||
public DateTime? DateMedicionSub { get; set; }
|
||||
|
||||
public decimal? Totalizador { get; set; }
|
||||
|
||||
public decimal? Caudalsub { get; set; }
|
||||
|
||||
public decimal? Nivel { get; set; }
|
||||
|
||||
public decimal? Suma1 { get; set; }
|
||||
|
||||
public decimal? Suma2 { get; set; }
|
||||
|
||||
public decimal? Total { get; set; }
|
||||
}
|
25
SHARED/DTO/Integracion_DGA/MedicionDgaVilos.cs
Normal file
25
SHARED/DTO/Integracion_DGA/MedicionDgaVilos.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class MedicionDgaVilos
|
||||
{
|
||||
public string? Code { get; set; }
|
||||
|
||||
public DateTime? DateOrigen { get; set; }
|
||||
|
||||
public DateTime? DateMedicionSup { get; set; }
|
||||
|
||||
public decimal? Caudal { get; set; }
|
||||
|
||||
public decimal? Altura { get; set; }
|
||||
|
||||
public DateTime? DateMedicionSub { get; set; }
|
||||
|
||||
public decimal? Totalizador { get; set; }
|
||||
|
||||
public decimal? Caudalsub { get; set; }
|
||||
|
||||
public decimal? Nivel { get; set; }
|
||||
}
|
11
SHARED/DTO/Integracion_DGA/ResponseDga.cs
Normal file
11
SHARED/DTO/Integracion_DGA/ResponseDga.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class ResponseDga
|
||||
{
|
||||
public string? Code { get; set; }
|
||||
|
||||
public DateTime? Date { get; set; }
|
||||
}
|
15
SHARED/DTO/Integracion_DGA/SenalesNueva.cs
Normal file
15
SHARED/DTO/Integracion_DGA/SenalesNueva.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class SenalesNueva
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public string Data { get; set; } = null!;
|
||||
|
||||
public string? Hora { get; set; }
|
||||
|
||||
public string? Valor { get; set; }
|
||||
}
|
17
SHARED/DTO/Integracion_DGA/SenalesNuevasBunt.cs
Normal file
17
SHARED/DTO/Integracion_DGA/SenalesNuevasBunt.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class SenalesNuevasBunt
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public string Data { get; set; } = null!;
|
||||
|
||||
public string? Hora { get; set; }
|
||||
|
||||
public string? Valor { get; set; }
|
||||
|
||||
public DateTime? Fecha { get; set; }
|
||||
}
|
9
SHARED/DTO/Integracion_DGA/Sensore.cs
Normal file
9
SHARED/DTO/Integracion_DGA/Sensore.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class Sensore
|
||||
{
|
||||
public string IdSensor { get; set; } = null!;
|
||||
}
|
9
SHARED/DTO/Integracion_DGA/SensoresBunt.cs
Normal file
9
SHARED/DTO/Integracion_DGA/SensoresBunt.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class SensoresBunt
|
||||
{
|
||||
public string IdSensor { get; set; } = null!;
|
||||
}
|
13
SHARED/DTO/Integracion_DGA/SensoresConsolidado.cs
Normal file
13
SHARED/DTO/Integracion_DGA/SensoresConsolidado.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class SensoresConsolidado
|
||||
{
|
||||
public string EmpresaPiloto { get; set; } = null!;
|
||||
|
||||
public string IdSensor { get; set; } = null!;
|
||||
|
||||
public string? OrigenSenal { get; set; }
|
||||
}
|
9
SHARED/DTO/Integracion_DGA/Sensoresold.cs
Normal file
9
SHARED/DTO/Integracion_DGA/Sensoresold.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class Sensoresold
|
||||
{
|
||||
public string IdSensor { get; set; } = null!;
|
||||
}
|
9
SHARED/DTO/Integracion_DGA/VwSensoresAgregarExistente.cs
Normal file
9
SHARED/DTO/Integracion_DGA/VwSensoresAgregarExistente.cs
Normal file
|
@ -0,0 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class VwSensoresAgregarExistente
|
||||
{
|
||||
public string IdSensor { get; set; } = null!;
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class VwSensoresAgregarExistentesRango
|
||||
{
|
||||
public string TagName { get; set; } = null!;
|
||||
|
||||
public DateTime? MaxFecRegistro { get; set; }
|
||||
|
||||
public DateTime? MinFecRegistro { get; set; }
|
||||
}
|
30
SHARED/DTO/TagviewsResponse.cs
Normal file
30
SHARED/DTO/TagviewsResponse.cs
Normal file
|
@ -0,0 +1,30 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.DTO
|
||||
{
|
||||
public class TagviewsResponse
|
||||
{
|
||||
public List<Column> Columns { get; set; }
|
||||
}
|
||||
|
||||
public class Column
|
||||
{
|
||||
public string Statistic { get; set; }
|
||||
public Details Details { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Uid { get; set; }
|
||||
}
|
||||
|
||||
public class Details
|
||||
{
|
||||
public string Type { get; set; }
|
||||
public string Installation { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Uid { get; set; }
|
||||
}
|
||||
}
|
||||
|
29
SHARED/Helper/FileLoggerHelper.cs
Normal file
29
SHARED/Helper/FileLoggerHelper.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
using Microsoft.Extensions.Configuration;
|
||||
using Serilog;
|
||||
|
||||
namespace Shared.Helper
|
||||
{
|
||||
public class FileLoggerHelper
|
||||
{
|
||||
public static void ConfigureLogger(IConfiguration configuration)
|
||||
{
|
||||
var logFilePath = configuration.GetSection("Logging:LogFile:Path").Value;
|
||||
var logFileFullPath = Path.Combine(Directory.GetCurrentDirectory(), logFilePath);
|
||||
|
||||
Log.Logger = new LoggerConfiguration()
|
||||
.ReadFrom.Configuration(configuration)
|
||||
.WriteTo.File(logFileFullPath, rollingInterval: RollingInterval.Day)
|
||||
.CreateLogger();
|
||||
}
|
||||
|
||||
public static void LogInformation(string message)
|
||||
{
|
||||
Log.Information($"{message}");
|
||||
}
|
||||
|
||||
public static void LogError(string message, Exception ex)
|
||||
{
|
||||
Log.Error(ex, message);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -6,4 +6,10 @@
|
|||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.6" />
|
||||
<PackageReference Include="Serilog.Settings.Configuration" Version="9.0.0" />
|
||||
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue