75691dff6bc0a383b54f0c684f4390d414288983a5acd52a1d5a60daec11d9ba.source 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. #pragma checksum "..\..\..\..\Views\ImageAcqView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "F6BFCBB6849D64A7BF9D0F563BD25D84B598DDE6"
  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.Camera.UI.Controls;
  33. using TeamAAS.Localization;
  34. namespace Plugins.Standard.Views {
  35. /// <summary>
  36. /// ImageAcqView
  37. /// </summary>
  38. public partial class ImageAcqView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
  39. #line 17 "..\..\..\..\Views\ImageAcqView.xaml"
  40. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  41. internal System.Windows.Controls.TextBlock TxtSourceTag;
  42. #line default
  43. #line hidden
  44. #line 20 "..\..\..\..\Views\ImageAcqView.xaml"
  45. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  46. internal System.Windows.Controls.Button BtnProperties;
  47. #line default
  48. #line hidden
  49. #line 47 "..\..\..\..\Views\ImageAcqView.xaml"
  50. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  51. internal System.Windows.Controls.RadioButton RbCamera;
  52. #line default
  53. #line hidden
  54. #line 50 "..\..\..\..\Views\ImageAcqView.xaml"
  55. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  56. internal System.Windows.Controls.RadioButton RbFile;
  57. #line default
  58. #line hidden
  59. #line 53 "..\..\..\..\Views\ImageAcqView.xaml"
  60. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  61. internal System.Windows.Controls.RadioButton RbDir;
  62. #line default
  63. #line hidden
  64. #line 60 "..\..\..\..\Views\ImageAcqView.xaml"
  65. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  66. internal System.Windows.Controls.GroupBox PanelCamera;
  67. #line default
  68. #line hidden
  69. #line 63 "..\..\..\..\Views\ImageAcqView.xaml"
  70. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  71. internal System.Windows.Controls.ComboBox CmbCamera;
  72. #line default
  73. #line hidden
  74. #line 66 "..\..\..\..\Views\ImageAcqView.xaml"
  75. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  76. internal System.Windows.Controls.ComboBox CmbTrigger;
  77. #line default
  78. #line hidden
  79. #line 68 "..\..\..\..\Views\ImageAcqView.xaml"
  80. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  81. internal System.Windows.Controls.TextBlock TxtTriggerHint;
  82. #line default
  83. #line hidden
  84. #line 72 "..\..\..\..\Views\ImageAcqView.xaml"
  85. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  86. internal System.Windows.Controls.TextBox TxtExposure;
  87. #line default
  88. #line hidden
  89. #line 76 "..\..\..\..\Views\ImageAcqView.xaml"
  90. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  91. internal System.Windows.Controls.TextBox TxtGain;
  92. #line default
  93. #line hidden
  94. #line 80 "..\..\..\..\Views\ImageAcqView.xaml"
  95. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  96. internal System.Windows.Controls.TextBox TxtGamma;
  97. #line default
  98. #line hidden
  99. #line 83 "..\..\..\..\Views\ImageAcqView.xaml"
  100. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  101. internal System.Windows.Controls.CheckBox ChkAutoOpen;
  102. #line default
  103. #line hidden
  104. #line 87 "..\..\..\..\Views\ImageAcqView.xaml"
  105. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  106. internal System.Windows.Controls.Button BtnGrab;
  107. #line default
  108. #line hidden
  109. #line 94 "..\..\..\..\Views\ImageAcqView.xaml"
  110. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  111. internal System.Windows.Controls.GroupBox PanelFile;
  112. #line default
  113. #line hidden
  114. #line 100 "..\..\..\..\Views\ImageAcqView.xaml"
  115. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  116. internal System.Windows.Controls.TextBox TxtImagePath;
  117. #line default
  118. #line hidden
  119. #line 109 "..\..\..\..\Views\ImageAcqView.xaml"
  120. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  121. internal System.Windows.Controls.GroupBox PanelDir;
  122. #line default
  123. #line hidden
  124. #line 115 "..\..\..\..\Views\ImageAcqView.xaml"
  125. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  126. internal System.Windows.Controls.TextBox TxtDirPath;
  127. #line default
  128. #line hidden
  129. #line 118 "..\..\..\..\Views\ImageAcqView.xaml"
  130. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  131. internal System.Windows.Controls.CheckBox ChkCyclic;
  132. #line default
  133. #line hidden
  134. #line 122 "..\..\..\..\Views\ImageAcqView.xaml"
  135. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  136. internal System.Windows.Controls.ListBox LstDirFiles;
  137. #line default
  138. #line hidden
  139. #line 128 "..\..\..\..\Views\ImageAcqView.xaml"
  140. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  141. internal System.Windows.Controls.GroupBox PanelLocalOpts;
  142. #line default
  143. #line hidden
  144. #line 130 "..\..\..\..\Views\ImageAcqView.xaml"
  145. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  146. internal System.Windows.Controls.CheckBox ChkApplyGamma;
  147. #line default
  148. #line hidden
  149. #line 151 "..\..\..\..\Views\ImageAcqView.xaml"
  150. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  151. internal TeamAAS.Camera.UI.Controls.ImageDisplayControl Display;
  152. #line default
  153. #line hidden
  154. #line 154 "..\..\..\..\Views\ImageAcqView.xaml"
  155. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  156. internal System.Windows.Controls.TextBlock TxtInfo;
  157. #line default
  158. #line hidden
  159. private bool _contentLoaded;
  160. /// <summary>
  161. /// InitializeComponent
  162. /// </summary>
  163. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  164. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  165. public void InitializeComponent() {
  166. if (_contentLoaded) {
  167. return;
  168. }
  169. _contentLoaded = true;
  170. System.Uri resourceLocater = new System.Uri("/Plugins.Standard;component/views/imageacqview.xaml", System.UriKind.Relative);
  171. #line 1 "..\..\..\..\Views\ImageAcqView.xaml"
  172. System.Windows.Application.LoadComponent(this, resourceLocater);
  173. #line default
  174. #line hidden
  175. }
  176. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  177. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
  178. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  179. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  180. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  181. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  182. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  183. switch (connectionId)
  184. {
  185. case 1:
  186. this.TxtSourceTag = ((System.Windows.Controls.TextBlock)(target));
  187. return;
  188. case 2:
  189. this.BtnProperties = ((System.Windows.Controls.Button)(target));
  190. #line 24 "..\..\..\..\Views\ImageAcqView.xaml"
  191. this.BtnProperties.Click += new System.Windows.RoutedEventHandler(this.BtnProperties_Click);
  192. #line default
  193. #line hidden
  194. return;
  195. case 3:
  196. this.RbCamera = ((System.Windows.Controls.RadioButton)(target));
  197. #line 48 "..\..\..\..\Views\ImageAcqView.xaml"
  198. this.RbCamera.Click += new System.Windows.RoutedEventHandler(this.Source_Changed);
  199. #line default
  200. #line hidden
  201. return;
  202. case 4:
  203. this.RbFile = ((System.Windows.Controls.RadioButton)(target));
  204. #line 51 "..\..\..\..\Views\ImageAcqView.xaml"
  205. this.RbFile.Click += new System.Windows.RoutedEventHandler(this.Source_Changed);
  206. #line default
  207. #line hidden
  208. return;
  209. case 5:
  210. this.RbDir = ((System.Windows.Controls.RadioButton)(target));
  211. #line 54 "..\..\..\..\Views\ImageAcqView.xaml"
  212. this.RbDir.Click += new System.Windows.RoutedEventHandler(this.Source_Changed);
  213. #line default
  214. #line hidden
  215. return;
  216. case 6:
  217. this.PanelCamera = ((System.Windows.Controls.GroupBox)(target));
  218. return;
  219. case 7:
  220. this.CmbCamera = ((System.Windows.Controls.ComboBox)(target));
  221. #line 63 "..\..\..\..\Views\ImageAcqView.xaml"
  222. this.CmbCamera.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbCamera_SelectionChanged);
  223. #line default
  224. #line hidden
  225. return;
  226. case 8:
  227. this.CmbTrigger = ((System.Windows.Controls.ComboBox)(target));
  228. #line 66 "..\..\..\..\Views\ImageAcqView.xaml"
  229. this.CmbTrigger.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbTrigger_SelectionChanged);
  230. #line default
  231. #line hidden
  232. return;
  233. case 9:
  234. this.TxtTriggerHint = ((System.Windows.Controls.TextBlock)(target));
  235. return;
  236. case 10:
  237. this.TxtExposure = ((System.Windows.Controls.TextBox)(target));
  238. return;
  239. case 11:
  240. this.TxtGain = ((System.Windows.Controls.TextBox)(target));
  241. return;
  242. case 12:
  243. this.TxtGamma = ((System.Windows.Controls.TextBox)(target));
  244. return;
  245. case 13:
  246. this.ChkAutoOpen = ((System.Windows.Controls.CheckBox)(target));
  247. return;
  248. case 14:
  249. this.BtnGrab = ((System.Windows.Controls.Button)(target));
  250. #line 88 "..\..\..\..\Views\ImageAcqView.xaml"
  251. this.BtnGrab.Click += new System.Windows.RoutedEventHandler(this.BtnGrabPreview_Click);
  252. #line default
  253. #line hidden
  254. return;
  255. case 15:
  256. this.PanelFile = ((System.Windows.Controls.GroupBox)(target));
  257. return;
  258. case 16:
  259. #line 99 "..\..\..\..\Views\ImageAcqView.xaml"
  260. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBrowseFile_Click);
  261. #line default
  262. #line hidden
  263. return;
  264. case 17:
  265. this.TxtImagePath = ((System.Windows.Controls.TextBox)(target));
  266. return;
  267. case 18:
  268. this.PanelDir = ((System.Windows.Controls.GroupBox)(target));
  269. return;
  270. case 19:
  271. #line 114 "..\..\..\..\Views\ImageAcqView.xaml"
  272. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBrowseDir_Click);
  273. #line default
  274. #line hidden
  275. return;
  276. case 20:
  277. this.TxtDirPath = ((System.Windows.Controls.TextBox)(target));
  278. return;
  279. case 21:
  280. this.ChkCyclic = ((System.Windows.Controls.CheckBox)(target));
  281. return;
  282. case 22:
  283. this.LstDirFiles = ((System.Windows.Controls.ListBox)(target));
  284. #line 123 "..\..\..\..\Views\ImageAcqView.xaml"
  285. this.LstDirFiles.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.LstDirFiles_MouseDoubleClick);
  286. #line default
  287. #line hidden
  288. return;
  289. case 23:
  290. this.PanelLocalOpts = ((System.Windows.Controls.GroupBox)(target));
  291. return;
  292. case 24:
  293. this.ChkApplyGamma = ((System.Windows.Controls.CheckBox)(target));
  294. return;
  295. case 25:
  296. this.Display = ((TeamAAS.Camera.UI.Controls.ImageDisplayControl)(target));
  297. return;
  298. case 26:
  299. this.TxtInfo = ((System.Windows.Controls.TextBlock)(target));
  300. return;
  301. }
  302. this._contentLoaded = true;
  303. }
  304. }
  305. }