1253 lines
42 KiB
C#
1253 lines
42 KiB
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.RegularExpressions;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OliviaAddInPro.Model
|
|
{
|
|
[Serializable]
|
|
class OliviaConf
|
|
{
|
|
private string m2s(int min)
|
|
{
|
|
var val = min;
|
|
int horas = val / 60;
|
|
return string.Format("{0}:{1:D2}", horas, val - (horas * 60));
|
|
}
|
|
private int s2m(string str, int defec)
|
|
{
|
|
var match = Regex.Match(str, @"^([0-9]*):([0-9]*)");
|
|
if (match.Success)
|
|
{
|
|
int res = 0;
|
|
var horas = match.Groups[1].Value;
|
|
var min = match.Groups[2].Value;
|
|
if (!string.IsNullOrEmpty(horas))
|
|
res += Int32.Parse(horas) * 60;
|
|
if (!string.IsNullOrEmpty(min))
|
|
res += Int32.Parse(min) * 60;
|
|
return res;
|
|
}
|
|
return defec;
|
|
}
|
|
|
|
public OliviaConf()
|
|
{
|
|
Ip = "0.0.0.0";
|
|
Puerto = 19995;
|
|
TiempoOutSocket = 20;
|
|
}
|
|
|
|
|
|
#region PropiedadesOcultas
|
|
#region parametrosConexion
|
|
/**
|
|
* IP donde va a realizar la conexión a OliviaTask, se inicializa al arrancar con la local
|
|
*/
|
|
[Browsable(false)]
|
|
public string Ip { get; set; }
|
|
/**
|
|
* Puerto local donde va a realizar la conexión a OliviaTask, se inicializa al arrancar
|
|
*/
|
|
[Browsable(false)]
|
|
public int Puerto { get; set; }
|
|
/**
|
|
* Time out de la conexión con OliviaTask, en seg
|
|
*/
|
|
[Browsable(false)]
|
|
public int TiempoOutSocket { get; set; }
|
|
#endregion
|
|
#region Paths
|
|
[Browsable(false)]
|
|
public string path_work { get; set; }
|
|
|
|
[Browsable(false)]
|
|
public string path_exe { get; set; }
|
|
|
|
[Browsable(false)]
|
|
public string path_temp { get; set; }
|
|
|
|
[Browsable(false)]
|
|
public string path_data { get; set; }
|
|
|
|
#endregion
|
|
#region FILTROS_LIMP
|
|
[Browsable(false)]
|
|
public string ejes { get; set; }
|
|
[Browsable(false)]
|
|
public string bord_libre_mec { get; set; }
|
|
[Browsable(false)]
|
|
public string bord_libre_no_mec { get; set; }
|
|
[Browsable(false)]
|
|
public string bord_aparc { get; set; }
|
|
[Browsable(false)]
|
|
public string bord_acera_mec { get; set; }
|
|
[Browsable(false)]
|
|
public string bord_acera_no_mec { get; set; }
|
|
[Browsable(false)]
|
|
public string calle_peat_mec { get; set; }
|
|
[Browsable(false)]
|
|
public string calle_peat_no_mec { get; set; }
|
|
[Browsable(false)]
|
|
public string caida_hoja_mec { get; set; }
|
|
[Browsable(false)]
|
|
public string caida_hoja_no_mec { get; set; }
|
|
[Browsable(false)]
|
|
public string contenedores { get; set; }
|
|
[Browsable(false)]
|
|
public string pape { get; set; }
|
|
[Browsable(false)]
|
|
public string zon_inf { get; set; }
|
|
[Browsable(false)]
|
|
public string pipican { get; set; }
|
|
[Browsable(false)]
|
|
public string sanecan { get; set; }
|
|
|
|
|
|
#endregion
|
|
#region PARAM_LIMP_Ocult
|
|
[Browsable(false)]
|
|
public int t_tratamiento_max { get; set; }
|
|
[Browsable(false)]
|
|
public int t_tratamiento_min { get; set; }
|
|
[Browsable(false)]
|
|
public int v_desplaz_max { get; set; }
|
|
[Browsable(false)]
|
|
public int v_desplaz_min { get; set; }
|
|
[Browsable(false)]
|
|
public int t_carga_desc_max { get; set; }
|
|
[Browsable(false)]
|
|
public int t_carga_desc_min { get; set; }
|
|
[Browsable(false)]
|
|
public int t_desplaz_max { get; set; }
|
|
[Browsable(false)]
|
|
public int t_desplaz_min { get; set; }
|
|
[Browsable(false)]
|
|
public int t_convenio_max { get; set; }
|
|
[Browsable(false)]
|
|
public int t_convenio_min { get; set; }
|
|
[Browsable(false)]
|
|
public int t_descanso_max { get; set; }
|
|
[Browsable(false)]
|
|
public int t_descanso_min { get; set; }
|
|
[Browsable(false)]
|
|
public int ancho_via_max { get; set; }
|
|
[Browsable(false)]
|
|
public int ancho_via_min { get; set; }
|
|
|
|
#endregion
|
|
#region ParametrosReco_Ocultos
|
|
|
|
[Browsable(false)]
|
|
public int t_vaciado_max { get; set; }
|
|
[Browsable(false)]
|
|
public int t_vaciado_min { get; set; }
|
|
[Browsable(false)]
|
|
public int t_llega_sale_max { get; set; }
|
|
[Browsable(false)]
|
|
public int t_llega_sale_min { get; set; }
|
|
[Browsable(false)]
|
|
public int t_descarga_max { get; set; }
|
|
[Browsable(false)]
|
|
public int t_descarga_min { get; set; }
|
|
[Browsable(false)]
|
|
public int R_t_convenio_max { get; set; }
|
|
[Browsable(false)]
|
|
public int R_t_convenio_min { get; set; }
|
|
[Browsable(false)]
|
|
public int R_t_descanso_max { get; set; }
|
|
[Browsable(false)]
|
|
public int R_t_descanso_min { get; set; }
|
|
#endregion
|
|
#region OtrasConfiguraciones
|
|
[Browsable(false)]
|
|
public string PathGdbGen { get; set; }
|
|
|
|
[Browsable(false)]
|
|
public string PathCartela { get; set; }
|
|
|
|
[Browsable(false)]
|
|
public string PathSimbVSM { get; set; }
|
|
|
|
[Browsable(false)]
|
|
public string PathSimbESRI { get; set; }
|
|
#endregion
|
|
#endregion
|
|
#region General
|
|
[Category("General")]
|
|
[DisplayName("Red de carreteras")]
|
|
[Description("Red de carreteras que se usara para la navegación")]
|
|
public string red_carreteras { get; set; }
|
|
|
|
[Category("General")]
|
|
[DisplayName("Puerto")]
|
|
[Description("Puerto de conexión con el proceso olivia")]
|
|
public int puerto { get; set; }
|
|
|
|
[Category("General")]
|
|
[DisplayName("Buffer de exportado (m)")]
|
|
[Description("Buuffer extra, en metros, que se va a exportar de la red de carreteras")]
|
|
public int buffer_export { get; set; }
|
|
#endregion
|
|
|
|
#region CAPAS_GENERALES
|
|
[Category("Capas Generales")]
|
|
[DisplayName("Eje de via")]
|
|
[Description("Capa de eje de via que se usara")]
|
|
public string eje_via { get; set; }
|
|
|
|
[Category("Capas Generales")]
|
|
[DisplayName("Capa municipios")]
|
|
[Description("Capa municipios")]
|
|
public string municipios { get; set; }
|
|
#endregion
|
|
|
|
#region CamposGenerales
|
|
[Category("Campos Generales")]
|
|
[DisplayName("Sector")]
|
|
[Description("Nombre del campo sector")]
|
|
public string consulta_sector { get; set; }
|
|
|
|
[Category("Campos Generales")]
|
|
[DisplayName("Secuencia")]
|
|
[Description("Nombre del campo secuencia")]
|
|
public string consulta_secuen { get; set; }
|
|
|
|
#endregion
|
|
#region CAMPOS_LIMP
|
|
[Category("Campos Limpieza")]
|
|
[DisplayName("Tipo entidad")]
|
|
[Description("Nombre del campo tipo de entidad")]
|
|
public string cons_tip_ent { get; set; }
|
|
|
|
[Category("Campos Limpieza")]
|
|
[DisplayName("Mecanizable")]
|
|
[Description("Nombre del campo que indica si es mecanizable")]
|
|
public string cons_mecaniz { get; set; }
|
|
|
|
[Category("Campos Limpieza")]
|
|
[DisplayName("Observaciones")]
|
|
[Description("Nombre del campo de observaciones")]
|
|
public string cons_obser { get; set; }
|
|
|
|
[Category("Campos Limpieza")]
|
|
[DisplayName("Ancho aceras")]
|
|
[Description("Nombre del campo que indica el ancho de las aceras")]
|
|
public string cons_anch_tip { get; set; }
|
|
|
|
[Category("Campos Limpieza")]
|
|
[DisplayName("Tipo de aparcamiento")]
|
|
[Description("Nombre del campo que indica el tipo de aparcamiento")]
|
|
public string cons_tipolo { get; set; }
|
|
#endregion
|
|
|
|
#region ATRIBUTOS_LIMP
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Acera")]
|
|
[Description("Valor para el atributo acera")]
|
|
public string atr_acera { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Banda Aparcamiento")]
|
|
[Description("Valor para el atributo banda de aparcamiento")]
|
|
public string atr_aparc { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Bordillo libre")]
|
|
[Description("Valor para el atributo de bordillo libre")]
|
|
public string atr_bord { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Caída de hoja")]
|
|
[Description("Valor para el atributo caída hoja")]
|
|
public string atr_hoja { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Peatonales")]
|
|
[Description("Valor para el atributo calle peatonal")]
|
|
public string atr_peat { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Mecanizable")]
|
|
[Description("Valor para el atributo de si es mecanizable")]
|
|
public string atr_mec_s { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("No mecanizable")]
|
|
[Description("Valor para el atributo de si no es mecanizable")]
|
|
public string atr_mec_n { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Escaleras")]
|
|
[Description("Valor para el atributo escaleras")]
|
|
public string atr_esca { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Fuentes")]
|
|
[Description("Valor para el atributo fuentes")]
|
|
public string atr_fuent { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Juegos infantiles")]
|
|
[Description("Valor para el atributo juegos infantiles")]
|
|
public string atr_infan { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Papelera")]
|
|
[Description("Valor para el atributo papelera")]
|
|
public string atr_pape { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Paso a nivel")]
|
|
[Description("Valor para el atributo papelera para el atributo paso a nivel")]
|
|
public string atr_paso_niv { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Pipican")]
|
|
[Description("Valor para el atributo pipican")]
|
|
public string atr_pipi { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Sanecan")]
|
|
[Description("Valor para el atributo saneacan")]
|
|
public string atr_sane { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Areas Terrizas")]
|
|
[Description("Valor para el atributo areas terrizas")]
|
|
public string atr_terri { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Ocio")]
|
|
[Description("Valor para el atributo Ocio")]
|
|
public string atr_ocio { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Organismos oficiales")]
|
|
[Description("Valor para el atributo organismos oficiales")]
|
|
public string atr_org_ofi { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Organismos oficiales")]
|
|
[Description("Valor para el atributo parques")]
|
|
public string atr_parq { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Parquin")]
|
|
[Description("Valor para el atributo parquin")]
|
|
public string atr_park { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Playa")]
|
|
[Description("Valor para el atributo playa")]
|
|
public string atr_play { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Polideportivo")]
|
|
[Description("Valor para el atributo polideportivo")]
|
|
public string atr_polid { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("P. interes turistico")]
|
|
[Description("Valor para el atributo los puntos de interes turistico")]
|
|
public string atr_turis { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Solares")]
|
|
[Description("Valor para el atributo solares")]
|
|
public string atr_solar { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Suelo")]
|
|
[Description("Valor para el atributo uso del suelo")]
|
|
public string atr_suelo { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Aparcamiento en linea")]
|
|
[Description("Valor para el atributo aparcamiento en linea")]
|
|
public string atr_ap_lin { get; set; }
|
|
|
|
[Category("Atributos limpieza")]
|
|
[DisplayName("Aparacamiento en bateria")]
|
|
[Description("Valor para el atributo aparcamiento en bateria")]
|
|
public string atr_ap_bat { get; set; }
|
|
#endregion
|
|
|
|
#region PARAM_LIMP
|
|
|
|
[Browsable(false)]
|
|
public int t_convenio { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo jornada")]
|
|
[Description("Tiempo de la jornada en formato horas:minutos")]
|
|
[JsonIgnore]
|
|
public string timeConvenio
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_convenio);
|
|
}
|
|
set
|
|
{
|
|
t_convenio = s2m(value, t_convenio);
|
|
}
|
|
}
|
|
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo desplazamiento")]
|
|
[Description("Tiempo de desplazamiento en horas:minutos")]
|
|
[JsonIgnore]
|
|
public string timeDesplazamiento
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_desplaz);
|
|
}
|
|
set
|
|
{
|
|
t_desplaz = s2m(value, t_desplaz);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]
|
|
public int t_desplaz { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo de descarga")]
|
|
[Description("Tiempo de descarga en horas:minutos")]
|
|
[JsonIgnore]
|
|
public string timeDescarga
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_carga_desc);
|
|
}
|
|
set
|
|
{
|
|
t_carga_desc = s2m(value, t_carga_desc);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]
|
|
public int t_carga_desc { get; set; }
|
|
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo de Descanso")]
|
|
[Description("Tiempo de descanso en minutos")]
|
|
[JsonIgnore]
|
|
public string timeDescanso
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_descanso);
|
|
}
|
|
set
|
|
{
|
|
t_descanso = s2m(value, t_descanso);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]
|
|
public int t_descanso { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Hora de inicio")]
|
|
[Description("Hora de inicio")]
|
|
[JsonIgnore]
|
|
public string horaInicio
|
|
{
|
|
get
|
|
{
|
|
return m2s(hora_inicio);
|
|
}
|
|
set
|
|
{
|
|
hora_inicio = s2m(value, hora_inicio);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]
|
|
public int hora_inicio { get; set; } //ES UNA HORA, SON LOS MINUTOS DESDE LAS 00, PERO TIENE QUE APARECER CON FORMATO DE TIME 07:30, POR EJEMPLO
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Ancho via")]
|
|
[Description("Ancho via en metros")]
|
|
public int ancho_via { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo barrido manual")]
|
|
[Description("Tiempo tratamiento barrido manual")]
|
|
/*[JsonIgnore]
|
|
public string str_t_tratamiento_BarMan
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_BarMan);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_BarMan = s2m(value, t_tratamiento_BarMan);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]*/
|
|
public int t_tratamiento_BarMan { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo barrido manual mantenimiento")]
|
|
[Description("Tiempo tratamiento barrido manual de mantenimiento")]
|
|
/*[JsonIgnore]
|
|
public string str_t_tratamiento_BarManMant
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_BarManMant);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_BarManMant = s2m(value, t_tratamiento_BarManMant);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]*/
|
|
public int t_tratamiento_BarManMant { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("tiempo barrido manual motorizado")]
|
|
[Description("Tiempo de tratamiento de Barrido manual motorizado")]
|
|
/*[JsonIgnore]
|
|
public string str_t_tratamiento_BarMMo
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_BarMMot);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_BarMMot = s2m(value, t_tratamiento_BarMMot);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]*/
|
|
public int t_tratamiento_BarMMot { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo barrido mecánico calzadas")]
|
|
[Description("Tiempo de tratamiento de Barrido mecánico de calzadas")]
|
|
/*[JsonIgnore]
|
|
public string str_t_tratamiento_BarMC
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_BarMC);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_BarMC = s2m(value, t_tratamiento_BarMC);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]*/
|
|
public int t_tratamiento_BarMC { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo barrido mecánico aceras peatonales")]
|
|
[Description("Tiempo de tratamiento de Barrido mecánico de aceras peatonales")]
|
|
/*[JsonIgnore]
|
|
public string str_t_tratamiento_BarMAP
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_BarMAP);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_BarMAP = s2m(value, t_tratamiento_BarMAP);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]*/
|
|
public int t_tratamiento_BarMAP { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo barrido mixto")]
|
|
[Description("Tiempo de tratamiento de barrido mixto")]
|
|
/*[JsonIgnore]
|
|
public string str_t_tratamiento_BarMix
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_BarMix);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_BarMix = s2m(value, t_tratamiento_BarMix);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]*/
|
|
public int t_tratamiento_BarMix { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo baldeo manual")]
|
|
[Description("Tiempo de tratamiento de baldeo manual")]
|
|
/*[JsonIgnore]
|
|
public string str_t_tratamiento_BalMan
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_BalMan);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_BalMan = s2m(value, t_tratamiento_BalMan);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]*/
|
|
public int t_tratamiento_BalMan { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo baldeo mecánico calzadas")]
|
|
[Description("Tiempo de tratamiento de Baldeo mecánico calzadas")]
|
|
/*[JsonIgnore]
|
|
public string str_t_tratamiento_BalMC
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_BalMC);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_BalMC = s2m(value, t_tratamiento_BalMC);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]*/
|
|
public int t_tratamiento_BalMC { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo baldeo mecanico aceras peatonales")]
|
|
[Description("Tiempo de tratamiento de Baldeo mecánico aceras peatonales")]
|
|
/* [JsonIgnore]
|
|
public string str_t_tratamiento_BalMAP
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_BalMAP);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_BalMAP = s2m(value, t_tratamiento_BalMAP);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]*/
|
|
public int t_tratamiento_BalMAP { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo baldeo mixto")]
|
|
[Description("Tiempo de tratamiento de baldeo mixto")]
|
|
/*[JsonIgnore]
|
|
public string str_t_tratamiento_BalMix
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_BalMix);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_BalMix = s2m(value, t_tratamiento_BalMix);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]*/
|
|
public int t_tratamiento_BalMix { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo brigada limpieza")]
|
|
[Description("Tiempo de tratamiento de brigada limpieza")]
|
|
/*[JsonIgnore]
|
|
public string str_t_tratamiento_BL
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_BL);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_BL = s2m(value, t_tratamiento_BL);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]*/
|
|
public int t_tratamiento_BL { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo caída hoja")]
|
|
[Description("Tiempo de tratamiento de caída de hoja")]
|
|
/*[JsonIgnore]
|
|
public string str_t_tratamiento_CH
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_CH);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_CH = s2m(value, t_tratamiento_CH);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]*/
|
|
public int t_tratamiento_CH { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo vaciado papeleras")]
|
|
[Description("Tiempo de tratamiento de vaciado papeleras")]
|
|
[JsonIgnore]
|
|
public string str_t_tratamiento_VPap
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_VPap);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_VPap = s2m(value, t_tratamiento_VPap);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]
|
|
public int t_tratamiento_VPap { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
[JsonIgnore]
|
|
public string Tiempo_tratamiento_LPap
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_LPap);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_LPap = s2m(value, t_tratamiento_LPap);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]
|
|
public int t_tratamiento_LPap { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo limpieza papeleras")]
|
|
[Description("Tiempo de tratamiento de limpieza papeleras")]
|
|
[JsonIgnore]
|
|
public string str_t_tratamiento_LC
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_LC);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_LC = s2m(value, t_tratamiento_LC);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]
|
|
public int t_tratamiento_LC { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo limpieza contenedores")]
|
|
[Description("Tiempo de tratamiento de limpieza contenedores")]
|
|
[JsonIgnore]
|
|
public string str_t_tratamiento_LZI
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_LZI);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_LZI = s2m(value, t_tratamiento_LZI);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]
|
|
public int t_tratamiento_LZI { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo limpieza pipicanes")]
|
|
[Description("Tiempo de tratamiento de Limpieza pipicanes")]
|
|
[JsonIgnore]
|
|
public string str_t_tratamiento_LPip
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_LPip);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_LPip = s2m(value, t_tratamiento_LPip);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]
|
|
public int t_tratamiento_LPip { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Tiempo limpieza saneacanes")]
|
|
[Description("Tiempo de tratamiento de Limpieza sanecanes")]
|
|
[JsonIgnore]
|
|
public string str_t_tratamiento_LS
|
|
{
|
|
get
|
|
{
|
|
return m2s(t_tratamiento_LS);
|
|
}
|
|
set
|
|
{
|
|
t_tratamiento_LS = s2m(value, t_tratamiento_LS);
|
|
}
|
|
}
|
|
|
|
[Browsable(false)]
|
|
public int t_tratamiento_LS { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. barrido manual")]
|
|
[Description("Velocidad de desplazamiento de barrido Manual")]
|
|
public int v_desp_BarMan { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. barrido mantenimiento manual")]
|
|
[Description("Velocidad de desplazamiento de barrido mantenimiento manual")]
|
|
public int v_desp_BarManMant { get; set; }
|
|
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. des. barrido manual motorizado")]
|
|
[Description("Velocidad de desplazamiento de Barrido manual motorizado")]
|
|
public int v_desp_BarMMot { get; set; }
|
|
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. barrido mecánico calzadas")]
|
|
[Description("Velocidad de desplazamiento de barrido mecánico de calzadas")]
|
|
public int v_desp_BarMC { get; set; }
|
|
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. barrido aceras peatonales")]
|
|
[Description("Velocidad de desplazamiento de barrido mecánico aceras peatonales")]
|
|
public int v_desp_BarMAP { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. barrido mixto")]
|
|
[Description("Velocidad de desplazamiento de barrido mixto")]
|
|
public int v_desp_BarMix { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. baldeo manual")]
|
|
[Description("Velocidad de desplazamiento de baldeo manual")]
|
|
public int v_desp_BalMan { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. baldeo mecánico calzadas")]
|
|
[Description("Velocidad de desplazamiento de baldeo mecánico de calzadas")]
|
|
public int v_desp_BalMC { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. baldeo aceras peatonales")]
|
|
[Description("Velocidad de desplazamiento de Baldeo_mecanico_aceras_peatonales")]
|
|
public int v_desp_BalMAP { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. baldeo mixto")]
|
|
[Description("Velocidad de desplazamiento de baldeo mixto")]
|
|
public int v_desp_BalMix { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("vel. desp. brigada limpieza")]
|
|
[Description("Velocidad de desplazamiento de brigada de limpieza")]
|
|
public int v_desp_BL { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. caída hoja")]
|
|
[Description("Velocidad de desplazamiento de Caída de hoja")]
|
|
public int v_desp_CH { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. vaciado papeleras")]
|
|
[Description("Velocidad de desplazamiento de vaciado de papeleras")]
|
|
public int v_desp_VPap { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("vel. desp. limpieza papeleras")]
|
|
[Description("Velocidad de desplazamiento de limpieza de papeleras")]
|
|
public int v_desp_LPap { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. limpieza contenedores")]
|
|
[Description("Velocidad de desplazamiento de Limpieza de contenedores")]
|
|
public int v_desp_LC { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. limpieza zonas infantiles")]
|
|
[Description("Velocidad de desplazamiento de Limpieza de zonas infantiles")]
|
|
public int v_desp_LZI { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. limpieza pipicanes")]
|
|
[Description("Velocidad de desplazamiento de Limpieza de pipicanes")]
|
|
public int v_desp_LPip { get; set; }
|
|
|
|
[Category("Parametros limpieza")]
|
|
[DisplayName("Vel. desp. limpieza saneacanes")]
|
|
[Description("Velocidad de desplazamiento de Limpieza de sanecanes")]
|
|
public int v_desp_LS { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region OtrosParametros
|
|
[Category("Otros parametros")]
|
|
[DisplayName("Ancho calle peatonal")]
|
|
[Description("Ancho por defecto calle peatonal. En metros")]
|
|
public double Ancho_peat_def { get; set; }
|
|
|
|
[Category("Otros parametros")]
|
|
[DisplayName("Ancho Acera")]
|
|
[Description("Ancho de acera por defecto. En metros")]
|
|
public double Ancho_acera_def { get; set; }
|
|
|
|
[Category("Otros parametros")]
|
|
[DisplayName("Ancho aparcamiento linea")]
|
|
[Description("Ancho por defecto del aparcamiento en linea. En metros")]
|
|
public double Ancho_ap_lin_def { get; set; }
|
|
|
|
[Category("Otros parametros")]
|
|
[DisplayName("Ancho aparcamiento bateria")]
|
|
[Description("Ancho por defecto del aparcamiento en bateria. En metros")]
|
|
public double Ancho_ap_bat_def { get; set; }
|
|
|
|
[Category("Otros parametros")]
|
|
[DisplayName("Ancho bordillo libre")]
|
|
[Description("Ancho por defecto del bordillo libre. en metros")]
|
|
public double Ancho_bord_lib_def { get; set; }
|
|
|
|
[Category("Otros parametros")]
|
|
[DisplayName("Desviación máxima relativa")]
|
|
[Description("Desviacion maxima relativa permitida para la sectorización")]
|
|
public double Desv_max { get; set; }
|
|
|
|
[Category("Otros parametros")]
|
|
[DisplayName("Desviación maxima absoluta")]
|
|
[Description("Desviacion maxima absoluta permitida en la sectorización. en segundos")]
|
|
public double Desv_max_abs { get; set; }
|
|
|
|
[Category("Otros parametros")]
|
|
[DisplayName("Giro maximo vehículo")]
|
|
[Description("Giro maximo permitido al vehiculo. En grados")]
|
|
public double Giro_max_vehiculo { get; set; }
|
|
#endregion
|
|
#region CamposRecogida
|
|
[Category("Campos Recogida")]
|
|
[DisplayName("ID")]
|
|
[Description("Campo para consultar el ID del contenedor")]
|
|
public string id { get; set; }
|
|
[Category("Campos Recogida")]
|
|
[DisplayName("Nombre tipo recogida")]
|
|
[Description("Campo para consultar el tipo de recogida")]
|
|
public string nomrec { get; set; }
|
|
[Category("Campos Recogida")]
|
|
[DisplayName("Lateralidad")]
|
|
[Description("Campo para consultar la lateralidad")]
|
|
public string lateralidad { get; set; }
|
|
[Category("Campos Recogida")]
|
|
[DisplayName("Fracción")]
|
|
[Description("Campo para consultar la fracción")]
|
|
public string frac { get; set; }
|
|
[Category("Campos Recogida")]
|
|
[DisplayName("Capacidad")]
|
|
[Description("Campo para consultar la capacidad, en m3")]
|
|
public string capac { get; set; }
|
|
[Category("Campos Recogida")]
|
|
[DisplayName("Unidades")]
|
|
[Description("Campo para consultar el número de contenedores en ese punto")]
|
|
public string uds { get; set; }
|
|
[Category("Campos Recogida")]
|
|
[DisplayName("Kg a recoger")]
|
|
[Description("Campo para consultar los kg del contenedor")]
|
|
public string kgrec { get; set; }
|
|
[Category("Campos Recogida")]
|
|
[DisplayName("Kg defecto")]
|
|
[Description("Indica los kg a utilizar para todos los contenedores")]
|
|
public int kgrec_val { get; set; }
|
|
[Category("Campos Recogida")]
|
|
[DisplayName("¿Lleno?")]
|
|
[Description("Indica si se debe considerar que todos los contenedores están llenos")]
|
|
public bool is_lleno { get; set; }
|
|
[Category("Campos Recogida")]
|
|
[DisplayName("¿Lee el campo de kg?")]
|
|
[Description("Indica si se deben leer los kg de cada contenedor del campo 'Kg a recoger'")]
|
|
public bool is_campo { get; set; }
|
|
|
|
#endregion
|
|
#region AtributosRecogida
|
|
[Category("Atributos recogida")]
|
|
[DisplayName("Organica")]
|
|
[Description("Atributo organica")]
|
|
public string organica { get; set; }
|
|
[Category("Atributos recogida")]
|
|
[DisplayName("Resto")]
|
|
[Description("Atributo resto")]
|
|
public string resto { get; set; }
|
|
[Category("Atributos recogida")]
|
|
[DisplayName("Envases")]
|
|
[Description("Atributo envases")]
|
|
public string envase { get; set; }
|
|
[Category("Atributos recogida")]
|
|
[DisplayName("Papel")]
|
|
[Description("Atributo de papel")]
|
|
public string papel { get; set; }
|
|
[Category("Atributos recogida")]
|
|
[DisplayName("Vidrio")]
|
|
[Description("Atributo de vidrio")]
|
|
public string vidrio { get; set; }
|
|
[Category("Atributos recogida")]
|
|
[DisplayName("Carga trasera")]
|
|
[Description("Atributo de carga trasera")]
|
|
public string trasera { get; set; }
|
|
[Category("Atributos recogida")]
|
|
[DisplayName("Carga lateral")]
|
|
[Description("Atributo de carga lateral")]
|
|
public string lateral { get; set; }
|
|
[Category("Atributos recogida")]
|
|
[DisplayName("Carga superior")]
|
|
[Description("Atributo de carga superior")]
|
|
public string superior { get; set; }
|
|
[Category("Atributos recogida")]
|
|
[DisplayName("Bilateral")]
|
|
[Description("Atributo de carga bilateral")]
|
|
public string bilat { get; set; }
|
|
[Category("Atributos recogida")]
|
|
[DisplayName("Bolseo")]
|
|
[Description("Atributo de bolseo")]
|
|
public string bolseo { get; set; }
|
|
[Category("Atributos recogida")]
|
|
[DisplayName("Lavado")]
|
|
[Description("Atributo lavado")]
|
|
public string lavado { get; set; }
|
|
#endregion
|
|
#region AtributosCargaLateral
|
|
[Category("Atributos Carga lateral")]
|
|
[DisplayName("Carga ambos")]
|
|
[Description("Atributo para carga por ambos lados")]
|
|
public string ambos { get; set; }
|
|
[Category("Atributos Carga lateral")]
|
|
[DisplayName("Carga derecha")]
|
|
[Description("Atributo para carga derecha")]
|
|
public string derecha { get; set; }
|
|
[Category("Atributos Carga lateral")]
|
|
[DisplayName("Carga izquierda")]
|
|
[Description("Atributo para carga izquierda")]
|
|
public string izquierda { get; set; }
|
|
#endregion
|
|
#region ParametrosRecogida
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int t_llega_sale { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int t_descarga { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int R_t_convenio { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int R_t_descanso { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int R_hora_inicio { get; set; } //ES UNA HORA, SON LOS MINUTOS DESDE LAS 00, PERO TIENE QUE APARECER CON FORMATO DE TIME 07:30, POR EJEMPLO
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int dens_vehi_org { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int dens_vehi_res { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int dens_vehi_env { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int dens_vehi_pap { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int dens_vehi_vid { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int dens_vehi_otr { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int dens_cont_org { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int dens_cont_res { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int dens_cont_env { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int dens_cont_pap { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int dens_cont_vid { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int dens_cont_otr { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public double anch_vehi_3 { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public double anch_vehi_2 { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public double anch_vehi_s { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public double radio_giro_3 { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public double radio_giro_2 { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public double radio_giro_s { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int t_vaci_trasera { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int t_vaci_lateral { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int t_vaci_superior { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int t_vaci_bilateral { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int t_vaci_bolseo { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int t_vaci_lavado { get; set; }
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int t_vaci_otra { get; set; }
|
|
[Browsable(false)]
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int kgmax_max { get; set; }
|
|
[Browsable(false)]
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int kgmax_min { get; set; }
|
|
[Browsable(false)]
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int carga_max_max { get; set; }
|
|
[Browsable(false)]
|
|
[Category("Parametros Recogida")]
|
|
[DisplayName("")]
|
|
[Description("")]
|
|
public int carga_max_min { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region CambosNW
|
|
[Category("Campos network")]
|
|
[DisplayName("Sentido de la calle")]
|
|
[Description("Nombre de la columna que indica si la calle es de doble sentido o no.")]
|
|
public string cons_onew { get; set; }
|
|
|
|
[Category("Campos network")]
|
|
[DisplayName("Velocidad calle")]
|
|
[Description("Nombre de la columna que indica la velociad de la calle")]
|
|
public string cons_kph { get; set; }
|
|
|
|
[Category("Campos network")]
|
|
[DisplayName("Tipo calle")]
|
|
[Description("Nombre de la columna que india el tipo de calle.")]
|
|
public string cons_fow { get; set; }
|
|
|
|
[Category("Campos network")]
|
|
[DisplayName("Nombre calle")]
|
|
[Description("Nombre de la columna que indica el nombre de la calle")]
|
|
public string cons_name { get; set; }
|
|
|
|
[Category("Atributos network")]
|
|
[DisplayName("To-From")]
|
|
[Description("Valor que indica la dirección To-From")]
|
|
public string atr_TF { get; set; }
|
|
|
|
[Category("Atributos network")]
|
|
[DisplayName("From-To")]
|
|
[Description("Valor que indica la dirección From-To")]
|
|
public string atr_FT { get; set; }
|
|
[Category("Atributos network")]
|
|
[DisplayName("Sin circulación")]
|
|
[Description("Valor que indica no circulación")]
|
|
public string atr_N { get; set; }
|
|
[Category("Atributos network")]
|
|
[DisplayName("Peatonal")]
|
|
[Description("Valor que indica que es calle peatonal")]
|
|
public string atr_pedes { get; set; }
|
|
|
|
#endregion
|
|
|
|
}
|
|
}
|