| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- #pragma checksum "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "81A7F0A3E7A109C3AC1E154ABD1DB1B876AD6C64"
- //------------------------------------------------------------------------------
- // <auto-generated>
- // 此代码由工具生成。
- // 运行时版本:4.0.30319.42000
- //
- // 对此文件的更改可能会导致不正确的行为,并且如果
- // 重新生成代码,这些更改将会丢失。
- // </auto-generated>
- //------------------------------------------------------------------------------
- using System;
- using System.Diagnostics;
- using System.Windows;
- using System.Windows.Automation;
- using System.Windows.Controls;
- using System.Windows.Controls.Primitives;
- using System.Windows.Controls.Ribbon;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Ink;
- using System.Windows.Input;
- using System.Windows.Markup;
- using System.Windows.Media;
- using System.Windows.Media.Animation;
- using System.Windows.Media.Effects;
- using System.Windows.Media.Imaging;
- using System.Windows.Media.Media3D;
- using System.Windows.Media.TextFormatting;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- using System.Windows.Shell;
- using TeamAAS.Localization;
- namespace TeamAAS.Communication.UI {
-
-
- /// <summary>
- /// DefaultCommunicationDebugPage
- /// </summary>
- public partial class DefaultCommunicationDebugPage : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
-
-
- #line 11 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Border PlcPanel;
-
- #line default
- #line hidden
-
-
- #line 21 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox TxtAddress;
-
- #line default
- #line hidden
-
-
- #line 30 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ComboBox TypeCombo;
-
- #line default
- #line hidden
-
-
- #line 32 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox TxtLength;
-
- #line default
- #line hidden
-
-
- #line 34 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox TxtWriteValue;
-
- #line default
- #line hidden
-
-
- #line 40 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Border TextPanel;
-
- #line default
- #line hidden
-
-
- #line 54 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBox TxtSend;
-
- #line default
- #line hidden
-
-
- #line 61 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.ListBox LogList;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- /// <summary>
- /// InitializeComponent
- /// </summary>
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/TeamAAS.Communication;component/ui/defaultcommunicationdebugpage.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this.PlcPanel = ((System.Windows.Controls.Border)(target));
- return;
- case 2:
- this.TxtAddress = ((System.Windows.Controls.TextBox)(target));
- return;
- case 3:
-
- #line 24 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnRead_Click);
-
- #line default
- #line hidden
- return;
- case 4:
-
- #line 25 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnWrite_Click);
-
- #line default
- #line hidden
- return;
- case 5:
- this.TypeCombo = ((System.Windows.Controls.ComboBox)(target));
- return;
- case 6:
- this.TxtLength = ((System.Windows.Controls.TextBox)(target));
- return;
- case 7:
- this.TxtWriteValue = ((System.Windows.Controls.TextBox)(target));
- return;
- case 8:
- this.TextPanel = ((System.Windows.Controls.Border)(target));
- return;
- case 9:
-
- #line 53 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnSend_Click);
-
- #line default
- #line hidden
- return;
- case 10:
- this.TxtSend = ((System.Windows.Controls.TextBox)(target));
- return;
- case 11:
- this.LogList = ((System.Windows.Controls.ListBox)(target));
-
- #line 63 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
- this.LogList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.LogList_MouseDoubleClick);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
- }
|