Пример #1
0
 public ApertureOptions(Database db)
 {
     TypesBlock = new Dictionary <string, Type>()
     {
         { Blocks.DoorBlock.BlockName, typeof(Blocks.DoorBlock) },
         { Blocks.WindowBlock.BlockName, typeof(Blocks.WindowBlock) }
     };
     TableService = new OpeningService(db);
 }
Пример #2
0
 public WallOptions(Database db)
 {
     TypesBlock = new Dictionary <string, Type>()
     {
         { Blocks.WallOpeningBlock.BlockName, typeof(Blocks.WallOpeningBlock) },
         { Blocks.WallSleeveBlock.BlockName, typeof(Blocks.WallSleeveBlock) }
     };
     TableService = new OpeningService(db);
     // Групповая спецификация для Гильз
     OtherTableService = new List <ITableService>();
     OtherTableService.Add(new SpecGroup.SpecGroupService(db));
 }