Main.Designer.cs 57 KB

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