using SCADA.CommonCtrl.WpfControl; using SCADA_DAQ.Customer.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace SCADA_DAQ.Customer { /// /// UctFrmParameterSet.xaml 的交互逻辑 /// [UctMenu("参数设置", Icon = "设置")] public partial class UctFrmParameterSet : BaseUctFrm { /// /// /// public UctFrmParameterSet() { InitializeComponent(); ToolBar.Visibility = Visibility.Collapsed; Gp_Config.Content = new AutoView( CustomerEnv.CustomerConfig, nameof(CustomerConfig.BatchSize), nameof(CustomerConfig.SyncCycle)); //Gp_Config.Content = new AutoView( // CustomerEnv.CustomerConfig, // nameof(CustomerConfig.BatchSize), // nameof(CustomerConfig.SyncCycle), // nameof(CustomerConfig.SyncCycle)) //{ // MaxTitleWidth = 120, // ChildBorderBrush = Brushes.Gray, // ChildMargin=new Thickness(12,8,12,8), // ChildBorderThickness = new Thickness(1), // TitleBackground = Brushes.LightGray, // ContentBackground = Brushes.LightBlue, //}; } } }