using System.Windows; using ErvDashboard.Model; namespace ErvDashboard { // 풍량 VSP 팝업 (환기1~4 / 바이패스 / 공청1~4 SA·EA 편집) public partial class VspWindow : Window { readonly MainWindow _owner; public VspWindow(MainWindow owner, DashboardState state) { InitializeComponent(); _owner = owner; DataContext = state; } void Apply_Click(object sender, RoutedEventArgs e) => _owner.ApplyVsp(); void Close_Click(object sender, RoutedEventArgs e) => Close(); } }