UctFrmParameterSet.xaml.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using SCADA.CommonCtrl.WpfControl;
  2. using SCADA_DAQ.Customer.Models;
  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 SCADA_DAQ.Customer
  18. {
  19. /// <summary>
  20. /// UctFrmParameterSet.xaml 的交互逻辑
  21. /// </summary>
  22. [UctMenu("参数设置", Icon = "设置")]
  23. public partial class UctFrmParameterSet : BaseUctFrm
  24. {
  25. /// <summary>
  26. ///
  27. /// </summary>
  28. public UctFrmParameterSet()
  29. {
  30. InitializeComponent();
  31. ToolBar.Visibility = Visibility.Collapsed;
  32. Gp_Config.Content = new AutoView(
  33. CustomerEnv.CustomerConfig,
  34. nameof(CustomerConfig.BatchSize),
  35. nameof(CustomerConfig.SyncCycle));
  36. //Gp_Config.Content = new AutoView(
  37. // CustomerEnv.CustomerConfig,
  38. // nameof(CustomerConfig.BatchSize),
  39. // nameof(CustomerConfig.SyncCycle),
  40. // nameof(CustomerConfig.SyncCycle))
  41. //{
  42. // MaxTitleWidth = 120,
  43. // ChildBorderBrush = Brushes.Gray,
  44. // ChildMargin=new Thickness(12,8,12,8),
  45. // ChildBorderThickness = new Thickness(1),
  46. // TitleBackground = Brushes.LightGray,
  47. // ContentBackground = Brushes.LightBlue,
  48. //};
  49. }
  50. }
  51. }