Ejemplo n.º 1
0
        public Demandes(
            EnumTypeDemande Type,
            string NumeroDossier, string Client,
            string Data, string XmlNormalise)
        {
            // This Object
            this.Type          = Type;
            this.NumeroDossier = NumeroDossier;
            this.Client        = Client;

            // Inspection Data Object
            switch (Type)
            {
            case EnumTypeDemande.Inspection:
                this.Data = new DemandeDataInspection(Data, XmlNormalise);
                break;

            case EnumTypeDemande.EspacesLocatifs:
                this.Data = new DemandeDataEspacesLocatifs(Data, XmlNormalise);
                break;

            case EnumTypeDemande.RevenusDepenses:
                this.Data = new DemandeDataRevenusDepenses(Data, XmlNormalise);
                break;
            }
        }
Ejemplo n.º 2
0
        public Demande(
            EnumTypeDemande Type,
            string UE_NoDossier, string Client,
            string Data, string XmlNormalise)
        {
            // This Object
            this.Type         = Type;
            this.UE_NoDossier = UE_NoDossier;
            this.Client       = Client;

            // Inspection Data Object
            this.Inspection = new InpsectionData(Data, XmlNormalise);
        }