/// <summary>
 /// 编辑
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Btn_Change_Click(object sender, RoutedEventArgs e)
 {
     if (dgv_1.SelectedItem == null)
     {
         MessageBox.Show("请先选中一条数据!");
     }
     else
     {
         Station             id = (Station)dgv_1.SelectedItem;
         WinStationAddOrEdit winStationAddOrEdit = new WinStationAddOrEdit(id.Id);
         winStationAddOrEdit.ShowDialog();
         Query();
     }
 }
        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void BtnAdd_Click(object sender, RoutedEventArgs e)
        {
            WinStationAddOrEdit winStationAddOrEdit = new WinStationAddOrEdit(null);

            winStationAddOrEdit.ShowDialog();
        }