// 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); }
// Add a ventilation aggregate to the building public void AddVentilationAggregate(VMVentilationAggregate aggregateVM) { _ventilationAggregatesVM.Add(aggregateVM); }