feat:se eliminan modelos innecesarios e implementan los logs de medicion
This commit is contained in:
parent
903414e773
commit
f519f3329b
78 changed files with 112 additions and 1683 deletions
|
@ -43,7 +43,7 @@ namespace BLL.Recuperacion_DGA
|
|||
}
|
||||
};
|
||||
|
||||
await _registrarMedicion.EnviarMedicionAsync(medicion.Code, body);
|
||||
await _registrarMedicion.EnviarMedicionAsync(medicion.Code, body,medicion.Id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
50
DAL/LogMedicionScadaRepository.cs
Normal file
50
DAL/LogMedicionScadaRepository.cs
Normal file
|
@ -0,0 +1,50 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Dapper;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Shared.DTO.Envios_DGA;
|
||||
|
||||
namespace DAL
|
||||
{
|
||||
public class LogMedicionScadaRepository
|
||||
{
|
||||
private IConfiguration _configuration;
|
||||
private static string connectionString = string.Empty;
|
||||
public LogMedicionScadaRepository(IConfiguration configuration)
|
||||
{
|
||||
_configuration = configuration;
|
||||
connectionString = _configuration.GetConnectionString("DefaultConnection") ?? "";
|
||||
}
|
||||
|
||||
public async Task<bool> InsertarLogMedicionScadaAsync(LogMedicionScada logMedicionScada)
|
||||
{
|
||||
try
|
||||
{
|
||||
using (var connection = new SqlConnection(connectionString))
|
||||
{
|
||||
await connection.OpenAsync();
|
||||
|
||||
// Truncar la tabla antes de insertar
|
||||
await connection.ExecuteAsync("TRUNCATE TABLE DGA_LOGS_OPERACION");
|
||||
// Insertar todos los datos de la lista usando Dapper
|
||||
var sql = @"INSERT INTO dbo.DGA_LOGS_OPERACION
|
||||
(estado_envio, json_enviado, json_recibido, comprobante, fecha_envio, id_medicion_smartscada_operacion)
|
||||
VALUES
|
||||
(@EstadoEnvio, @JsonEnviado, @JsonRecibido, @Comprobante, @FechaEnvio, @IdMedicionSmartscadaOperacion)";
|
||||
await connection.ExecuteAsync(sql, logMedicionScada);
|
||||
|
||||
return true; // Éxito
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new Exception($"Error: {ex.Message}");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -12,6 +12,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DAL\DAL.csproj" />
|
||||
<ProjectReference Include="..\SHARED\Shared.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using Microsoft.Extensions.Configuration;
|
||||
using DAL;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Shared.DTO.Envios_DGA;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
@ -12,17 +13,19 @@ namespace DAS
|
|||
private static string? password;
|
||||
private static string? rutEmpresa;
|
||||
private static string? rutUsuario;
|
||||
private readonly LogMedicionScadaRepository _logMedicionScadaRepository;
|
||||
|
||||
public RegistrarMedicion(HttpClient httpClient, IConfiguration configuration)
|
||||
public RegistrarMedicion(HttpClient httpClient, IConfiguration configuration,LogMedicionScadaRepository logMedicionScadaRepository)
|
||||
{
|
||||
_httpClient = httpClient;
|
||||
_configuration = configuration;
|
||||
rutUsuario = _configuration["Credenciales:rutEmpresa"] ?? "";
|
||||
rutEmpresa = _configuration["Credenciales:rutUsuario"] ?? "" ?? "";
|
||||
password = _configuration["Credenciales:password"] ?? "";
|
||||
_logMedicionScadaRepository = logMedicionScadaRepository;
|
||||
}
|
||||
|
||||
public async Task<bool> EnviarMedicionAsync(string codigoObra, MedicionSubterraneaRequest request)
|
||||
public async Task<bool> EnviarMedicionAsync(string codigoObra, MedicionSubterraneaRequest request, long idMedicion)
|
||||
{
|
||||
|
||||
request.Autenticacion.Password = password;
|
||||
|
@ -42,6 +45,35 @@ namespace DAS
|
|||
content.Headers.Add("timeStampOrigen", timeStamp);
|
||||
|
||||
var response = await _httpClient.PostAsync(url, content);
|
||||
string jsonRecibido = await response.Content.ReadAsStringAsync();
|
||||
string estado = response.IsSuccessStatusCode ? "OK" : "ERROR";
|
||||
string comprobante = string.Empty;
|
||||
if (response.IsSuccessStatusCode)
|
||||
{
|
||||
try
|
||||
{
|
||||
using var doc = JsonDocument.Parse(jsonRecibido);
|
||||
if (doc.RootElement.TryGetProperty("data", out var dataProp) &&
|
||||
dataProp.TryGetProperty("numeroComprobante", out var comprobanteProp))
|
||||
{
|
||||
comprobante = comprobanteProp.GetString();
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
var logMedicionScada = new LogMedicionScada();
|
||||
logMedicionScada.EstadoEnvio = estado;
|
||||
logMedicionScada.JsonEnviado = json;
|
||||
logMedicionScada.JsonRecibido = jsonRecibido;
|
||||
logMedicionScada.Comprobante = comprobante;
|
||||
logMedicionScada.FechaEnvio = DateTime.UtcNow;
|
||||
logMedicionScada.IdMedicionSmartscadaOperacion = idMedicion;
|
||||
|
||||
await _logMedicionScadaRepository.InsertarLogMedicionScadaAsync(logMedicionScada);
|
||||
|
||||
return response.IsSuccessStatusCode;
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@ namespace Integracion_DGA
|
|||
services.AddScoped<JobsDgaRepository>();
|
||||
services.AddScoped<JobsDgaVilosRepository>();
|
||||
services.AddScoped<JobsDgaSupFlujRepository>();
|
||||
services.AddScoped<LogMedicionScadaRepository>();
|
||||
services.AddScoped<ApiService>();
|
||||
services.AddScoped<BusinessLogic>();
|
||||
})
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Server=10.224.7.53,1433;Initial Catalog=ENVIO_DGA;Persist Security Info=False;User ID=enviodga;Password=esval++2022;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=true;Connection Timeout=30;"
|
||||
"DefaultConnection": "Server=10.224.7.53,1433;Initial Catalog=ENVIO_DGA;Persist Security Info=False;User ID=usrdga;Password=AfX8zE8F740;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=true;Connection Timeout=30;"
|
||||
},
|
||||
"ApiSettings": {
|
||||
"ApiUrl": "http://smartscada.esval.cl:56000",
|
||||
|
|
18
SHARED/DTO/Envios_DGA/LogMedicionScada.cs
Normal file
18
SHARED/DTO/Envios_DGA/LogMedicionScada.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.DTO.Envios_DGA
|
||||
{
|
||||
public class LogMedicionScada
|
||||
{
|
||||
public string EstadoEnvio { get; set; }
|
||||
public string JsonEnviado { get; set; }
|
||||
public string JsonRecibido { get; set; }
|
||||
public string Comprobante { get; set; }
|
||||
public DateTime FechaEnvio { get; set; }
|
||||
public long IdMedicionSmartscadaOperacion { get; set; }
|
||||
}
|
||||
}
|
|
@ -8,6 +8,7 @@ namespace Shared.DTO.Envios_DGA
|
|||
{
|
||||
public class MedicionScada
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string? Code { get; set; }
|
||||
|
||||
public DateTime? DateOrigen { get; set; }
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabApoyoProceso
|
||||
{
|
||||
public string IdSensor { get; set; } = null!;
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class CabSensoresEliminar
|
||||
{
|
||||
public string? IdSensor { get; set; }
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,45 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,41 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,61 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.DTO
|
||||
namespace Shared.DTO.Integracion_DGA
|
||||
{
|
||||
public class DocumentResponse
|
||||
{
|
|
@ -1,177 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.DTO
|
||||
namespace Shared.DTO.Integracion_DGA
|
||||
{
|
||||
public class HistoricRequest
|
||||
{
|
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.DTO
|
||||
namespace Shared.DTO.Integracion_DGA
|
||||
{
|
||||
public class HistoricResponse
|
||||
{
|
|
@ -1,21 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class Sensore
|
||||
{
|
||||
public string IdSensor { get; set; } = null!;
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class SensoresBunt
|
||||
{
|
||||
public string IdSensor { get; set; } = null!;
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
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; }
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class Sensoresold
|
||||
{
|
||||
public string IdSensor { get; set; } = null!;
|
||||
}
|
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.DTO
|
||||
namespace Shared.DTO.Integracion_DGA
|
||||
{
|
||||
public class TagviewsResponse
|
||||
{
|
|
@ -1,9 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Shared.DTO.Integracion_DGA;
|
||||
|
||||
public partial class VwSensoresAgregarExistente
|
||||
{
|
||||
public string IdSensor { get; set; } = null!;
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
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; }
|
||||
}
|
Loading…
Add table
Reference in a new issue