using System.Windows;
using HC_APTBS.ViewModels.Dialogs;
namespace HC_APTBS.Views.Dialogs
{
///
/// Confirmation dialog shown before activating the oil pump relay.
/// Equivalent to the old WAcceptOilTurnOn.
///
public partial class OilPumpConfirmDialog : Window
{
/// Creates the dialog and wires the ViewModel.
public OilPumpConfirmDialog(OilPumpConfirmViewModel vm)
{
InitializeComponent();
DataContext = vm;
vm.RequestClose += Close;
}
}
}