Exemple #1
0
        /*
         * internal bool blaklist(NonAddresseS2 nonAddresseS)
         * {
         *  //            this.TGs.emplacement.Contains(x => x.);
         *  return TGs.emplacement.Contains(new TG.Doubleint { rayon = nonAddresseS.Alle, trave = nonAddresseS.Trave });
         * }*/

        private Parameters()
        {
            this.prod   = new Prod();
            this.TGs    = new TG();
            this.ps     = new LisSecteur();
            this.emag   = new Emag();
            this.client = new ClientPar();
        }
Exemple #2
0
            public string SetSec(int rayon)
            {
                LisSecteur s1 = new LisSecteur();

                foreach (Defrayon sec in s1.secteurs)
                {
                    if (sec.rayon.Contains("" + rayon))
                    {
                        return(sec.nom);
                    }
                }
                return("NA");
            }