public void DatoToInterfazUsuario(ListadoVerificacionSubArrendadoBO bo)
        {
            this.vista.tieneNivelesFluido        = bo.TieneNivelesFluido;
            this.vista.tieneTapaFluidos          = bo.TieneTapaFluidos;
            this.vista.tieneSistemaElectrico     = bo.TieneSistemaElectrico;
            this.vista.tieneFarosTraseros        = bo.TieneFarosTraseros;
            this.vista.tieneFarosDelanteros      = bo.TieneFarosDelanteros;
            this.vista.tieneCuartosDireccionales = bo.TieneCuartosDireccionales;
            this.vista.tieneLimpiaparabrisas     = bo.TieneLimpiaparabrisas;
            this.vista.tieneBateria         = bo.TieneBateria;
            this.vista.tieneChasis          = bo.TieneChasis;
            this.vista.tieneEstabilizadores = bo.TieneEstabilizadores;
            this.vista.tieneZapata          = bo.TieneZapata;
            this.vista.tieneBoteTrasero     = bo.TieneBoteTrasero;
            this.vista.tieneBoteDelantero   = bo.TieneBoteDelantero;
            this.vista.tieneBrazoPluma      = bo.TieneBrazoPluma;
            this.vista.tieneContrapeso      = bo.TieneContrapeso;
            this.vista.tieneVastagos        = bo.TieneVastagos;
            this.vista.tieneTensionCadena   = bo.TieneTensionCadena;

            this.vista.tieneNivelesFluidos            = bo.TieneNivelesFluidos;
            this.vista.tieneSistemaRemolque           = bo.TieneSistemaRemolque;
            this.vista.tieneEnsamblajeRueda           = bo.TieneEnsamblajeRueda;
            this.vista.tieneEstructuraChasis          = bo.TieneEstructuraChasis;
            this.vista.tienePintura                   = bo.TienePintura;
            this.vista.tieneLlantas                   = bo.TieneLlantas;
            this.vista.tieneSistemaVibratorio         = bo.TieneSistemaVibratorio;
            this.vista.tieneZapataRodillo             = bo.TieneZapataRodillo;
            this.vista.tieneAsientoOperador           = bo.TieneAsientoOperador;
            this.vista.tieneEspejoRetrovisor          = bo.TieneEspejoRetrovisor;
            this.vista.tienePalancaControl            = bo.TienePalancaControl;
            this.vista.tieneTableroInstrumentos       = bo.TieneTableroInstrumentos;
            this.vista.tieneMoldurasTolvas            = bo.TieneMoldurasTolvas;
            this.vista.tieneAireAcondicionado         = bo.TieneAireAcondicionado;
            this.vista.tieneCristalesLaterales        = bo.TieneCristalesLaterales;
            this.vista.tienePanoramico                = bo.TienePanoramico;
            this.vista.tienePuertasCerraduras         = bo.TienePuertasCerraduras;
            this.vista.tieneCofreMotor                = bo.TieneCofreMotor;
            this.vista.tieneParrillaRadiador          = bo.TieneParrillaRadiador;
            this.vista.tieneAlarmaMovimiento          = bo.TieneAlarmaMovimiento;
            this.vista.tieneEstereo                   = bo.TieneEstereo;
            this.vista.tieneVentiladorElectrico       = bo.TieneVentiladorElectrico;
            this.vista.tieneIndicadoresInterruptores  = bo.TieneIndicadoresInterruptores;
            this.vista.tienePinturaEP                 = bo.TienePinturaEP;
            this.vista.tieneKitMartillo               = bo.TieneKitMartillo;
            this.vista.tieneCentralEngrane            = bo.TieneCentralEngrane;
            this.vista.tieneAmperimetro               = bo.TieneAmperimetro;
            this.vista.tieneVoltimetro                = bo.TieneVoltimetro;
            this.vista.tieneHorometro                 = bo.TieneHorometro;
            this.vista.tieneFrecuentometro            = bo.TieneFrecuentometro;
            this.vista.tieneInterruptorTermomagnetico = bo.TieneInterruptorTermomagnetico;
            this.vista.tieneManometroPresion          = bo.TieneManometroPresion;
            this.vista.tieneTipoVoltaje               = bo.TieneTipoVoltaje;
            this.vista.tieneLamparas                  = bo.TieneLamparas;
            this.vista.tieneFuncionamiento            = bo.TieneFuncionamiento;
            this.vista.comentariosGenerales           = bo.ComentariosGenerales;
        }
 public void Registrar()
 {
     ListadoVerificacionSubArrendadoBO bo = (ListadoVerificacionSubArrendadoBO)this.InterfazUsuarioADato();
 }
        public object InterfazUsuarioADato()
        {
            ListadoVerificacionSubArrendadoBO bo = new ListadoVerificacionSubArrendadoBO();

            if (this.vista.tieneNivelesFluido.HasValue)
            {
                bo.TieneNivelesFluido = this.vista.tieneNivelesFluido.Value;
            }
            if (this.vista.tieneTapaFluidos.HasValue)
            {
                bo.TieneTapaFluidos = this.vista.tieneTapaFluidos.Value;
            }
            if (this.vista.tieneSistemaElectrico.HasValue)
            {
                bo.TieneSistemaElectrico = this.vista.tieneSistemaElectrico.Value;
            }
            if (this.vista.tieneFarosTraseros.HasValue)
            {
                bo.TieneFarosTraseros = this.vista.tieneFarosTraseros.Value;
            }
            if (this.vista.tieneFarosDelanteros.HasValue)
            {
                bo.TieneFarosDelanteros = this.vista.tieneFarosDelanteros.Value;
            }
            if (this.vista.tieneCuartosDireccionales.HasValue)
            {
                bo.TieneCuartosDireccionales = this.vista.tieneCuartosDireccionales.Value;
            }
            if (this.vista.tieneLimpiaparabrisas.HasValue)
            {
                bo.TieneLimpiaparabrisas = this.vista.tieneLimpiaparabrisas.Value;
            }
            if (this.vista.tieneBateria.HasValue)
            {
                bo.TieneBateria = this.vista.tieneBateria.Value;
            }
            if (this.vista.tieneChasis.HasValue)
            {
                bo.TieneChasis = this.vista.tieneChasis.Value;
            }
            if (this.vista.tieneEstabilizadores.HasValue)
            {
                bo.TieneEstabilizadores = this.vista.tieneEstabilizadores.Value;
            }
            if (this.vista.tieneZapata.HasValue)
            {
                bo.TieneZapata = this.vista.tieneZapata.Value;
            }
            if (this.vista.tieneBoteTrasero.HasValue)
            {
                bo.TieneBoteTrasero = this.vista.tieneBoteTrasero.Value;
            }
            if (this.vista.tieneBoteDelantero.HasValue)
            {
                bo.TieneBoteDelantero = this.vista.tieneBoteDelantero.Value;
            }
            if (this.vista.tieneBrazoPluma.HasValue)
            {
                bo.TieneBrazoPluma = this.vista.tieneBrazoPluma.Value;
            }
            if (this.vista.tieneContrapeso.HasValue)
            {
                bo.TieneContrapeso = this.vista.tieneContrapeso.Value;
            }
            if (this.vista.tieneVastagos.HasValue)
            {
                bo.TieneVastagos = this.vista.tieneVastagos.Value;
            }
            if (this.vista.tieneTensionCadena.HasValue)
            {
                bo.TieneTensionCadena = this.vista.tieneTensionCadena.Value;
            }
            if (this.vista.tieneNivelesFluidos.HasValue)
            {
                bo.TieneNivelesFluidos = this.vista.tieneNivelesFluidos.Value;
            }
            if (this.vista.tieneSistemaRemolque.HasValue)
            {
                bo.TieneSistemaRemolque = this.vista.tieneSistemaRemolque.Value;
            }
            if (this.vista.tieneEnsamblajeRueda.HasValue)
            {
                bo.TieneEnsamblajeRueda = this.vista.tieneEnsamblajeRueda.Value;
            }
            if (this.vista.tieneEstructuraChasis.HasValue)
            {
                bo.TieneEstructuraChasis = this.vista.tieneEstructuraChasis.Value;
            }
            if (this.vista.tienePintura.HasValue)
            {
                bo.TienePintura = this.vista.tienePintura.Value;
            }
            if (this.vista.tieneLlantas.HasValue)
            {
                bo.TieneLlantas = this.vista.tieneLlantas.Value;
            }
            if (this.vista.tieneSistemaVibratorio.HasValue)
            {
                bo.TieneSistemaVibratorio = this.vista.tieneSistemaVibratorio.Value;
            }
            if (this.vista.tieneZapataRodillo.HasValue)
            {
                bo.TieneZapataRodillo = this.vista.tieneZapataRodillo.Value;
            }
            if (this.vista.tieneAsientoOperador.HasValue)
            {
                bo.TieneAsientoOperador = this.vista.tieneAsientoOperador.Value;
            }
            if (this.vista.tieneEspejoRetrovisor.HasValue)
            {
                bo.TieneEspejoRetrovisor = this.vista.tieneEspejoRetrovisor.Value;
            }
            if (this.vista.tienePalancaControl.HasValue)
            {
                bo.TienePalancaControl = this.vista.tienePalancaControl.Value;
            }
            if (this.vista.tieneTableroInstrumentos.HasValue)
            {
                bo.TieneTableroInstrumentos = this.vista.tieneTableroInstrumentos.Value;
            }
            if (this.vista.tieneMoldurasTolvas.HasValue)
            {
                bo.TieneMoldurasTolvas = this.vista.tieneMoldurasTolvas.Value;
            }
            if (this.vista.tieneAireAcondicionado.HasValue)
            {
                bo.TieneAireAcondicionado = this.vista.tieneAireAcondicionado.Value;
            }
            if (this.vista.tieneCristalesLaterales.HasValue)
            {
                bo.TieneCristalesLaterales = this.vista.tieneCristalesLaterales.Value;
            }
            if (this.vista.tienePanoramico.HasValue)
            {
                bo.TienePanoramico = this.vista.tienePanoramico.Value;
            }
            if (this.vista.tienePuertasCerraduras.HasValue)
            {
                bo.TienePuertasCerraduras = vista.tienePuertasCerraduras.Value;
            }
            if (this.vista.tieneCofreMotor.HasValue)
            {
                bo.TieneCofreMotor = vista.tieneCofreMotor.Value;
            }
            if (this.vista.tieneParrillaRadiador.HasValue)
            {
                bo.TieneParrillaRadiador = vista.tieneParrillaRadiador.Value;
            }
            if (this.vista.tieneAlarmaMovimiento.HasValue)
            {
                bo.TieneAlarmaMovimiento = vista.tieneAlarmaMovimiento.Value;
            }
            if (this.vista.tieneEstereo.HasValue)
            {
                bo.TieneEstereo = vista.tieneEstereo.Value;
            }
            if (this.vista.tieneVentiladorElectrico.HasValue)
            {
                bo.TieneVentiladorElectrico = vista.tieneVentiladorElectrico.Value;
            }
            if (this.vista.tieneIndicadoresInterruptores.HasValue)
            {
                bo.TieneIndicadoresInterruptores = vista.tieneIndicadoresInterruptores.Value;
            }
            if (this.vista.tienePinturaEP.HasValue)
            {
                bo.TienePinturaEP = vista.tienePinturaEP.Value;
            }
            if (this.vista.tieneKitMartillo.HasValue)
            {
                bo.TieneKitMartillo = vista.tieneKitMartillo.Value;
            }
            if (this.vista.tieneCentralEngrane.HasValue)
            {
                bo.TieneCentralEngrane = vista.tieneCentralEngrane.Value;
            }
            if (this.vista.tieneAmperimetro.HasValue)
            {
                bo.TieneAmperimetro = vista.tieneAmperimetro.Value;
            }
            if (this.vista.tieneVoltimetro.HasValue)
            {
                bo.TieneVoltimetro = vista.tieneVoltimetro.Value;
            }
            if (this.vista.tieneHorometro.HasValue)
            {
                bo.TieneHorometro = vista.tieneHorometro.Value;
            }
            if (this.vista.tieneFrecuentometro.HasValue)
            {
                bo.TieneFrecuentometro = vista.tieneFrecuentometro.Value;
            }
            if (this.vista.tieneInterruptorTermomagnetico.HasValue)
            {
                bo.TieneInterruptorTermomagnetico = vista.tieneInterruptorTermomagnetico.Value;
            }
            if (this.vista.tieneManometroPresion.HasValue)
            {
                bo.TieneManometroPresion = vista.tieneManometroPresion.Value;
            }
            if (this.vista.tieneTipoVoltaje.HasValue)
            {
                bo.TieneTipoVoltaje = vista.tieneTipoVoltaje.Value;
            }
            if (this.vista.tieneLamparas.HasValue)
            {
                bo.TieneLamparas = vista.tieneLamparas.Value;
            }
            if (this.vista.tieneFuncionamiento.HasValue)
            {
                bo.TieneFuncionamiento = vista.tieneFuncionamiento.Value;
            }
            if (!string.IsNullOrEmpty(this.vista.comentariosGenerales))
            {
                bo.ComentariosGenerales = this.vista.comentariosGenerales;
            }

            return(bo);
        }