Пример #1
0
        private static void ImportRules(FeaturesContext db, DBBuffer buffer, Dictionary <string, int> dictLicenses, Paths Paths, string LogXml2DB)
        {
            db.readLogModLicRules(buffer, dictLicenses, Paths, LogXml2DB);                     // Rules from license manager
            db.ImportProbesWithRules(buffer, Paths, LogXml2DB);                                // import Probes and probe rules

            db.BulkInsert(Uirule.ImportOptionProbes(buffer, Paths, LogXml2DB));                // probe option associations
            db.BulkInsert(Uirule.ImportVersionRules(buffer, Paths, LogXml2DB));                // versions Rules
            ImportRegulatoryFeatures(db, buffer, Paths, LogXml2DB);

            db.BulkInsert(Uirule.ImportRegulatoryRules(buffer, Paths, LogXml2DB));                // Regulatory blocks for country
            db.BulkInsert(Uirule.ImportRDBlockingRules(buffer, Paths, LogXml2DB));                // R&D blocks for country
        }