public override void Insert()
 {
     AlarmLevelSetEditView _sta = new AlarmLevelSetEditView(this);
     _sta.Owner = Global._MainWindow;
     _sta.ShowDialog();
 }
 public override void Update(object par)
 {
     if (par is AlarmLevelSetOR)
     {
         AlarmLevelSetEditView _sta = new AlarmLevelSetEditView(this, par as AlarmLevelSetOR);
         _sta.Owner = Global._MainWindow;
         _sta.ShowDialog();
     }
 }