12069efb8683e004424cbb544b3c71980b0216d97cf00b5df2f644eae89b6c8f.source 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. #pragma checksum "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "81A7F0A3E7A109C3AC1E154ABD1DB1B876AD6C64"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // 此代码由工具生成。
  5. // 运行时版本:4.0.30319.42000
  6. //
  7. // 对此文件的更改可能会导致不正确的行为,并且如果
  8. // 重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using System;
  12. using System.Diagnostics;
  13. using System.Windows;
  14. using System.Windows.Automation;
  15. using System.Windows.Controls;
  16. using System.Windows.Controls.Primitives;
  17. using System.Windows.Controls.Ribbon;
  18. using System.Windows.Data;
  19. using System.Windows.Documents;
  20. using System.Windows.Ink;
  21. using System.Windows.Input;
  22. using System.Windows.Markup;
  23. using System.Windows.Media;
  24. using System.Windows.Media.Animation;
  25. using System.Windows.Media.Effects;
  26. using System.Windows.Media.Imaging;
  27. using System.Windows.Media.Media3D;
  28. using System.Windows.Media.TextFormatting;
  29. using System.Windows.Navigation;
  30. using System.Windows.Shapes;
  31. using System.Windows.Shell;
  32. using TeamAAS.Localization;
  33. namespace TeamAAS.Communication.UI {
  34. /// <summary>
  35. /// DefaultCommunicationDebugPage
  36. /// </summary>
  37. public partial class DefaultCommunicationDebugPage : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
  38. #line 11 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal System.Windows.Controls.Border PlcPanel;
  41. #line default
  42. #line hidden
  43. #line 21 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Controls.TextBox TxtAddress;
  46. #line default
  47. #line hidden
  48. #line 30 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.ComboBox TypeCombo;
  51. #line default
  52. #line hidden
  53. #line 32 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.TextBox TxtLength;
  56. #line default
  57. #line hidden
  58. #line 34 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Controls.TextBox TxtWriteValue;
  61. #line default
  62. #line hidden
  63. #line 40 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  64. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  65. internal System.Windows.Controls.Border TextPanel;
  66. #line default
  67. #line hidden
  68. #line 54 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  69. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  70. internal System.Windows.Controls.TextBox TxtSend;
  71. #line default
  72. #line hidden
  73. #line 61 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  74. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  75. internal System.Windows.Controls.ListBox LogList;
  76. #line default
  77. #line hidden
  78. private bool _contentLoaded;
  79. /// <summary>
  80. /// InitializeComponent
  81. /// </summary>
  82. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  83. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  84. public void InitializeComponent() {
  85. if (_contentLoaded) {
  86. return;
  87. }
  88. _contentLoaded = true;
  89. System.Uri resourceLocater = new System.Uri("/TeamAAS.Communication;component/ui/defaultcommunicationdebugpage.xaml", System.UriKind.Relative);
  90. #line 1 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  91. System.Windows.Application.LoadComponent(this, resourceLocater);
  92. #line default
  93. #line hidden
  94. }
  95. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  96. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  97. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  98. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  99. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  100. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  101. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  102. switch (connectionId)
  103. {
  104. case 1:
  105. this.PlcPanel = ((System.Windows.Controls.Border)(target));
  106. return;
  107. case 2:
  108. this.TxtAddress = ((System.Windows.Controls.TextBox)(target));
  109. return;
  110. case 3:
  111. #line 24 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  112. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnRead_Click);
  113. #line default
  114. #line hidden
  115. return;
  116. case 4:
  117. #line 25 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  118. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnWrite_Click);
  119. #line default
  120. #line hidden
  121. return;
  122. case 5:
  123. this.TypeCombo = ((System.Windows.Controls.ComboBox)(target));
  124. return;
  125. case 6:
  126. this.TxtLength = ((System.Windows.Controls.TextBox)(target));
  127. return;
  128. case 7:
  129. this.TxtWriteValue = ((System.Windows.Controls.TextBox)(target));
  130. return;
  131. case 8:
  132. this.TextPanel = ((System.Windows.Controls.Border)(target));
  133. return;
  134. case 9:
  135. #line 53 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  136. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnSend_Click);
  137. #line default
  138. #line hidden
  139. return;
  140. case 10:
  141. this.TxtSend = ((System.Windows.Controls.TextBox)(target));
  142. return;
  143. case 11:
  144. this.LogList = ((System.Windows.Controls.ListBox)(target));
  145. #line 63 "..\..\..\..\UI\DefaultCommunicationDebugPage.xaml"
  146. this.LogList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.LogList_MouseDoubleClick);
  147. #line default
  148. #line hidden
  149. return;
  150. }
  151. this._contentLoaded = true;
  152. }
  153. }
  154. }