FrmAlarmHistory.Designer.cs 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  1. namespace IntelligentControlForsx
  2. {
  3. partial class FrmAlarmHistory
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAlarmHistory));
  30. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
  31. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
  32. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
  33. this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
  34. this.ts_Pages = new System.Windows.Forms.ToolStripLabel();
  35. this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
  36. this.ts_PageSize = new System.Windows.Forms.ToolStripComboBox();
  37. this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
  38. this.ts_PageFirst = new System.Windows.Forms.ToolStripButton();
  39. this.ts_PagePrevious = new System.Windows.Forms.ToolStripButton();
  40. this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
  41. this.ts_PagePostion = new System.Windows.Forms.ToolStripTextBox();
  42. this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
  43. this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
  44. this.ts_PageNext = new System.Windows.Forms.ToolStripButton();
  45. this.ts_PageLast = new System.Windows.Forms.ToolStripButton();
  46. this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
  47. this.btnExportCurrent = new System.Windows.Forms.ToolStripButton();
  48. this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
  49. this.btnExportAll = new System.Windows.Forms.ToolStripButton();
  50. this.pnlTop = new System.Windows.Forms.Panel();
  51. this.pnlQuery = new System.Windows.Forms.Panel();
  52. this.btnQuery = new System.Windows.Forms.Button();
  53. this.txtKeyWord = new System.Windows.Forms.TextBox();
  54. this.cmbSubCategory = new System.Windows.Forms.ComboBox();
  55. this.dpEnd = new System.Windows.Forms.DateTimePicker();
  56. this.cmbCategory = new System.Windows.Forms.ComboBox();
  57. this.label2 = new System.Windows.Forms.Label();
  58. this.label5 = new System.Windows.Forms.Label();
  59. this.label7 = new System.Windows.Forms.Label();
  60. this.label4 = new System.Windows.Forms.Label();
  61. this.label1 = new System.Windows.Forms.Label();
  62. this.label3 = new System.Windows.Forms.Label();
  63. this.dpStart = new System.Windows.Forms.DateTimePicker();
  64. this.cmbStation = new System.Windows.Forms.ComboBox();
  65. this.label6 = new System.Windows.Forms.Label();
  66. this.cmbRank = new System.Windows.Forms.ComboBox();
  67. this.panel1 = new System.Windows.Forms.Panel();
  68. this.pictureBox1 = new System.Windows.Forms.PictureBox();
  69. this.label8 = new System.Windows.Forms.Label();
  70. this.btnMax = new System.Windows.Forms.Button();
  71. this.panel2 = new System.Windows.Forms.Panel();
  72. this.btnClose = new System.Windows.Forms.Button();
  73. this.dgvAlarm = new System.Windows.Forms.DataGridView();
  74. this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  75. this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  76. this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  77. this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  78. this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  79. this.Column6 = new System.Windows.Forms.DataGridViewLinkColumn();
  80. this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  81. this.ObjectId = new System.Windows.Forms.DataGridViewTextBoxColumn();
  82. ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
  83. this.bindingNavigator1.SuspendLayout();
  84. this.pnlTop.SuspendLayout();
  85. this.pnlQuery.SuspendLayout();
  86. this.panel1.SuspendLayout();
  87. ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
  88. ((System.ComponentModel.ISupportInitialize)(this.dgvAlarm)).BeginInit();
  89. this.SuspendLayout();
  90. //
  91. // bindingNavigator1
  92. //
  93. this.bindingNavigator1.AddNewItem = null;
  94. this.bindingNavigator1.CountItem = this.ts_Pages;
  95. this.bindingNavigator1.CountItemFormat = "PageNum";
  96. this.bindingNavigator1.DeleteItem = null;
  97. this.bindingNavigator1.Dock = System.Windows.Forms.DockStyle.Bottom;
  98. this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  99. this.toolStripLabel1,
  100. this.ts_PageSize,
  101. this.toolStripSeparator2,
  102. this.ts_PageFirst,
  103. this.ts_PagePrevious,
  104. this.bindingNavigatorSeparator,
  105. this.ts_PagePostion,
  106. this.toolStripLabel2,
  107. this.ts_Pages,
  108. this.bindingNavigatorSeparator1,
  109. this.ts_PageNext,
  110. this.ts_PageLast,
  111. this.bindingNavigatorSeparator2,
  112. this.btnExportCurrent,
  113. this.toolStripSeparator1,
  114. this.btnExportAll});
  115. this.bindingNavigator1.Location = new System.Drawing.Point(10, 587);
  116. this.bindingNavigator1.MoveFirstItem = this.ts_PageFirst;
  117. this.bindingNavigator1.MoveLastItem = this.ts_PageLast;
  118. this.bindingNavigator1.MoveNextItem = this.ts_PageNext;
  119. this.bindingNavigator1.MovePreviousItem = this.ts_PagePrevious;
  120. this.bindingNavigator1.Name = "bindingNavigator1";
  121. this.bindingNavigator1.PositionItem = this.ts_PagePostion;
  122. this.bindingNavigator1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
  123. this.bindingNavigator1.Size = new System.Drawing.Size(921, 25);
  124. this.bindingNavigator1.TabIndex = 2;
  125. this.bindingNavigator1.Text = "bindingNavigator1";
  126. //
  127. // ts_Pages
  128. //
  129. this.ts_Pages.Name = "ts_Pages";
  130. this.ts_Pages.Size = new System.Drawing.Size(65, 22);
  131. this.ts_Pages.Text = "PageNum";
  132. this.ts_Pages.ToolTipText = "总项数";
  133. //
  134. // toolStripLabel1
  135. //
  136. this.toolStripLabel1.Name = "toolStripLabel1";
  137. this.toolStripLabel1.Size = new System.Drawing.Size(68, 22);
  138. this.toolStripLabel1.Text = "每页条数:";
  139. //
  140. // ts_PageSize
  141. //
  142. this.ts_PageSize.AutoSize = false;
  143. this.ts_PageSize.Items.AddRange(new object[] {
  144. "10",
  145. "20",
  146. "30",
  147. "40",
  148. "50",
  149. "100"});
  150. this.ts_PageSize.Name = "ts_PageSize";
  151. this.ts_PageSize.Size = new System.Drawing.Size(40, 25);
  152. this.ts_PageSize.SelectedIndexChanged += new System.EventHandler(this.ts_PageSize_SelectedIndexChanged);
  153. //
  154. // toolStripSeparator2
  155. //
  156. this.toolStripSeparator2.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
  157. this.toolStripSeparator2.Name = "toolStripSeparator2";
  158. this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
  159. //
  160. // ts_PageFirst
  161. //
  162. this.ts_PageFirst.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  163. this.ts_PageFirst.Image = ((System.Drawing.Image)(resources.GetObject("ts_PageFirst.Image")));
  164. this.ts_PageFirst.Name = "ts_PageFirst";
  165. this.ts_PageFirst.RightToLeftAutoMirrorImage = true;
  166. this.ts_PageFirst.Size = new System.Drawing.Size(23, 22);
  167. this.ts_PageFirst.Text = "移到第一条记录";
  168. this.ts_PageFirst.Click += new System.EventHandler(this.ts_PageFirst_Click);
  169. //
  170. // ts_PagePrevious
  171. //
  172. this.ts_PagePrevious.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  173. this.ts_PagePrevious.Image = ((System.Drawing.Image)(resources.GetObject("ts_PagePrevious.Image")));
  174. this.ts_PagePrevious.Name = "ts_PagePrevious";
  175. this.ts_PagePrevious.RightToLeftAutoMirrorImage = true;
  176. this.ts_PagePrevious.Size = new System.Drawing.Size(23, 22);
  177. this.ts_PagePrevious.Text = "移到上一条记录";
  178. this.ts_PagePrevious.Click += new System.EventHandler(this.ts_PagePrevious_Click);
  179. //
  180. // bindingNavigatorSeparator
  181. //
  182. this.bindingNavigatorSeparator.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
  183. this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
  184. this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
  185. //
  186. // ts_PagePostion
  187. //
  188. this.ts_PagePostion.AccessibleName = "位置";
  189. this.ts_PagePostion.AutoSize = false;
  190. this.ts_PagePostion.Name = "ts_PagePostion";
  191. this.ts_PagePostion.Size = new System.Drawing.Size(50, 23);
  192. this.ts_PagePostion.Text = "0";
  193. this.ts_PagePostion.ToolTipText = "当前位置";
  194. this.ts_PagePostion.TextChanged += new System.EventHandler(this.ts_PagePostion_TextChanged);
  195. //
  196. // toolStripLabel2
  197. //
  198. this.toolStripLabel2.Name = "toolStripLabel2";
  199. this.toolStripLabel2.Size = new System.Drawing.Size(13, 22);
  200. this.toolStripLabel2.Text = "/";
  201. this.toolStripLabel2.ToolTipText = "总项数";
  202. //
  203. // bindingNavigatorSeparator1
  204. //
  205. this.bindingNavigatorSeparator1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
  206. this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
  207. this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
  208. //
  209. // ts_PageNext
  210. //
  211. this.ts_PageNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  212. this.ts_PageNext.Image = ((System.Drawing.Image)(resources.GetObject("ts_PageNext.Image")));
  213. this.ts_PageNext.Name = "ts_PageNext";
  214. this.ts_PageNext.RightToLeftAutoMirrorImage = true;
  215. this.ts_PageNext.Size = new System.Drawing.Size(23, 22);
  216. this.ts_PageNext.Text = "移到下一条记录";
  217. this.ts_PageNext.Click += new System.EventHandler(this.ts_PageNext_Click);
  218. //
  219. // ts_PageLast
  220. //
  221. this.ts_PageLast.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  222. this.ts_PageLast.Image = ((System.Drawing.Image)(resources.GetObject("ts_PageLast.Image")));
  223. this.ts_PageLast.Name = "ts_PageLast";
  224. this.ts_PageLast.RightToLeftAutoMirrorImage = true;
  225. this.ts_PageLast.Size = new System.Drawing.Size(23, 22);
  226. this.ts_PageLast.Text = "移到最后一条记录";
  227. this.ts_PageLast.Click += new System.EventHandler(this.ts_PageLast_Click);
  228. //
  229. // bindingNavigatorSeparator2
  230. //
  231. this.bindingNavigatorSeparator2.Margin = new System.Windows.Forms.Padding(10, 0, 10, 0);
  232. this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
  233. this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
  234. //
  235. // btnExportCurrent
  236. //
  237. this.btnExportCurrent.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  238. this.btnExportCurrent.Image = ((System.Drawing.Image)(resources.GetObject("btnExportCurrent.Image")));
  239. this.btnExportCurrent.ImageTransparentColor = System.Drawing.Color.Magenta;
  240. this.btnExportCurrent.Name = "btnExportCurrent";
  241. this.btnExportCurrent.Size = new System.Drawing.Size(60, 22);
  242. this.btnExportCurrent.Text = "导出本页";
  243. this.btnExportCurrent.Click += new System.EventHandler(this.btnExportCurrent_Click);
  244. //
  245. // toolStripSeparator1
  246. //
  247. this.toolStripSeparator1.Name = "toolStripSeparator1";
  248. this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
  249. //
  250. // btnExportAll
  251. //
  252. this.btnExportAll.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  253. this.btnExportAll.Image = ((System.Drawing.Image)(resources.GetObject("btnExportAll.Image")));
  254. this.btnExportAll.ImageTransparentColor = System.Drawing.Color.Magenta;
  255. this.btnExportAll.Name = "btnExportAll";
  256. this.btnExportAll.Size = new System.Drawing.Size(60, 22);
  257. this.btnExportAll.Text = "导出全部";
  258. this.btnExportAll.Click += new System.EventHandler(this.btnExportAll_Click);
  259. //
  260. // pnlTop
  261. //
  262. this.pnlTop.BackgroundImage = global::IntelligentControlForsx.Properties.Resources.querytop;
  263. this.pnlTop.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
  264. this.pnlTop.Controls.Add(this.pnlQuery);
  265. this.pnlTop.Controls.Add(this.panel1);
  266. this.pnlTop.Dock = System.Windows.Forms.DockStyle.Top;
  267. this.pnlTop.Location = new System.Drawing.Point(10, 10);
  268. this.pnlTop.Name = "pnlTop";
  269. this.pnlTop.Padding = new System.Windows.Forms.Padding(5, 7, 5, 0);
  270. this.pnlTop.Size = new System.Drawing.Size(921, 128);
  271. this.pnlTop.TabIndex = 3;
  272. //
  273. // pnlQuery
  274. //
  275. this.pnlQuery.BackColor = System.Drawing.Color.Transparent;
  276. this.pnlQuery.Controls.Add(this.btnQuery);
  277. this.pnlQuery.Controls.Add(this.txtKeyWord);
  278. this.pnlQuery.Controls.Add(this.cmbSubCategory);
  279. this.pnlQuery.Controls.Add(this.dpEnd);
  280. this.pnlQuery.Controls.Add(this.cmbCategory);
  281. this.pnlQuery.Controls.Add(this.label2);
  282. this.pnlQuery.Controls.Add(this.label5);
  283. this.pnlQuery.Controls.Add(this.label7);
  284. this.pnlQuery.Controls.Add(this.label4);
  285. this.pnlQuery.Controls.Add(this.label1);
  286. this.pnlQuery.Controls.Add(this.label3);
  287. this.pnlQuery.Controls.Add(this.dpStart);
  288. this.pnlQuery.Controls.Add(this.cmbStation);
  289. this.pnlQuery.Controls.Add(this.label6);
  290. this.pnlQuery.Controls.Add(this.cmbRank);
  291. this.pnlQuery.Dock = System.Windows.Forms.DockStyle.Bottom;
  292. this.pnlQuery.Location = new System.Drawing.Point(5, 43);
  293. this.pnlQuery.Name = "pnlQuery";
  294. this.pnlQuery.Size = new System.Drawing.Size(911, 85);
  295. this.pnlQuery.TabIndex = 5;
  296. //
  297. // btnQuery
  298. //
  299. this.btnQuery.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  300. this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  301. this.btnQuery.ForeColor = System.Drawing.Color.White;
  302. this.btnQuery.Image = global::IntelligentControlForsx.Properties.Resources.查询按钮;
  303. this.btnQuery.Location = new System.Drawing.Point(759, 46);
  304. this.btnQuery.Name = "btnQuery";
  305. this.btnQuery.Size = new System.Drawing.Size(128, 28);
  306. this.btnQuery.TabIndex = 30;
  307. this.btnQuery.Text = " 开始查询";
  308. this.btnQuery.UseVisualStyleBackColor = true;
  309. this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
  310. //
  311. // txtKeyWord
  312. //
  313. this.txtKeyWord.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  314. this.txtKeyWord.ImeMode = System.Windows.Forms.ImeMode.On;
  315. this.txtKeyWord.Location = new System.Drawing.Point(488, 51);
  316. this.txtKeyWord.Name = "txtKeyWord";
  317. this.txtKeyWord.Size = new System.Drawing.Size(218, 23);
  318. this.txtKeyWord.TabIndex = 25;
  319. this.txtKeyWord.TextChanged += new System.EventHandler(this.txtKeyWord_TextChanged);
  320. //
  321. // cmbSubCategory
  322. //
  323. this.cmbSubCategory.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  324. this.cmbSubCategory.FormattingEnabled = true;
  325. this.cmbSubCategory.Items.AddRange(new object[] {
  326. "全部"});
  327. this.cmbSubCategory.Location = new System.Drawing.Point(296, 51);
  328. this.cmbSubCategory.Name = "cmbSubCategory";
  329. this.cmbSubCategory.Size = new System.Drawing.Size(96, 25);
  330. this.cmbSubCategory.TabIndex = 24;
  331. this.cmbSubCategory.SelectedValueChanged += new System.EventHandler(this.cmbSubCategory_SelectedValueChanged);
  332. //
  333. // dpEnd
  334. //
  335. this.dpEnd.CustomFormat = "yyyy-MM-dd HH:mm:ss";
  336. this.dpEnd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  337. this.dpEnd.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
  338. this.dpEnd.Location = new System.Drawing.Point(360, 12);
  339. this.dpEnd.Name = "dpEnd";
  340. this.dpEnd.ShowUpDown = true;
  341. this.dpEnd.Size = new System.Drawing.Size(161, 23);
  342. this.dpEnd.TabIndex = 29;
  343. //
  344. // cmbCategory
  345. //
  346. this.cmbCategory.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  347. this.cmbCategory.FormattingEnabled = true;
  348. this.cmbCategory.Items.AddRange(new object[] {
  349. "全部",
  350. "自定义",
  351. "风机",
  352. "升压站",
  353. "光伏"});
  354. this.cmbCategory.Location = new System.Drawing.Point(97, 51);
  355. this.cmbCategory.Name = "cmbCategory";
  356. this.cmbCategory.Size = new System.Drawing.Size(89, 25);
  357. this.cmbCategory.TabIndex = 23;
  358. this.cmbCategory.SelectedValueChanged += new System.EventHandler(this.cmbCategory_SelectedValueChanged);
  359. //
  360. // label2
  361. //
  362. this.label2.AutoSize = true;
  363. this.label2.BackColor = System.Drawing.Color.Transparent;
  364. this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  365. this.label2.Location = new System.Drawing.Point(739, 14);
  366. this.label2.Name = "label2";
  367. this.label2.Size = new System.Drawing.Size(44, 17);
  368. this.label2.TabIndex = 17;
  369. this.label2.Text = "级别:";
  370. //
  371. // label5
  372. //
  373. this.label5.AutoSize = true;
  374. this.label5.BackColor = System.Drawing.Color.Transparent;
  375. this.label5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  376. this.label5.Location = new System.Drawing.Point(426, 54);
  377. this.label5.Name = "label5";
  378. this.label5.Size = new System.Drawing.Size(56, 17);
  379. this.label5.TabIndex = 20;
  380. this.label5.Text = "关键字:";
  381. //
  382. // label7
  383. //
  384. this.label7.AutoSize = true;
  385. this.label7.BackColor = System.Drawing.Color.Transparent;
  386. this.label7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  387. this.label7.Location = new System.Drawing.Point(281, 17);
  388. this.label7.Name = "label7";
  389. this.label7.Size = new System.Drawing.Size(68, 17);
  390. this.label7.TabIndex = 28;
  391. this.label7.Text = "结束时间:";
  392. //
  393. // label4
  394. //
  395. this.label4.AutoSize = true;
  396. this.label4.BackColor = System.Drawing.Color.Transparent;
  397. this.label4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  398. this.label4.Location = new System.Drawing.Point(234, 54);
  399. this.label4.Name = "label4";
  400. this.label4.Size = new System.Drawing.Size(56, 17);
  401. this.label4.TabIndex = 19;
  402. this.label4.Text = "子类型:";
  403. //
  404. // label1
  405. //
  406. this.label1.AutoSize = true;
  407. this.label1.BackColor = System.Drawing.Color.Transparent;
  408. this.label1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  409. this.label1.Location = new System.Drawing.Point(544, 17);
  410. this.label1.Name = "label1";
  411. this.label1.Size = new System.Drawing.Size(44, 17);
  412. this.label1.TabIndex = 16;
  413. this.label1.Text = "场站:";
  414. //
  415. // label3
  416. //
  417. this.label3.AutoSize = true;
  418. this.label3.BackColor = System.Drawing.Color.Transparent;
  419. this.label3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  420. this.label3.Location = new System.Drawing.Point(44, 54);
  421. this.label3.Name = "label3";
  422. this.label3.Size = new System.Drawing.Size(44, 17);
  423. this.label3.TabIndex = 18;
  424. this.label3.Text = "类型:";
  425. //
  426. // dpStart
  427. //
  428. this.dpStart.CustomFormat = "yyyy-MM-dd HH:mm:ss";
  429. this.dpStart.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  430. this.dpStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
  431. this.dpStart.Location = new System.Drawing.Point(97, 12);
  432. this.dpStart.Name = "dpStart";
  433. this.dpStart.ShowUpDown = true;
  434. this.dpStart.Size = new System.Drawing.Size(157, 23);
  435. this.dpStart.TabIndex = 27;
  436. //
  437. // cmbStation
  438. //
  439. this.cmbStation.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  440. this.cmbStation.FormattingEnabled = true;
  441. this.cmbStation.Items.AddRange(new object[] {
  442. "全部",
  443. "石板泉风电场",
  444. "麻黄山风电场",
  445. "牛首山风电场",
  446. "香山风电场",
  447. "青山风电场"});
  448. this.cmbStation.Location = new System.Drawing.Point(597, 11);
  449. this.cmbStation.Name = "cmbStation";
  450. this.cmbStation.Size = new System.Drawing.Size(109, 25);
  451. this.cmbStation.TabIndex = 21;
  452. this.cmbStation.SelectedValueChanged += new System.EventHandler(this.cmbStation_SelectedValueChanged);
  453. //
  454. // label6
  455. //
  456. this.label6.AutoSize = true;
  457. this.label6.BackColor = System.Drawing.Color.Transparent;
  458. this.label6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  459. this.label6.Location = new System.Drawing.Point(20, 17);
  460. this.label6.Name = "label6";
  461. this.label6.Size = new System.Drawing.Size(68, 17);
  462. this.label6.TabIndex = 26;
  463. this.label6.Text = "开始时间:";
  464. //
  465. // cmbRank
  466. //
  467. this.cmbRank.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  468. this.cmbRank.FormattingEnabled = true;
  469. this.cmbRank.Items.AddRange(new object[] {
  470. "全部",
  471. "高",
  472. "中高",
  473. "中",
  474. "中低",
  475. "低"});
  476. this.cmbRank.Location = new System.Drawing.Point(792, 11);
  477. this.cmbRank.Name = "cmbRank";
  478. this.cmbRank.Size = new System.Drawing.Size(95, 25);
  479. this.cmbRank.TabIndex = 22;
  480. this.cmbRank.SelectedValueChanged += new System.EventHandler(this.cmbRank_SelectedValueChanged);
  481. //
  482. // panel1
  483. //
  484. this.panel1.BackColor = System.Drawing.Color.Transparent;
  485. this.panel1.Controls.Add(this.pictureBox1);
  486. this.panel1.Controls.Add(this.label8);
  487. this.panel1.Controls.Add(this.btnMax);
  488. this.panel1.Controls.Add(this.panel2);
  489. this.panel1.Controls.Add(this.btnClose);
  490. this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
  491. this.panel1.Location = new System.Drawing.Point(5, 7);
  492. this.panel1.Name = "panel1";
  493. this.panel1.Padding = new System.Windows.Forms.Padding(5, 0, 12, 0);
  494. this.panel1.Size = new System.Drawing.Size(911, 30);
  495. this.panel1.TabIndex = 1;
  496. this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
  497. //
  498. // pictureBox1
  499. //
  500. this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Left;
  501. this.pictureBox1.Image = global::IntelligentControlForsx.Properties.Resources.alarm;
  502. this.pictureBox1.Location = new System.Drawing.Point(5, 0);
  503. this.pictureBox1.Name = "pictureBox1";
  504. this.pictureBox1.Size = new System.Drawing.Size(30, 30);
  505. this.pictureBox1.TabIndex = 5;
  506. this.pictureBox1.TabStop = false;
  507. //
  508. // label8
  509. //
  510. this.label8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  511. this.label8.ForeColor = System.Drawing.Color.White;
  512. this.label8.Location = new System.Drawing.Point(37, 0);
  513. this.label8.Name = "label8";
  514. this.label8.Size = new System.Drawing.Size(106, 30);
  515. this.label8.TabIndex = 4;
  516. this.label8.Text = "历史报警查询";
  517. this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  518. this.label8.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
  519. //
  520. // btnMax
  521. //
  522. this.btnMax.BackgroundImage = global::IntelligentControlForsx.Properties.Resources.最大化;
  523. this.btnMax.Dock = System.Windows.Forms.DockStyle.Right;
  524. this.btnMax.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  525. this.btnMax.Location = new System.Drawing.Point(820, 0);
  526. this.btnMax.Name = "btnMax";
  527. this.btnMax.Size = new System.Drawing.Size(32, 30);
  528. this.btnMax.TabIndex = 3;
  529. this.btnMax.UseVisualStyleBackColor = true;
  530. this.btnMax.Click += new System.EventHandler(this.btnMax_Click);
  531. //
  532. // panel2
  533. //
  534. this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
  535. this.panel2.Location = new System.Drawing.Point(852, 0);
  536. this.panel2.Name = "panel2";
  537. this.panel2.Size = new System.Drawing.Size(15, 30);
  538. this.panel2.TabIndex = 2;
  539. //
  540. // btnClose
  541. //
  542. this.btnClose.BackgroundImage = global::IntelligentControlForsx.Properties.Resources.关闭;
  543. this.btnClose.Dock = System.Windows.Forms.DockStyle.Right;
  544. this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
  545. this.btnClose.Location = new System.Drawing.Point(867, 0);
  546. this.btnClose.Name = "btnClose";
  547. this.btnClose.Size = new System.Drawing.Size(32, 30);
  548. this.btnClose.TabIndex = 0;
  549. this.btnClose.UseVisualStyleBackColor = true;
  550. this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
  551. //
  552. // dgvAlarm
  553. //
  554. dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  555. dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
  556. dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  557. dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
  558. dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  559. dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  560. dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  561. this.dgvAlarm.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
  562. this.dgvAlarm.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  563. this.dgvAlarm.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  564. this.Column1,
  565. this.Column2,
  566. this.Column3,
  567. this.Column4,
  568. this.Column5,
  569. this.Column6,
  570. this.Column8,
  571. this.ObjectId});
  572. dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  573. dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
  574. dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  575. dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
  576. dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  577. dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  578. dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
  579. this.dgvAlarm.DefaultCellStyle = dataGridViewCellStyle3;
  580. this.dgvAlarm.Dock = System.Windows.Forms.DockStyle.Fill;
  581. this.dgvAlarm.Location = new System.Drawing.Point(10, 138);
  582. this.dgvAlarm.Name = "dgvAlarm";
  583. this.dgvAlarm.RowTemplate.Height = 23;
  584. this.dgvAlarm.Size = new System.Drawing.Size(921, 449);
  585. this.dgvAlarm.TabIndex = 4;
  586. this.dgvAlarm.CellContentDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvAlarm_CellContentDoubleClick);
  587. this.dgvAlarm.MouseEnter += new System.EventHandler(this.dgvAlarm_MouseEnter);
  588. //
  589. // Column1
  590. //
  591. this.Column1.DataPropertyName = "AlertTime";
  592. dataGridViewCellStyle2.Format = "yyyy-MM-dd HH:mm:ss";
  593. this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
  594. this.Column1.Frozen = true;
  595. this.Column1.HeaderText = "时间";
  596. this.Column1.Name = "Column1";
  597. this.Column1.Width = 125;
  598. //
  599. // Column2
  600. //
  601. this.Column2.DataPropertyName = "ObjectName";
  602. this.Column2.Frozen = true;
  603. this.Column2.HeaderText = "设备";
  604. this.Column2.Name = "Column2";
  605. this.Column2.Width = 130;
  606. //
  607. // Column3
  608. //
  609. this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
  610. this.Column3.DataPropertyName = "AlertText";
  611. this.Column3.HeaderText = "报警信息";
  612. this.Column3.Name = "Column3";
  613. //
  614. // Column4
  615. //
  616. this.Column4.DataPropertyName = "RankName";
  617. this.Column4.HeaderText = "级别";
  618. this.Column4.Name = "Column4";
  619. this.Column4.Width = 80;
  620. //
  621. // Column5
  622. //
  623. this.Column5.DataPropertyName = "CategoryName";
  624. this.Column5.HeaderText = "报警类型";
  625. this.Column5.Name = "Column5";
  626. //
  627. // Column6
  628. //
  629. this.Column6.HeaderText = "操作";
  630. this.Column6.Name = "Column6";
  631. this.Column6.Resizable = System.Windows.Forms.DataGridViewTriState.True;
  632. this.Column6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
  633. this.Column6.Text = "确认";
  634. this.Column6.UseColumnTextForLinkValue = true;
  635. this.Column6.Visible = false;
  636. this.Column6.Width = 80;
  637. //
  638. // Column8
  639. //
  640. this.Column8.DataPropertyName = "Id";
  641. this.Column8.HeaderText = "id";
  642. this.Column8.Name = "Column8";
  643. this.Column8.Visible = false;
  644. //
  645. // ObjectId
  646. //
  647. this.ObjectId.DataPropertyName = "ObjectId";
  648. this.ObjectId.HeaderText = "Column7";
  649. this.ObjectId.Name = "ObjectId";
  650. this.ObjectId.Visible = false;
  651. //
  652. // FrmAlarmHistory
  653. //
  654. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  655. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  656. this.BackColor = System.Drawing.SystemColors.ControlLight;
  657. this.ClientSize = new System.Drawing.Size(941, 622);
  658. this.Controls.Add(this.dgvAlarm);
  659. this.Controls.Add(this.pnlTop);
  660. this.Controls.Add(this.bindingNavigator1);
  661. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
  662. this.Name = "FrmAlarmHistory";
  663. this.Padding = new System.Windows.Forms.Padding(10);
  664. this.Text = "报警历史查询";
  665. this.Load += new System.EventHandler(this.FrmAlarmHistory_Load);
  666. ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
  667. this.bindingNavigator1.ResumeLayout(false);
  668. this.bindingNavigator1.PerformLayout();
  669. this.pnlTop.ResumeLayout(false);
  670. this.pnlQuery.ResumeLayout(false);
  671. this.pnlQuery.PerformLayout();
  672. this.panel1.ResumeLayout(false);
  673. ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
  674. ((System.ComponentModel.ISupportInitialize)(this.dgvAlarm)).EndInit();
  675. this.ResumeLayout(false);
  676. this.PerformLayout();
  677. }
  678. #endregion
  679. private System.Windows.Forms.BindingNavigator bindingNavigator1;
  680. private System.Windows.Forms.ToolStripLabel ts_Pages;
  681. private System.Windows.Forms.ToolStripButton ts_PageFirst;
  682. private System.Windows.Forms.ToolStripButton ts_PagePrevious;
  683. private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
  684. private System.Windows.Forms.ToolStripTextBox ts_PagePostion;
  685. private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
  686. private System.Windows.Forms.ToolStripButton ts_PageNext;
  687. private System.Windows.Forms.ToolStripButton ts_PageLast;
  688. private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
  689. private System.Windows.Forms.ToolStripButton btnExportCurrent;
  690. private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
  691. private System.Windows.Forms.ToolStripButton btnExportAll;
  692. private System.Windows.Forms.ToolStripLabel toolStripLabel1;
  693. private System.Windows.Forms.ToolStripComboBox ts_PageSize;
  694. private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
  695. private System.Windows.Forms.ToolStripLabel toolStripLabel2;
  696. private System.Windows.Forms.Panel pnlTop;
  697. private System.Windows.Forms.Panel panel1;
  698. private System.Windows.Forms.PictureBox pictureBox1;
  699. private System.Windows.Forms.Label label8;
  700. private System.Windows.Forms.Button btnMax;
  701. private System.Windows.Forms.Panel panel2;
  702. private System.Windows.Forms.Button btnClose;
  703. private System.Windows.Forms.DataGridView dgvAlarm;
  704. private System.Windows.Forms.Panel pnlQuery;
  705. private System.Windows.Forms.Button btnQuery;
  706. private System.Windows.Forms.TextBox txtKeyWord;
  707. private System.Windows.Forms.ComboBox cmbSubCategory;
  708. private System.Windows.Forms.DateTimePicker dpEnd;
  709. private System.Windows.Forms.ComboBox cmbCategory;
  710. private System.Windows.Forms.Label label2;
  711. private System.Windows.Forms.Label label5;
  712. private System.Windows.Forms.Label label7;
  713. private System.Windows.Forms.Label label4;
  714. private System.Windows.Forms.Label label1;
  715. private System.Windows.Forms.Label label3;
  716. private System.Windows.Forms.DateTimePicker dpStart;
  717. private System.Windows.Forms.ComboBox cmbStation;
  718. private System.Windows.Forms.Label label6;
  719. private System.Windows.Forms.ComboBox cmbRank;
  720. private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
  721. private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
  722. private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
  723. private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
  724. private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
  725. private System.Windows.Forms.DataGridViewLinkColumn Column6;
  726. private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
  727. private System.Windows.Forms.DataGridViewTextBoxColumn ObjectId;
  728. }
  729. }