Main.Designer.cs 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142
  1. using DevExpress.XtraEditors;
  2. using UAS_DeviceMonitor.CustomerControl.AutoDataGridControl;
  3. using UAS_DeviceMonitor.CustomerControl;
  4. using UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum;
  5. namespace UAS_DeviceMonitor
  6. {
  7. partial class Main
  8. {
  9. /// <summary>
  10. /// Required designer variable.
  11. /// </summary>
  12. private System.ComponentModel.IContainer components = null;
  13. /// <summary>
  14. /// Clean up any resources being used.
  15. /// </summary>
  16. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  17. protected override void Dispose(bool disposing)
  18. {
  19. if (disposing && (components != null))
  20. {
  21. components.Dispose();
  22. }
  23. base.Dispose(disposing);
  24. }
  25. #region Windows Form Designer generated code
  26. /// <summary>
  27. /// Required method for Designer support - do not modify
  28. /// the contents of this method with the code editor.
  29. /// </summary>
  30. private void InitializeComponent()
  31. {
  32. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
  33. this.RibbonNav = new DevExpress.XtraBars.Ribbon.RibbonControl();
  34. this.ButtonDeviceList = new DevExpress.XtraBars.BarButtonItem();
  35. this.ButtonDeviceKind = new DevExpress.XtraBars.BarButtonItem();
  36. this.ButtonDeviceStatus = new DevExpress.XtraBars.BarButtonItem();
  37. this.ButtonCommandSet = new DevExpress.XtraBars.BarButtonItem();
  38. this.ButtonPollingSetting = new DevExpress.XtraBars.BarButtonItem();
  39. this.ButtionPolling = new DevExpress.XtraBars.BarButtonItem();
  40. this.DeviceInf = new DevExpress.XtraBars.Ribbon.RibbonPage();
  41. this.RibDeviceInf = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
  42. this.DeviceCommandSetting = new DevExpress.XtraBars.Ribbon.RibbonPage();
  43. this.RibDeviceCommand = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
  44. this.MainTabControl = new DevExpress.XtraTab.XtraTabControl();
  45. this.PageDeviceList = new DevExpress.XtraTab.XtraTabPage();
  46. this.PageControlDeviceList = new UAS_DeviceMonitor.CustomerControl.PagingControl.PageControl();
  47. this.GridDeviceList = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  48. this.GridViewDeviceList = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  49. this.de_id = new DevExpress.XtraGrid.Columns.GridColumn();
  50. this.de_code = new DevExpress.XtraGrid.Columns.GridColumn();
  51. this.de_name = new DevExpress.XtraGrid.Columns.GridColumn();
  52. this.de_runstatus = new DevExpress.XtraGrid.Columns.GridColumn();
  53. this.de_indate = new DevExpress.XtraGrid.Columns.GridColumn();
  54. this.de_spec = new DevExpress.XtraGrid.Columns.GridColumn();
  55. this.de_vendcode = new DevExpress.XtraGrid.Columns.GridColumn();
  56. this.de_vendname = new DevExpress.XtraGrid.Columns.GridColumn();
  57. this.de_address = new DevExpress.XtraGrid.Columns.GridColumn();
  58. this.de_wccode = new DevExpress.XtraGrid.Columns.GridColumn();
  59. this.PageCommandSet = new DevExpress.XtraTab.XtraTabPage();
  60. this.ButtonDeleteCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
  61. this.Brand_label = new DevExpress.XtraEditors.LabelControl();
  62. this.Brand = new DevExpress.XtraEditors.ComboBoxEdit();
  63. this.ButtonNewCommand = new DevExpress.XtraEditors.SimpleButton();
  64. this.ButtonSaveCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
  65. this.GridCommandSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  66. this.GridViewCommandSet = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  67. this.CommandSetCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
  68. this.CheckEditCommandSet = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
  69. this.dc_id = new DevExpress.XtraGrid.Columns.GridColumn();
  70. this.dc_code = new DevExpress.XtraGrid.Columns.GridColumn();
  71. this.dc_name = new DevExpress.XtraGrid.Columns.GridColumn();
  72. this.dc_command = new DevExpress.XtraGrid.Columns.GridColumn();
  73. this.PageDeviceKind = new DevExpress.XtraTab.XtraTabPage();
  74. this.PageDeviceStatus = new DevExpress.XtraTab.XtraTabPage();
  75. this.PagePollingSetting = new DevExpress.XtraTab.XtraTabPage();
  76. this.ButtonDeleteCommandSet = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
  77. this.ButtonNewCommandSet = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
  78. this.ButtonSaveCommandSet = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
  79. this.ButtonPausePolling = new DevExpress.XtraEditors.SimpleButton();
  80. this.ButtonStartPolling = new DevExpress.XtraEditors.SimpleButton();
  81. this.GridPollingSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  82. this.GridViewPollSetting = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  83. this.PollSettingCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
  84. this.dpc_enableCheckEdit = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
  85. this.dpc_id = new DevExpress.XtraGrid.Columns.GridColumn();
  86. this.dpc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
  87. this.dpc_plcode = new DevExpress.XtraGrid.Columns.GridColumn();
  88. this.PollSettingItemSearchLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit();
  89. this.PollSettingItemSearchLookUpEditView = new DevExpress.XtraGrid.Views.Grid.GridView();
  90. this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
  91. this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
  92. this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
  93. this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
  94. this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
  95. this.dpc_plname = new DevExpress.XtraGrid.Columns.GridColumn();
  96. this.dpc_interval = new DevExpress.XtraGrid.Columns.GridColumn();
  97. this.dpc_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
  98. this.PollingSetItemLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
  99. this.dpc_function = new DevExpress.XtraGrid.Columns.GridColumn();
  100. this.dpc_enable = new DevExpress.XtraGrid.Columns.GridColumn();
  101. this.dpc_status = new DevExpress.XtraGrid.Columns.GridColumn();
  102. this.dpc_remark = new DevExpress.XtraGrid.Columns.GridColumn();
  103. this.POLLSETTINGSTATUSCOLUMN = new DevExpress.XtraGrid.Columns.GridColumn();
  104. this.PagePolling = new DevExpress.XtraTab.XtraTabPage();
  105. this.ButtonAddPolling = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
  106. this.ButtonDeletePolling = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
  107. this.ButtonSavePolling = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
  108. this.GridPolling = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  109. this.GridViewPolling = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  110. this.PollingCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
  111. this.pl_id = new DevExpress.XtraGrid.Columns.GridColumn();
  112. this.pl_code = new DevExpress.XtraGrid.Columns.GridColumn();
  113. this.pl_name = new DevExpress.XtraGrid.Columns.GridColumn();
  114. this.pl_type = new DevExpress.XtraGrid.Columns.GridColumn();
  115. this.pl_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
  116. this.pl_remark = new DevExpress.XtraGrid.Columns.GridColumn();
  117. ((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).BeginInit();
  118. ((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).BeginInit();
  119. this.MainTabControl.SuspendLayout();
  120. this.PageDeviceList.SuspendLayout();
  121. ((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).BeginInit();
  122. ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).BeginInit();
  123. this.PageCommandSet.SuspendLayout();
  124. ((System.ComponentModel.ISupportInitialize)(this.Brand.Properties)).BeginInit();
  125. ((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).BeginInit();
  126. ((System.ComponentModel.ISupportInitialize)(this.GridViewCommandSet)).BeginInit();
  127. ((System.ComponentModel.ISupportInitialize)(this.CheckEditCommandSet)).BeginInit();
  128. this.PagePollingSetting.SuspendLayout();
  129. ((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).BeginInit();
  130. ((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).BeginInit();
  131. ((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).BeginInit();
  132. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEdit)).BeginInit();
  133. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEditView)).BeginInit();
  134. ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).BeginInit();
  135. this.PagePolling.SuspendLayout();
  136. ((System.ComponentModel.ISupportInitialize)(this.GridPolling)).BeginInit();
  137. ((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).BeginInit();
  138. this.SuspendLayout();
  139. //
  140. // RibbonNav
  141. //
  142. this.RibbonNav.ApplicationIcon = global::UAS_DeviceMonitor.Properties.Resources.U_Letter_72px_1121581_easyicon_net;
  143. this.RibbonNav.DrawGroupCaptions = DevExpress.Utils.DefaultBoolean.False;
  144. this.RibbonNav.ExpandCollapseItem.Id = 0;
  145. this.RibbonNav.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
  146. this.RibbonNav.ExpandCollapseItem,
  147. this.ButtonDeviceList,
  148. this.ButtonDeviceKind,
  149. this.ButtonDeviceStatus,
  150. this.ButtonCommandSet,
  151. this.ButtonPollingSetting,
  152. this.ButtionPolling});
  153. this.RibbonNav.Location = new System.Drawing.Point(0, 0);
  154. this.RibbonNav.MaxItemId = 13;
  155. this.RibbonNav.Name = "RibbonNav";
  156. this.RibbonNav.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
  157. this.DeviceInf,
  158. this.DeviceCommandSetting});
  159. this.RibbonNav.Size = new System.Drawing.Size(1033, 128);
  160. //
  161. // ButtonDeviceList
  162. //
  163. this.ButtonDeviceList.Caption = "设备清单";
  164. this.ButtonDeviceList.Id = 5;
  165. this.ButtonDeviceList.LargeGlyph = global::UAS_DeviceMonitor.Properties.Resources.netstatus_tx_64px_18991_easyicon_net;
  166. this.ButtonDeviceList.Name = "ButtonDeviceList";
  167. this.ButtonDeviceList.Tag = "PageDeviceList";
  168. this.ButtonDeviceList.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  169. //
  170. // ButtonDeviceKind
  171. //
  172. this.ButtonDeviceKind.Caption = "设备类型维护";
  173. this.ButtonDeviceKind.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceKind.Glyph")));
  174. this.ButtonDeviceKind.Id = 6;
  175. this.ButtonDeviceKind.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceKind.LargeGlyph")));
  176. this.ButtonDeviceKind.Name = "ButtonDeviceKind";
  177. this.ButtonDeviceKind.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large;
  178. this.ButtonDeviceKind.Tag = "PageDeviceKind";
  179. this.ButtonDeviceKind.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  180. //
  181. // ButtonDeviceStatus
  182. //
  183. this.ButtonDeviceStatus.Caption = "运行状态";
  184. this.ButtonDeviceStatus.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceStatus.Glyph")));
  185. this.ButtonDeviceStatus.Id = 8;
  186. this.ButtonDeviceStatus.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceStatus.LargeGlyph")));
  187. this.ButtonDeviceStatus.Name = "ButtonDeviceStatus";
  188. this.ButtonDeviceStatus.Tag = "PageDeviceStatus";
  189. this.ButtonDeviceStatus.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  190. //
  191. // ButtonCommandSet
  192. //
  193. this.ButtonCommandSet.Caption = "指令设置";
  194. this.ButtonCommandSet.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonCommandSet.Glyph")));
  195. this.ButtonCommandSet.Id = 9;
  196. this.ButtonCommandSet.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonCommandSet.LargeGlyph")));
  197. this.ButtonCommandSet.Name = "ButtonCommandSet";
  198. this.ButtonCommandSet.Tag = "PageCommandSet";
  199. this.ButtonCommandSet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  200. //
  201. // ButtonPollingSetting
  202. //
  203. this.ButtonPollingSetting.Caption = "轮询配置";
  204. this.ButtonPollingSetting.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonPollingSetting.Glyph")));
  205. this.ButtonPollingSetting.Id = 11;
  206. this.ButtonPollingSetting.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonPollingSetting.LargeGlyph")));
  207. this.ButtonPollingSetting.Name = "ButtonPollingSetting";
  208. this.ButtonPollingSetting.Tag = "PagePollingSetting";
  209. this.ButtonPollingSetting.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  210. //
  211. // ButtionPolling
  212. //
  213. this.ButtionPolling.Caption = "轮询业务";
  214. this.ButtionPolling.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtionPolling.Glyph")));
  215. this.ButtionPolling.Id = 12;
  216. this.ButtionPolling.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtionPolling.LargeGlyph")));
  217. this.ButtionPolling.Name = "ButtionPolling";
  218. this.ButtionPolling.Tag = "PagePolling";
  219. this.ButtionPolling.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  220. //
  221. // DeviceInf
  222. //
  223. this.DeviceInf.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
  224. this.RibDeviceInf});
  225. this.DeviceInf.Name = "DeviceInf";
  226. this.DeviceInf.Text = "设备信息";
  227. //
  228. // RibDeviceInf
  229. //
  230. this.RibDeviceInf.AllowTextClipping = false;
  231. this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceList);
  232. this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceKind);
  233. this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceStatus);
  234. this.RibDeviceInf.Name = "RibDeviceInf";
  235. this.RibDeviceInf.ShowCaptionButton = false;
  236. //
  237. // DeviceCommandSetting
  238. //
  239. this.DeviceCommandSetting.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
  240. this.RibDeviceCommand});
  241. this.DeviceCommandSetting.Name = "DeviceCommandSetting";
  242. this.DeviceCommandSetting.Text = "设备指令配置";
  243. //
  244. // RibDeviceCommand
  245. //
  246. this.RibDeviceCommand.ItemLinks.Add(this.ButtonCommandSet);
  247. this.RibDeviceCommand.ItemLinks.Add(this.ButtionPolling);
  248. this.RibDeviceCommand.ItemLinks.Add(this.ButtonPollingSetting);
  249. this.RibDeviceCommand.Name = "RibDeviceCommand";
  250. this.RibDeviceCommand.Text = "ribbonPageGroup3";
  251. //
  252. // MainTabControl
  253. //
  254. this.MainTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
  255. this.MainTabControl.Location = new System.Drawing.Point(0, 128);
  256. this.MainTabControl.Name = "MainTabControl";
  257. this.MainTabControl.SelectedTabPage = this.PageDeviceList;
  258. this.MainTabControl.ShowTabHeader = DevExpress.Utils.DefaultBoolean.False;
  259. this.MainTabControl.Size = new System.Drawing.Size(1033, 583);
  260. this.MainTabControl.TabIndex = 3;
  261. this.MainTabControl.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
  262. this.PageDeviceList,
  263. this.PageCommandSet,
  264. this.PageDeviceKind,
  265. this.PageDeviceStatus,
  266. this.PagePollingSetting,
  267. this.PagePolling});
  268. //
  269. // PageDeviceList
  270. //
  271. this.PageDeviceList.Controls.Add(this.PageControlDeviceList);
  272. this.PageDeviceList.Controls.Add(this.GridDeviceList);
  273. this.PageDeviceList.Name = "PageDeviceList";
  274. this.PageDeviceList.PageVisible = false;
  275. this.PageDeviceList.Size = new System.Drawing.Size(1027, 577);
  276. this.PageDeviceList.Text = "xtraTabPage1";
  277. //
  278. // PageControlDeviceList
  279. //
  280. this.PageControlDeviceList.Dock = System.Windows.Forms.DockStyle.Bottom;
  281. this.PageControlDeviceList.Gridcontrol = null;
  282. this.PageControlDeviceList.Location = new System.Drawing.Point(0, 548);
  283. this.PageControlDeviceList.Name = "PageControlDeviceList";
  284. this.PageControlDeviceList.Size = new System.Drawing.Size(1027, 29);
  285. this.PageControlDeviceList.TabIndex = 1;
  286. //
  287. // GridDeviceList
  288. //
  289. this.GridDeviceList.Condition = null;
  290. this.GridDeviceList.Dock = System.Windows.Forms.DockStyle.Fill;
  291. this.GridDeviceList.GetDataSQL = null;
  292. this.GridDeviceList.ID = null;
  293. this.GridDeviceList.InsertSQL = null;
  294. this.GridDeviceList.Location = new System.Drawing.Point(0, 0);
  295. this.GridDeviceList.MainView = this.GridViewDeviceList;
  296. this.GridDeviceList.MenuManager = this.RibbonNav;
  297. this.GridDeviceList.Name = "GridDeviceList";
  298. this.GridDeviceList.RowCount = 0;
  299. this.GridDeviceList.Size = new System.Drawing.Size(1027, 577);
  300. this.GridDeviceList.TabIndex = 0;
  301. this.GridDeviceList.TableName = null;
  302. this.GridDeviceList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  303. this.GridViewDeviceList});
  304. //
  305. // GridViewDeviceList
  306. //
  307. this.GridViewDeviceList.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  308. this.de_id,
  309. this.de_code,
  310. this.de_name,
  311. this.de_runstatus,
  312. this.de_indate,
  313. this.de_spec,
  314. this.de_vendcode,
  315. this.de_vendname,
  316. this.de_address,
  317. this.de_wccode});
  318. this.GridViewDeviceList.GridControl = this.GridDeviceList;
  319. this.GridViewDeviceList.IndicatorWidth = 30;
  320. this.GridViewDeviceList.Name = "GridViewDeviceList";
  321. //
  322. // de_id
  323. //
  324. this.de_id.Caption = "de_id";
  325. this.de_id.FieldName = "DE_ID";
  326. this.de_id.Name = "de_id";
  327. //
  328. // de_code
  329. //
  330. this.de_code.Caption = "设备编号";
  331. this.de_code.FieldName = "DE_CODE";
  332. this.de_code.Name = "de_code";
  333. this.de_code.Visible = true;
  334. this.de_code.VisibleIndex = 0;
  335. //
  336. // de_name
  337. //
  338. this.de_name.Caption = "设备名称";
  339. this.de_name.FieldName = "DE_NAME";
  340. this.de_name.Name = "de_name";
  341. this.de_name.Visible = true;
  342. this.de_name.VisibleIndex = 1;
  343. //
  344. // de_runstatus
  345. //
  346. this.de_runstatus.Caption = "运行状态";
  347. this.de_runstatus.FieldName = "DE_RUNSTATUS";
  348. this.de_runstatus.Name = "de_runstatus";
  349. this.de_runstatus.Visible = true;
  350. this.de_runstatus.VisibleIndex = 2;
  351. //
  352. // de_indate
  353. //
  354. this.de_indate.Caption = "录入日期";
  355. this.de_indate.DisplayFormat.FormatString = "yyyy-MM-dd";
  356. this.de_indate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
  357. this.de_indate.FieldName = "DE_INDATE";
  358. this.de_indate.FilterMode = DevExpress.XtraGrid.ColumnFilterMode.DisplayText;
  359. this.de_indate.Name = "de_indate";
  360. this.de_indate.Visible = true;
  361. this.de_indate.VisibleIndex = 3;
  362. //
  363. // de_spec
  364. //
  365. this.de_spec.Caption = "设备规格";
  366. this.de_spec.FieldName = "DE_SPEC";
  367. this.de_spec.Name = "de_spec";
  368. this.de_spec.Visible = true;
  369. this.de_spec.VisibleIndex = 4;
  370. //
  371. // de_vendcode
  372. //
  373. this.de_vendcode.Caption = "供应商编号";
  374. this.de_vendcode.FieldName = "DE_VENDCODE";
  375. this.de_vendcode.Name = "de_vendcode";
  376. this.de_vendcode.Visible = true;
  377. this.de_vendcode.VisibleIndex = 5;
  378. //
  379. // de_vendname
  380. //
  381. this.de_vendname.Caption = "供应商名称";
  382. this.de_vendname.FieldName = "DE_VENDNAME";
  383. this.de_vendname.Name = "de_vendname";
  384. this.de_vendname.Visible = true;
  385. this.de_vendname.VisibleIndex = 6;
  386. //
  387. // de_address
  388. //
  389. this.de_address.Caption = "设备地点";
  390. this.de_address.FieldName = "DE_ADDRESS";
  391. this.de_address.Name = "de_address";
  392. this.de_address.Visible = true;
  393. this.de_address.VisibleIndex = 7;
  394. //
  395. // de_wccode
  396. //
  397. this.de_wccode.Caption = "工作中心";
  398. this.de_wccode.FieldName = "DE_WCCODE";
  399. this.de_wccode.Name = "de_wccode";
  400. this.de_wccode.Visible = true;
  401. this.de_wccode.VisibleIndex = 8;
  402. //
  403. // PageCommandSet
  404. //
  405. this.PageCommandSet.Controls.Add(this.ButtonDeleteCommand);
  406. this.PageCommandSet.Controls.Add(this.Brand_label);
  407. this.PageCommandSet.Controls.Add(this.Brand);
  408. this.PageCommandSet.Controls.Add(this.ButtonNewCommand);
  409. this.PageCommandSet.Controls.Add(this.ButtonSaveCommand);
  410. this.PageCommandSet.Controls.Add(this.GridCommandSetting);
  411. this.PageCommandSet.Name = "PageCommandSet";
  412. this.PageCommandSet.PageVisible = false;
  413. this.PageCommandSet.Size = new System.Drawing.Size(1027, 577);
  414. this.PageCommandSet.Text = "xtraTabPage1";
  415. this.PageCommandSet.VisibleChanged += new System.EventHandler(this.PageCommandSet_VisibleChanged);
  416. //
  417. // ButtonDeleteCommand
  418. //
  419. this.ButtonDeleteCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  420. this.ButtonDeleteCommand.Grid = null;
  421. this.ButtonDeleteCommand.Location = new System.Drawing.Point(816, 551);
  422. this.ButtonDeleteCommand.Name = "ButtonDeleteCommand";
  423. this.ButtonDeleteCommand.Size = new System.Drawing.Size(64, 23);
  424. this.ButtonDeleteCommand.TabIndex = 6;
  425. this.ButtonDeleteCommand.Text = "删除";
  426. //
  427. // Brand_label
  428. //
  429. this.Brand_label.Appearance.Font = new System.Drawing.Font("微软雅黑", 12F);
  430. this.Brand_label.Location = new System.Drawing.Point(8, 5);
  431. this.Brand_label.Name = "Brand_label";
  432. this.Brand_label.Size = new System.Drawing.Size(32, 21);
  433. this.Brand_label.TabIndex = 5;
  434. this.Brand_label.Text = "品牌";
  435. //
  436. // Brand
  437. //
  438. this.Brand.Location = new System.Drawing.Point(47, 4);
  439. this.Brand.MenuManager = this.RibbonNav;
  440. this.Brand.Name = "Brand";
  441. this.Brand.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  442. this.Brand.Properties.Appearance.Options.UseFont = true;
  443. this.Brand.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  444. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  445. this.Brand.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
  446. this.Brand.Size = new System.Drawing.Size(100, 24);
  447. this.Brand.TabIndex = 4;
  448. this.Brand.SelectedIndexChanged += new System.EventHandler(this.Brand_SelectedIndexChanged);
  449. //
  450. // ButtonNewCommand
  451. //
  452. this.ButtonNewCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  453. this.ButtonNewCommand.Location = new System.Drawing.Point(886, 551);
  454. this.ButtonNewCommand.Name = "ButtonNewCommand";
  455. this.ButtonNewCommand.Size = new System.Drawing.Size(64, 23);
  456. this.ButtonNewCommand.TabIndex = 3;
  457. this.ButtonNewCommand.Text = "新增";
  458. this.ButtonNewCommand.Click += new System.EventHandler(this.ButtonNewCommand_Click);
  459. //
  460. // ButtonSaveCommand
  461. //
  462. this.ButtonSaveCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  463. this.ButtonSaveCommand.Grid = null;
  464. this.ButtonSaveCommand.HandlerOtherFirst = true;
  465. this.ButtonSaveCommand.Location = new System.Drawing.Point(956, 551);
  466. this.ButtonSaveCommand.Name = "ButtonSaveCommand";
  467. this.ButtonSaveCommand.Size = new System.Drawing.Size(64, 23);
  468. this.ButtonSaveCommand.TabIndex = 2;
  469. this.ButtonSaveCommand.Text = "保存";
  470. this.ButtonSaveCommand.Click += new System.EventHandler(this.ButtonSaveCommand_Click);
  471. //
  472. // GridCommandSetting
  473. //
  474. this.GridCommandSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  475. | System.Windows.Forms.AnchorStyles.Left)
  476. | System.Windows.Forms.AnchorStyles.Right)));
  477. this.GridCommandSetting.Condition = null;
  478. this.GridCommandSetting.GetDataSQL = null;
  479. this.GridCommandSetting.ID = null;
  480. this.GridCommandSetting.InsertSQL = null;
  481. this.GridCommandSetting.Location = new System.Drawing.Point(0, 31);
  482. this.GridCommandSetting.MainView = this.GridViewCommandSet;
  483. this.GridCommandSetting.MenuManager = this.RibbonNav;
  484. this.GridCommandSetting.Name = "GridCommandSetting";
  485. this.GridCommandSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  486. this.CheckEditCommandSet});
  487. this.GridCommandSetting.RowCount = 0;
  488. this.GridCommandSetting.Size = new System.Drawing.Size(1027, 517);
  489. this.GridCommandSetting.TabIndex = 1;
  490. this.GridCommandSetting.TableName = null;
  491. this.GridCommandSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  492. this.GridViewCommandSet});
  493. //
  494. // GridViewCommandSet
  495. //
  496. this.GridViewCommandSet.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  497. this.CommandSetCheckedColumn,
  498. this.dc_id,
  499. this.dc_code,
  500. this.dc_name,
  501. this.dc_command});
  502. this.GridViewCommandSet.GridControl = this.GridCommandSetting;
  503. this.GridViewCommandSet.IndicatorWidth = 30;
  504. this.GridViewCommandSet.Name = "GridViewCommandSet";
  505. //
  506. // CommandSetCheckedColumn
  507. //
  508. this.CommandSetCheckedColumn.Caption = " ";
  509. this.CommandSetCheckedColumn.ColumnEdit = this.CheckEditCommandSet;
  510. this.CommandSetCheckedColumn.FieldName = "CHECKEDCOLUMN";
  511. this.CommandSetCheckedColumn.Name = "CommandSetCheckedColumn";
  512. this.CommandSetCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  513. this.CommandSetCheckedColumn.Tag = "0";
  514. this.CommandSetCheckedColumn.Visible = true;
  515. this.CommandSetCheckedColumn.VisibleIndex = 0;
  516. //
  517. // CheckEditCommandSet
  518. //
  519. this.CheckEditCommandSet.AutoHeight = false;
  520. this.CheckEditCommandSet.Name = "CheckEditCommandSet";
  521. this.CheckEditCommandSet.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
  522. //
  523. // dc_id
  524. //
  525. this.dc_id.FieldName = "DC_ID";
  526. this.dc_id.Name = "dc_id";
  527. //
  528. // dc_code
  529. //
  530. this.dc_code.Caption = "指令编号";
  531. this.dc_code.FieldName = "DC_CODE";
  532. this.dc_code.Name = "dc_code";
  533. this.dc_code.Visible = true;
  534. this.dc_code.VisibleIndex = 1;
  535. this.dc_code.Width = 118;
  536. //
  537. // dc_name
  538. //
  539. this.dc_name.Caption = "指令名称";
  540. this.dc_name.FieldName = "DC_NAME";
  541. this.dc_name.Name = "dc_name";
  542. this.dc_name.Visible = true;
  543. this.dc_name.VisibleIndex = 2;
  544. this.dc_name.Width = 123;
  545. //
  546. // dc_command
  547. //
  548. this.dc_command.Caption = "发送指令";
  549. this.dc_command.FieldName = "DC_COMMAND";
  550. this.dc_command.Name = "dc_command";
  551. this.dc_command.Visible = true;
  552. this.dc_command.VisibleIndex = 3;
  553. this.dc_command.Width = 768;
  554. //
  555. // PageDeviceKind
  556. //
  557. this.PageDeviceKind.Name = "PageDeviceKind";
  558. this.PageDeviceKind.PageVisible = false;
  559. this.PageDeviceKind.Size = new System.Drawing.Size(1027, 577);
  560. this.PageDeviceKind.Text = "xtraTabPage2";
  561. //
  562. // PageDeviceStatus
  563. //
  564. this.PageDeviceStatus.Name = "PageDeviceStatus";
  565. this.PageDeviceStatus.PageVisible = false;
  566. this.PageDeviceStatus.Size = new System.Drawing.Size(1027, 577);
  567. this.PageDeviceStatus.Text = "xtraTabPage3";
  568. //
  569. // PagePollingSetting
  570. //
  571. this.PagePollingSetting.Controls.Add(this.ButtonDeleteCommandSet);
  572. this.PagePollingSetting.Controls.Add(this.ButtonNewCommandSet);
  573. this.PagePollingSetting.Controls.Add(this.ButtonSaveCommandSet);
  574. this.PagePollingSetting.Controls.Add(this.ButtonPausePolling);
  575. this.PagePollingSetting.Controls.Add(this.ButtonStartPolling);
  576. this.PagePollingSetting.Controls.Add(this.GridPollingSetting);
  577. this.PagePollingSetting.Name = "PagePollingSetting";
  578. this.PagePollingSetting.PageVisible = false;
  579. this.PagePollingSetting.Size = new System.Drawing.Size(1027, 577);
  580. this.PagePollingSetting.Text = "xtraTabPage1";
  581. this.PagePollingSetting.VisibleChanged += new System.EventHandler(this.PagePollingSetting_VisibleChanged);
  582. //
  583. // ButtonDeleteCommandSet
  584. //
  585. this.ButtonDeleteCommandSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  586. this.ButtonDeleteCommandSet.Grid = null;
  587. this.ButtonDeleteCommandSet.Location = new System.Drawing.Point(816, 549);
  588. this.ButtonDeleteCommandSet.Name = "ButtonDeleteCommandSet";
  589. this.ButtonDeleteCommandSet.Size = new System.Drawing.Size(64, 23);
  590. this.ButtonDeleteCommandSet.TabIndex = 9;
  591. this.ButtonDeleteCommandSet.Text = "删除";
  592. //
  593. // ButtonNewCommandSet
  594. //
  595. this.ButtonNewCommandSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  596. this.ButtonNewCommandSet.Grid = null;
  597. this.ButtonNewCommandSet.Location = new System.Drawing.Point(886, 549);
  598. this.ButtonNewCommandSet.Name = "ButtonNewCommandSet";
  599. this.ButtonNewCommandSet.Size = new System.Drawing.Size(64, 23);
  600. this.ButtonNewCommandSet.TabIndex = 8;
  601. this.ButtonNewCommandSet.Text = "新增";
  602. //
  603. // ButtonSaveCommandSet
  604. //
  605. this.ButtonSaveCommandSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  606. this.ButtonSaveCommandSet.Grid = null;
  607. this.ButtonSaveCommandSet.HandlerOtherFirst = false;
  608. this.ButtonSaveCommandSet.Location = new System.Drawing.Point(956, 549);
  609. this.ButtonSaveCommandSet.Name = "ButtonSaveCommandSet";
  610. this.ButtonSaveCommandSet.Size = new System.Drawing.Size(64, 23);
  611. this.ButtonSaveCommandSet.TabIndex = 7;
  612. this.ButtonSaveCommandSet.Text = "保存";
  613. //
  614. // ButtonPausePolling
  615. //
  616. this.ButtonPausePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  617. this.ButtonPausePolling.Location = new System.Drawing.Point(734, 549);
  618. this.ButtonPausePolling.Name = "ButtonPausePolling";
  619. this.ButtonPausePolling.Size = new System.Drawing.Size(75, 23);
  620. this.ButtonPausePolling.TabIndex = 2;
  621. this.ButtonPausePolling.Text = "暂停轮询";
  622. this.ButtonPausePolling.Click += new System.EventHandler(this.ButtonPausePolling_Click);
  623. //
  624. // ButtonStartPolling
  625. //
  626. this.ButtonStartPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  627. this.ButtonStartPolling.Location = new System.Drawing.Point(653, 549);
  628. this.ButtonStartPolling.Name = "ButtonStartPolling";
  629. this.ButtonStartPolling.Size = new System.Drawing.Size(75, 23);
  630. this.ButtonStartPolling.TabIndex = 1;
  631. this.ButtonStartPolling.Text = "开启轮询";
  632. this.ButtonStartPolling.Click += new System.EventHandler(this.ButtonStartPolling_Click);
  633. //
  634. // GridPollingSetting
  635. //
  636. this.GridPollingSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  637. | System.Windows.Forms.AnchorStyles.Left)
  638. | System.Windows.Forms.AnchorStyles.Right)));
  639. this.GridPollingSetting.Condition = null;
  640. this.GridPollingSetting.GetDataSQL = null;
  641. this.GridPollingSetting.ID = null;
  642. this.GridPollingSetting.InsertSQL = null;
  643. this.GridPollingSetting.Location = new System.Drawing.Point(0, 0);
  644. this.GridPollingSetting.MainView = this.GridViewPollSetting;
  645. this.GridPollingSetting.MenuManager = this.RibbonNav;
  646. this.GridPollingSetting.Name = "GridPollingSetting";
  647. this.GridPollingSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  648. this.dpc_enableCheckEdit,
  649. this.PollingSetItemLookUpEdit,
  650. this.PollSettingItemSearchLookUpEdit});
  651. this.GridPollingSetting.RowCount = 0;
  652. this.GridPollingSetting.Size = new System.Drawing.Size(1027, 544);
  653. this.GridPollingSetting.TabIndex = 0;
  654. this.GridPollingSetting.TableName = null;
  655. this.GridPollingSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  656. this.GridViewPollSetting});
  657. //
  658. // GridViewPollSetting
  659. //
  660. this.GridViewPollSetting.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  661. this.PollSettingCheckedColumn,
  662. this.dpc_id,
  663. this.dpc_decode,
  664. this.dpc_plcode,
  665. this.dpc_plname,
  666. this.dpc_interval,
  667. this.dpc_dccode,
  668. this.dpc_function,
  669. this.dpc_enable,
  670. this.dpc_status,
  671. this.dpc_remark,
  672. this.POLLSETTINGSTATUSCOLUMN});
  673. this.GridViewPollSetting.GridControl = this.GridPollingSetting;
  674. this.GridViewPollSetting.IndicatorWidth = 30;
  675. this.GridViewPollSetting.Name = "GridViewPollSetting";
  676. this.GridViewPollSetting.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
  677. this.GridViewPollSetting.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.GridViewPollSetting_CellValueChanging);
  678. //
  679. // PollSettingCheckedColumn
  680. //
  681. this.PollSettingCheckedColumn.Caption = " ";
  682. this.PollSettingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
  683. this.PollSettingCheckedColumn.FieldName = "CHECKEDCOLUMN";
  684. this.PollSettingCheckedColumn.Name = "PollSettingCheckedColumn";
  685. this.PollSettingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  686. this.PollSettingCheckedColumn.OptionsFilter.AllowFilter = false;
  687. this.PollSettingCheckedColumn.Tag = "0";
  688. this.PollSettingCheckedColumn.Visible = true;
  689. this.PollSettingCheckedColumn.VisibleIndex = 0;
  690. //
  691. // dpc_enableCheckEdit
  692. //
  693. this.dpc_enableCheckEdit.AutoHeight = false;
  694. this.dpc_enableCheckEdit.Name = "dpc_enableCheckEdit";
  695. this.dpc_enableCheckEdit.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
  696. this.dpc_enableCheckEdit.PictureChecked = ((System.Drawing.Image)(resources.GetObject("dpc_enableCheckEdit.PictureChecked")));
  697. this.dpc_enableCheckEdit.PictureUnchecked = ((System.Drawing.Image)(resources.GetObject("dpc_enableCheckEdit.PictureUnchecked")));
  698. this.dpc_enableCheckEdit.ValueChecked = "-1";
  699. this.dpc_enableCheckEdit.ValueUnchecked = "0";
  700. //
  701. // dpc_id
  702. //
  703. this.dpc_id.Caption = "ID";
  704. this.dpc_id.FieldName = "DPC_ID";
  705. this.dpc_id.Name = "dpc_id";
  706. //
  707. // dpc_decode
  708. //
  709. this.dpc_decode.Caption = "设备编号";
  710. this.dpc_decode.FieldName = "DPC_DECODE";
  711. this.dpc_decode.Name = "dpc_decode";
  712. this.dpc_decode.Visible = true;
  713. this.dpc_decode.VisibleIndex = 1;
  714. this.dpc_decode.Width = 90;
  715. //
  716. // dpc_plcode
  717. //
  718. this.dpc_plcode.Caption = "业务编号";
  719. this.dpc_plcode.ColumnEdit = this.PollSettingItemSearchLookUpEdit;
  720. this.dpc_plcode.FieldName = "DPC_PLCODE";
  721. this.dpc_plcode.Name = "dpc_plcode";
  722. this.dpc_plcode.Visible = true;
  723. this.dpc_plcode.VisibleIndex = 2;
  724. this.dpc_plcode.Width = 90;
  725. //
  726. // PollSettingItemSearchLookUpEdit
  727. //
  728. this.PollSettingItemSearchLookUpEdit.AutoHeight = false;
  729. this.PollSettingItemSearchLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  730. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  731. this.PollSettingItemSearchLookUpEdit.Name = "PollSettingItemSearchLookUpEdit";
  732. this.PollSettingItemSearchLookUpEdit.NullText = "";
  733. this.PollSettingItemSearchLookUpEdit.View = this.PollSettingItemSearchLookUpEditView;
  734. //
  735. // PollSettingItemSearchLookUpEditView
  736. //
  737. this.PollSettingItemSearchLookUpEditView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  738. this.gridColumn1,
  739. this.gridColumn2,
  740. this.gridColumn3,
  741. this.gridColumn4,
  742. this.gridColumn5});
  743. this.PollSettingItemSearchLookUpEditView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
  744. this.PollSettingItemSearchLookUpEditView.Name = "PollSettingItemSearchLookUpEditView";
  745. this.PollSettingItemSearchLookUpEditView.OptionsSelection.EnableAppearanceFocusedCell = false;
  746. this.PollSettingItemSearchLookUpEditView.OptionsView.ShowGroupPanel = false;
  747. //
  748. // gridColumn1
  749. //
  750. this.gridColumn1.Caption = "业务编号";
  751. this.gridColumn1.FieldName = "PL_CODE";
  752. this.gridColumn1.Name = "gridColumn1";
  753. this.gridColumn1.Visible = true;
  754. this.gridColumn1.VisibleIndex = 0;
  755. //
  756. // gridColumn2
  757. //
  758. this.gridColumn2.Caption = "业务名称";
  759. this.gridColumn2.FieldName = "PL_NAME";
  760. this.gridColumn2.Name = "gridColumn2";
  761. this.gridColumn2.Visible = true;
  762. this.gridColumn2.VisibleIndex = 1;
  763. //
  764. // gridColumn3
  765. //
  766. this.gridColumn3.Caption = "业务类型";
  767. this.gridColumn3.FieldName = "PL_TYPE";
  768. this.gridColumn3.Name = "gridColumn3";
  769. this.gridColumn3.Visible = true;
  770. this.gridColumn3.VisibleIndex = 2;
  771. //
  772. // gridColumn4
  773. //
  774. this.gridColumn4.Caption = "指令编号";
  775. this.gridColumn4.FieldName = "PL_DCCODE";
  776. this.gridColumn4.Name = "gridColumn4";
  777. this.gridColumn4.Visible = true;
  778. this.gridColumn4.VisibleIndex = 3;
  779. //
  780. // gridColumn5
  781. //
  782. this.gridColumn5.Caption = "备注";
  783. this.gridColumn5.FieldName = "PL_REMARK";
  784. this.gridColumn5.Name = "gridColumn5";
  785. this.gridColumn5.Visible = true;
  786. this.gridColumn5.VisibleIndex = 4;
  787. //
  788. // dpc_plname
  789. //
  790. this.dpc_plname.Caption = "业务名称";
  791. this.dpc_plname.FieldName = "DPC_PLNAME";
  792. this.dpc_plname.Name = "dpc_plname";
  793. this.dpc_plname.Visible = true;
  794. this.dpc_plname.VisibleIndex = 3;
  795. this.dpc_plname.Width = 90;
  796. //
  797. // dpc_interval
  798. //
  799. this.dpc_interval.Caption = "轮询间隔";
  800. this.dpc_interval.FieldName = "DPC_INTERVAL";
  801. this.dpc_interval.Name = "dpc_interval";
  802. this.dpc_interval.Visible = true;
  803. this.dpc_interval.VisibleIndex = 4;
  804. this.dpc_interval.Width = 90;
  805. //
  806. // dpc_dccode
  807. //
  808. this.dpc_dccode.Caption = "指令编号";
  809. this.dpc_dccode.FieldName = "DPC_DCCODE";
  810. this.dpc_dccode.Name = "dpc_dccode";
  811. this.dpc_dccode.Visible = true;
  812. this.dpc_dccode.VisibleIndex = 5;
  813. this.dpc_dccode.Width = 90;
  814. //
  815. // PollingSetItemLookUpEdit
  816. //
  817. this.PollingSetItemLookUpEdit.AutoHeight = false;
  818. this.PollingSetItemLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  819. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  820. this.PollingSetItemLookUpEdit.Name = "PollingSetItemLookUpEdit";
  821. this.PollingSetItemLookUpEdit.NullText = "";
  822. this.PollingSetItemLookUpEdit.ShowFooter = false;
  823. this.PollingSetItemLookUpEdit.ShowHeader = false;
  824. //
  825. // dpc_function
  826. //
  827. this.dpc_function.Caption = "解析函数";
  828. this.dpc_function.FieldName = "DPC_FUNCTION";
  829. this.dpc_function.Name = "dpc_function";
  830. this.dpc_function.Visible = true;
  831. this.dpc_function.VisibleIndex = 6;
  832. this.dpc_function.Width = 90;
  833. //
  834. // dpc_enable
  835. //
  836. this.dpc_enable.Caption = "是否启用";
  837. this.dpc_enable.ColumnEdit = this.dpc_enableCheckEdit;
  838. this.dpc_enable.FieldName = "DPC_ENABLE";
  839. this.dpc_enable.Name = "dpc_enable";
  840. this.dpc_enable.Visible = true;
  841. this.dpc_enable.VisibleIndex = 7;
  842. this.dpc_enable.Width = 90;
  843. //
  844. // dpc_status
  845. //
  846. this.dpc_status.Caption = "状态";
  847. this.dpc_status.FieldName = "DPC_STATUS";
  848. this.dpc_status.Name = "dpc_status";
  849. this.dpc_status.Visible = true;
  850. this.dpc_status.VisibleIndex = 8;
  851. this.dpc_status.Width = 90;
  852. //
  853. // dpc_remark
  854. //
  855. this.dpc_remark.Caption = "备注";
  856. this.dpc_remark.FieldName = "DPC_REMARK";
  857. this.dpc_remark.Name = "dpc_remark";
  858. this.dpc_remark.Visible = true;
  859. this.dpc_remark.VisibleIndex = 9;
  860. this.dpc_remark.Width = 87;
  861. //
  862. // POLLSETTINGSTATUSCOLUMN
  863. //
  864. this.POLLSETTINGSTATUSCOLUMN.Caption = "运行状态";
  865. this.POLLSETTINGSTATUSCOLUMN.FieldName = "POLLSETTINGSTATUSCOLUMN";
  866. this.POLLSETTINGSTATUSCOLUMN.Name = "POLLSETTINGSTATUSCOLUMN";
  867. this.POLLSETTINGSTATUSCOLUMN.OptionsColumn.ReadOnly = true;
  868. this.POLLSETTINGSTATUSCOLUMN.Visible = true;
  869. this.POLLSETTINGSTATUSCOLUMN.VisibleIndex = 10;
  870. this.POLLSETTINGSTATUSCOLUMN.Width = 98;
  871. //
  872. // PagePolling
  873. //
  874. this.PagePolling.Controls.Add(this.ButtonAddPolling);
  875. this.PagePolling.Controls.Add(this.ButtonDeletePolling);
  876. this.PagePolling.Controls.Add(this.ButtonSavePolling);
  877. this.PagePolling.Controls.Add(this.GridPolling);
  878. this.PagePolling.Name = "PagePolling";
  879. this.PagePolling.PageVisible = false;
  880. this.PagePolling.Size = new System.Drawing.Size(1027, 577);
  881. this.PagePolling.Text = "xtraTabPage1";
  882. //
  883. // ButtonAddPolling
  884. //
  885. this.ButtonAddPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  886. this.ButtonAddPolling.Grid = null;
  887. this.ButtonAddPolling.Location = new System.Drawing.Point(878, 551);
  888. this.ButtonAddPolling.Name = "ButtonAddPolling";
  889. this.ButtonAddPolling.Size = new System.Drawing.Size(64, 23);
  890. this.ButtonAddPolling.TabIndex = 9;
  891. this.ButtonAddPolling.Text = "新增";
  892. //
  893. // ButtonDeletePolling
  894. //
  895. this.ButtonDeletePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  896. this.ButtonDeletePolling.Grid = null;
  897. this.ButtonDeletePolling.Location = new System.Drawing.Point(807, 551);
  898. this.ButtonDeletePolling.Name = "ButtonDeletePolling";
  899. this.ButtonDeletePolling.Size = new System.Drawing.Size(64, 23);
  900. this.ButtonDeletePolling.TabIndex = 8;
  901. this.ButtonDeletePolling.Text = "删除";
  902. //
  903. // ButtonSavePolling
  904. //
  905. this.ButtonSavePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  906. this.ButtonSavePolling.Grid = null;
  907. this.ButtonSavePolling.HandlerOtherFirst = false;
  908. this.ButtonSavePolling.Location = new System.Drawing.Point(949, 551);
  909. this.ButtonSavePolling.Name = "ButtonSavePolling";
  910. this.ButtonSavePolling.Size = new System.Drawing.Size(64, 23);
  911. this.ButtonSavePolling.TabIndex = 7;
  912. this.ButtonSavePolling.Text = "保存";
  913. //
  914. // GridPolling
  915. //
  916. this.GridPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  917. | System.Windows.Forms.AnchorStyles.Left)
  918. | System.Windows.Forms.AnchorStyles.Right)));
  919. this.GridPolling.Condition = null;
  920. this.GridPolling.GetDataSQL = null;
  921. this.GridPolling.ID = null;
  922. this.GridPolling.InsertSQL = null;
  923. this.GridPolling.Location = new System.Drawing.Point(3, -3);
  924. this.GridPolling.MainView = this.GridViewPolling;
  925. this.GridPolling.MenuManager = this.RibbonNav;
  926. this.GridPolling.Name = "GridPolling";
  927. this.GridPolling.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  928. this.dpc_enableCheckEdit});
  929. this.GridPolling.RowCount = 0;
  930. this.GridPolling.Size = new System.Drawing.Size(1027, 549);
  931. this.GridPolling.TabIndex = 0;
  932. this.GridPolling.TableName = null;
  933. this.GridPolling.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  934. this.GridViewPolling});
  935. this.GridPolling.VisibleChanged += new System.EventHandler(this.GridPolling_VisibleChanged);
  936. //
  937. // GridViewPolling
  938. //
  939. this.GridViewPolling.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  940. this.PollingCheckedColumn,
  941. this.pl_id,
  942. this.pl_code,
  943. this.pl_name,
  944. this.pl_type,
  945. this.pl_dccode,
  946. this.pl_remark});
  947. this.GridViewPolling.GridControl = this.GridPolling;
  948. this.GridViewPolling.IndicatorWidth = 30;
  949. this.GridViewPolling.Name = "GridViewPolling";
  950. //
  951. // PollingCheckedColumn
  952. //
  953. this.PollingCheckedColumn.Caption = " ";
  954. this.PollingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
  955. this.PollingCheckedColumn.FieldName = "CHECKEDCOLUMN";
  956. this.PollingCheckedColumn.Name = "PollingCheckedColumn";
  957. this.PollingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  958. this.PollingCheckedColumn.Tag = "0";
  959. this.PollingCheckedColumn.Visible = true;
  960. this.PollingCheckedColumn.VisibleIndex = 0;
  961. //
  962. // pl_id
  963. //
  964. this.pl_id.Caption = "ID";
  965. this.pl_id.FieldName = "PL_ID";
  966. this.pl_id.Name = "pl_id";
  967. //
  968. // pl_code
  969. //
  970. this.pl_code.Caption = "业务编号";
  971. this.pl_code.FieldName = "PL_CODE";
  972. this.pl_code.Name = "pl_code";
  973. this.pl_code.Visible = true;
  974. this.pl_code.VisibleIndex = 1;
  975. //
  976. // pl_name
  977. //
  978. this.pl_name.Caption = "业务名称";
  979. this.pl_name.FieldName = "PL_NAME";
  980. this.pl_name.Name = "pl_name";
  981. this.pl_name.Visible = true;
  982. this.pl_name.VisibleIndex = 2;
  983. //
  984. // pl_type
  985. //
  986. this.pl_type.Caption = "业务类型";
  987. this.pl_type.FieldName = "PL_TYPE";
  988. this.pl_type.Name = "pl_type";
  989. this.pl_type.Visible = true;
  990. this.pl_type.VisibleIndex = 3;
  991. //
  992. // pl_dccode
  993. //
  994. this.pl_dccode.Caption = "指令编号";
  995. this.pl_dccode.ColumnEdit = this.PollingSetItemLookUpEdit;
  996. this.pl_dccode.FieldName = "PL_DCCODE";
  997. this.pl_dccode.Name = "pl_dccode";
  998. this.pl_dccode.Visible = true;
  999. this.pl_dccode.VisibleIndex = 4;
  1000. //
  1001. // pl_remark
  1002. //
  1003. this.pl_remark.Caption = "备注";
  1004. this.pl_remark.FieldName = "PL_REMARK";
  1005. this.pl_remark.Name = "pl_remark";
  1006. this.pl_remark.Visible = true;
  1007. this.pl_remark.VisibleIndex = 5;
  1008. //
  1009. // Main
  1010. //
  1011. this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.False;
  1012. this.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
  1013. this.Appearance.Options.UseForeColor = true;
  1014. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
  1015. this.ClientSize = new System.Drawing.Size(1033, 711);
  1016. this.Controls.Add(this.MainTabControl);
  1017. this.Controls.Add(this.RibbonNav);
  1018. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  1019. this.Name = "Main";
  1020. this.Ribbon = this.RibbonNav;
  1021. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  1022. this.Text = "设备监控管理平台";
  1023. this.Load += new System.EventHandler(this.Main_Load);
  1024. ((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).EndInit();
  1025. ((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).EndInit();
  1026. this.MainTabControl.ResumeLayout(false);
  1027. this.PageDeviceList.ResumeLayout(false);
  1028. ((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).EndInit();
  1029. ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).EndInit();
  1030. this.PageCommandSet.ResumeLayout(false);
  1031. this.PageCommandSet.PerformLayout();
  1032. ((System.ComponentModel.ISupportInitialize)(this.Brand.Properties)).EndInit();
  1033. ((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).EndInit();
  1034. ((System.ComponentModel.ISupportInitialize)(this.GridViewCommandSet)).EndInit();
  1035. ((System.ComponentModel.ISupportInitialize)(this.CheckEditCommandSet)).EndInit();
  1036. this.PagePollingSetting.ResumeLayout(false);
  1037. ((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).EndInit();
  1038. ((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).EndInit();
  1039. ((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).EndInit();
  1040. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEdit)).EndInit();
  1041. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEditView)).EndInit();
  1042. ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).EndInit();
  1043. this.PagePolling.ResumeLayout(false);
  1044. ((System.ComponentModel.ISupportInitialize)(this.GridPolling)).EndInit();
  1045. ((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).EndInit();
  1046. this.ResumeLayout(false);
  1047. this.PerformLayout();
  1048. }
  1049. #endregion
  1050. private DevExpress.XtraBars.Ribbon.RibbonControl RibbonNav;
  1051. private DevExpress.XtraBars.BarButtonItem ButtonDeviceList;
  1052. private DevExpress.XtraBars.Ribbon.RibbonPage DeviceInf;
  1053. private DevExpress.XtraBars.Ribbon.RibbonPageGroup RibDeviceInf;
  1054. private DevExpress.XtraBars.BarButtonItem ButtonDeviceKind;
  1055. private DevExpress.XtraTab.XtraTabControl MainTabControl;
  1056. private DevExpress.XtraBars.BarButtonItem ButtonDeviceStatus;
  1057. private DevExpress.XtraBars.Ribbon.RibbonPage DeviceCommandSetting;
  1058. private DevExpress.XtraBars.BarButtonItem ButtonCommandSet;
  1059. private DevExpress.XtraBars.Ribbon.RibbonPageGroup RibDeviceCommand;
  1060. private DevExpress.XtraTab.XtraTabPage PageDeviceList;
  1061. private DevExpress.XtraTab.XtraTabPage PageCommandSet;
  1062. private DevExpress.XtraTab.XtraTabPage PageDeviceKind;
  1063. private DevExpress.XtraTab.XtraTabPage PageDeviceStatus;
  1064. private AutoDataGridControl GridDeviceList;
  1065. private DevExpress.XtraBars.BarButtonItem ButtonPollingSetting;
  1066. private DevExpress.XtraBars.BarButtonItem ButtionPolling;
  1067. private DevExpress.XtraTab.XtraTabPage PagePollingSetting;
  1068. private DevExpress.XtraTab.XtraTabPage PagePolling;
  1069. private DevExpress.XtraGrid.Columns.GridColumn de_id;
  1070. private DevExpress.XtraGrid.Columns.GridColumn de_code;
  1071. private DevExpress.XtraGrid.Columns.GridColumn de_name;
  1072. private DevExpress.XtraGrid.Columns.GridColumn de_runstatus;
  1073. private DevExpress.XtraGrid.Columns.GridColumn de_indate;
  1074. private DevExpress.XtraGrid.Columns.GridColumn de_spec;
  1075. private DevExpress.XtraGrid.Columns.GridColumn de_vendcode;
  1076. private DevExpress.XtraGrid.Columns.GridColumn de_vendname;
  1077. private DevExpress.XtraGrid.Columns.GridColumn de_address;
  1078. private DevExpress.XtraGrid.Columns.GridColumn de_wccode;
  1079. private CustomerControl.PagingControl.PageControl PageControlDeviceList;
  1080. private AutoDataGridControl GridCommandSetting;
  1081. private DevExpress.XtraGrid.Columns.GridColumn dc_id;
  1082. private DevExpress.XtraGrid.Columns.GridColumn dc_code;
  1083. private DevExpress.XtraGrid.Columns.GridColumn dc_name;
  1084. private DevExpress.XtraGrid.Columns.GridColumn dc_command;
  1085. private AutoDataGridControl GridPolling;
  1086. private AutoDataGridControl GridPollingSetting;
  1087. private DevExpress.XtraGrid.Columns.GridColumn pl_id;
  1088. private DevExpress.XtraGrid.Columns.GridColumn pl_code;
  1089. private DevExpress.XtraGrid.Columns.GridColumn pl_name;
  1090. private DevExpress.XtraGrid.Columns.GridColumn pl_type;
  1091. private DevExpress.XtraGrid.Columns.GridColumn pl_dccode;
  1092. private DevExpress.XtraGrid.Columns.GridColumn pl_remark;
  1093. private DevExpress.XtraGrid.Columns.GridColumn dpc_id;
  1094. private DevExpress.XtraGrid.Columns.GridColumn dpc_decode;
  1095. private DevExpress.XtraGrid.Columns.GridColumn dpc_plcode;
  1096. private DevExpress.XtraGrid.Columns.GridColumn dpc_plname;
  1097. private DevExpress.XtraGrid.Columns.GridColumn dpc_interval;
  1098. private DevExpress.XtraGrid.Columns.GridColumn dpc_dccode;
  1099. private DevExpress.XtraGrid.Columns.GridColumn dpc_function;
  1100. private DevExpress.XtraGrid.Columns.GridColumn dpc_enable;
  1101. private DevExpress.XtraGrid.Columns.GridColumn dpc_status;
  1102. private DevExpress.XtraGrid.Columns.GridColumn dpc_remark;
  1103. private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit dpc_enableCheckEdit;
  1104. private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommand;
  1105. private SimpleButton ButtonNewCommand;
  1106. private GridViewWithSerialNum GridViewDeviceList;
  1107. private GridViewWithSerialNum GridViewCommandSet;
  1108. private GridViewWithSerialNum GridViewPolling;
  1109. private GridViewWithSerialNum GridViewPollSetting;
  1110. private LabelControl Brand_label;
  1111. private ComboBoxEdit Brand;
  1112. private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit CheckEditCommandSet;
  1113. private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommand;
  1114. private CustomerControl.Button.ButtonDeleteRow ButtonDeletePolling;
  1115. private CustomerControl.Button.ButtonSaveGrid ButtonSavePolling;
  1116. private CustomerControl.Button.ButtonAddRow ButtonAddPolling;
  1117. private SimpleButton ButtonPausePolling;
  1118. private SimpleButton ButtonStartPolling;
  1119. private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommandSet;
  1120. private CustomerControl.Button.ButtonAddRow ButtonNewCommandSet;
  1121. private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommandSet;
  1122. private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit PollingSetItemLookUpEdit;
  1123. private DevExpress.XtraGrid.Columns.GridColumn POLLSETTINGSTATUSCOLUMN;
  1124. private DevExpress.XtraGrid.Columns.GridColumn PollSettingCheckedColumn;
  1125. private DevExpress.XtraGrid.Columns.GridColumn CommandSetCheckedColumn;
  1126. private DevExpress.XtraGrid.Columns.GridColumn PollingCheckedColumn;
  1127. private DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit PollSettingItemSearchLookUpEdit;
  1128. private DevExpress.XtraGrid.Views.Grid.GridView PollSettingItemSearchLookUpEditView;
  1129. private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
  1130. private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
  1131. private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
  1132. private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
  1133. private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
  1134. }
  1135. }