
using Panuon.WPF.UI;
using SWRIS.Models;
using System.Collections.ObjectModel;
using System.Windows.Markup;

namespace SWRIS.Pages
{
    /// <summary>
    /// DamagesDialog.xaml 的交互逻辑
    /// </summary>
    public partial class DamagesDialog : WindowX, IComponentConnector
    {
        public ObservableCollection<AlarmDataModel> Alarms { get; set; }
        public DamagesDialog(ObservableCollection<AlarmDataModel> alarms)
        {
            InitializeComponent();
            Alarms = alarms;
            DataContext = this;
        }

        private void Closed_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            DialogResult = false;
        }
    }
}
