AITGasValve.g.cs 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. #pragma checksum "..\..\..\DeviceControl\AITGasValve.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A4E4714AF98893E5DEFD7DB7B8CADF37E97C63D7FB0B0355323440C2655302E1"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // 此代码由工具生成。
  5. // 运行时版本:4.0.30319.42000
  6. //
  7. // 对此文件的更改可能会导致不正确的行为,并且如果
  8. // 重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using Aitex.Core.UI.Converters;
  12. using System;
  13. using System.Diagnostics;
  14. using System.Windows;
  15. using System.Windows.Automation;
  16. using System.Windows.Controls;
  17. using System.Windows.Controls.Primitives;
  18. using System.Windows.Data;
  19. using System.Windows.Documents;
  20. using System.Windows.Forms.Integration;
  21. using System.Windows.Ink;
  22. using System.Windows.Input;
  23. using System.Windows.Markup;
  24. using System.Windows.Media;
  25. using System.Windows.Media.Animation;
  26. using System.Windows.Media.Effects;
  27. using System.Windows.Media.Imaging;
  28. using System.Windows.Media.Media3D;
  29. using System.Windows.Media.TextFormatting;
  30. using System.Windows.Navigation;
  31. using System.Windows.Shapes;
  32. using System.Windows.Shell;
  33. namespace Aitex.Core.UI.DeviceControl {
  34. /// <summary>
  35. /// AITGasValve
  36. /// </summary>
  37. public partial class AITGasValve : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
  38. #line 11 "..\..\..\DeviceControl\AITGasValve.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal Aitex.Core.UI.DeviceControl.AITGasValve GasValve;
  41. #line default
  42. #line hidden
  43. #line 50 "..\..\..\DeviceControl\AITGasValve.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Media.RotateTransform rotateTransform;
  46. #line default
  47. #line hidden
  48. #line 56 "..\..\..\DeviceControl\AITGasValve.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.Image imgValveOpen;
  51. #line default
  52. #line hidden
  53. #line 57 "..\..\..\DeviceControl\AITGasValve.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.Image imgValveClose;
  56. #line default
  57. #line hidden
  58. #line 59 "..\..\..\DeviceControl\AITGasValve.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Controls.TextBlock ValveName;
  61. #line default
  62. #line hidden
  63. private bool _contentLoaded;
  64. /// <summary>
  65. /// InitializeComponent
  66. /// </summary>
  67. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  68. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  69. public void InitializeComponent() {
  70. if (_contentLoaded) {
  71. return;
  72. }
  73. _contentLoaded = true;
  74. System.Uri resourceLocater = new System.Uri("/MECF.Framework.UI.Core;component/devicecontrol/aitgasvalve.xaml", System.UriKind.Relative);
  75. #line 1 "..\..\..\DeviceControl\AITGasValve.xaml"
  76. System.Windows.Application.LoadComponent(this, resourceLocater);
  77. #line default
  78. #line hidden
  79. }
  80. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  81. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  82. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  84. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  85. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  86. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  87. switch (connectionId)
  88. {
  89. case 1:
  90. this.GasValve = ((Aitex.Core.UI.DeviceControl.AITGasValve)(target));
  91. #line 9 "..\..\..\DeviceControl\AITGasValve.xaml"
  92. this.GasValve.Loaded += new System.Windows.RoutedEventHandler(this.AITGasValve_OnLoaded);
  93. #line default
  94. #line hidden
  95. return;
  96. case 2:
  97. this.rotateTransform = ((System.Windows.Media.RotateTransform)(target));
  98. return;
  99. case 3:
  100. #line 53 "..\..\..\DeviceControl\AITGasValve.xaml"
  101. ((System.Windows.Controls.Grid)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.imgValveClose_MouseLeftButtonUp);
  102. #line default
  103. #line hidden
  104. #line 53 "..\..\..\DeviceControl\AITGasValve.xaml"
  105. ((System.Windows.Controls.Grid)(target)).TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.imgValve_TouchUp);
  106. #line default
  107. #line hidden
  108. return;
  109. case 4:
  110. this.imgValveOpen = ((System.Windows.Controls.Image)(target));
  111. return;
  112. case 5:
  113. this.imgValveClose = ((System.Windows.Controls.Image)(target));
  114. return;
  115. case 6:
  116. this.ValveName = ((System.Windows.Controls.TextBlock)(target));
  117. return;
  118. }
  119. this._contentLoaded = true;
  120. }
  121. }
  122. }