Ejemplo n.º 1
0
        public static Unea_DetailCompany2 LoadCompany(string url, bool reload = false, bool loadImage = false)
        {
            Unea_LoadDetailCompany2 load = new Unea_LoadDetailCompany2(url);

            load.Load(reload, loadImage);
            return(load.Data);
        }
Ejemplo n.º 2
0
        public static Unea_Company LoadDetailCompany(Unea_HeaderCompany header, bool reload = false, bool loadImage = false)
        {
            Unea_DetailCompany1 detail1 = Unea_LoadDetailCompany1.LoadCompany(header.urlDetail1, reload, loadImage);
            Unea_DetailCompany2 detail2 = Unea_LoadDetailCompany2.LoadCompany(header.urlDetail2, reload, loadImage);
            Unea_Company        company = AggregateCompanyData(header, detail1, detail2);

            AggregateDuplicateData(company);
            return(company);
        }
Ejemplo n.º 3
0
 public static void Init()
 {
     Unea_LoadHeaderFromWeb.ClassInit(XmlConfig.CurrentConfig.GetElement("Unea/Header"));
     Unea_LoadHeader.ClassInit(XmlConfig.CurrentConfig.GetElement("Unea/Header"));
     Unea_LoadDetailCompany1FromWeb.ClassInit(XmlConfig.CurrentConfig.GetElement("Unea/DetailCompany1"));
     Unea_LoadDetailCompany1.ClassInit(XmlConfig.CurrentConfig.GetElement("Unea/DetailCompany1"));
     Unea_LoadDetailCompany2FromWeb.ClassInit(XmlConfig.CurrentConfig.GetElement("Unea/DetailCompany2"));
     Unea_LoadDetailCompany2.ClassInit(XmlConfig.CurrentConfig.GetElement("Unea/DetailCompany2"));
     __xmlCompanyListFile       = XmlConfig.CurrentConfig.GetExplicit("Unea/Xml/XmlCompanyListFile");
     __xmlDetailCompanyListFile = XmlConfig.CurrentConfig.GetExplicit("Unea/Xml/XmlDetailCompanyListFile");
 }