From 30db79c7f5df4b7912877a84080cfcb84ba123dc Mon Sep 17 00:00:00 2001 From: fyf Date: Tue, 27 Sep 2022 11:13:43 +0800 Subject: [PATCH] 1 --- BeDesignerSCADA/Common/PropertyHelper.cs | 2 +- BeDesignerSCADA/Controls/MainCanvasPanel.xaml | 63 ++++++++++--------- .../Controls/MainCanvasPanel.xaml.cs | 6 +- 3 files changed, 39 insertions(+), 32 deletions(-) diff --git a/BeDesignerSCADA/Common/PropertyHelper.cs b/BeDesignerSCADA/Common/PropertyHelper.cs index 8c53c96e..b82d5b8a 100644 --- a/BeDesignerSCADA/Common/PropertyHelper.cs +++ b/BeDesignerSCADA/Common/PropertyHelper.cs @@ -20,7 +20,7 @@ namespace BeDesignerSCADA.Common "IsChecked", "Value", "CurValue", "StatusValue", "NumberValue", "Text", "Direction","RefreshData", - "ChangedText","Content","SendText" + "ChangedText","Content","SendText","LeftTogIsChecked","RightTogIsChecked" }; public static List GetCustomerControlProperty(List selectItems) { diff --git a/BeDesignerSCADA/Controls/MainCanvasPanel.xaml b/BeDesignerSCADA/Controls/MainCanvasPanel.xaml index 6ecfcbad..44ce8483 100644 --- a/BeDesignerSCADA/Controls/MainCanvasPanel.xaml +++ b/BeDesignerSCADA/Controls/MainCanvasPanel.xaml @@ -148,7 +148,7 @@ - @@ -164,37 +164,40 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - diff --git a/BeDesignerSCADA/Controls/MainCanvasPanel.xaml.cs b/BeDesignerSCADA/Controls/MainCanvasPanel.xaml.cs index 4fdb5130..8d6e6bc4 100644 --- a/BeDesignerSCADA/Controls/MainCanvasPanel.xaml.cs +++ b/BeDesignerSCADA/Controls/MainCanvasPanel.xaml.cs @@ -487,6 +487,7 @@ namespace BeDesignerSCADA.Controls } } + #endregion #region 不需要的 @@ -588,7 +589,10 @@ namespace BeDesignerSCADA.Controls //} #endregion - + private void Slider_ValueChanged(object sender, RoutedPropertyChangedEventArgs e) + { + + } }