终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

37 lines
961 B

  1. using BPASmart.Model;
  2. using BPA.Helper;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.Windows;
  9. using System.Windows.Controls;
  10. using System.Windows.Data;
  11. using System.Windows.Documents;
  12. using System.Windows.Input;
  13. using System.Windows.Media;
  14. using System.Windows.Media.Imaging;
  15. using System.Windows.Navigation;
  16. using System.Windows.Shapes;
  17. namespace BPASmart.VariableManager.Views
  18. {
  19. /// <summary>
  20. /// CommunicationSetView.xaml 的交互逻辑
  21. /// </summary>
  22. public partial class CommunicationSetView : UserControl
  23. {
  24. public CommunicationSetView()
  25. {
  26. InitializeComponent();
  27. this.Unloaded += CommunicationSetView_Unloaded;
  28. }
  29. private void CommunicationSetView_Unloaded(object sender, RoutedEventArgs e)
  30. {
  31. Json<CommunicationPar>.Save(FileConfigModel.VarConfigPath);
  32. }
  33. }
  34. }