예제 #1
0
        // Adds a new ventilationaggregate and calls to make a VM model for it, then adds it to list of ventilationaggregates
        public void AddVentilationAggregate(string fileName)
        {
            var agg = new VMVentilationAggregate(ct.AddVentilationAggregate());

            _selectedVMVentilationAggregate          = agg;
            _selectedVMVentilationAggregate.FileName = fileName;
            //_selectedVMBuilding.AddVentilationAggregate(_selectedVMVentilationAggregate);
        }
예제 #2
0
 // Add a ventilation aggregate to the building
 public void AddVentilationAggregate(VMVentilationAggregate aggregateVM)
 {
     _ventilationAggregatesVM.Add(aggregateVM);
 }