Main.Designer.cs 75 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376
  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.ButtonDeviceNetSetting = new DevExpress.XtraBars.BarButtonItem();
  36. this.ButtonCommandSet = new DevExpress.XtraBars.BarButtonItem();
  37. this.ButtonPollingSetting = new DevExpress.XtraBars.BarButtonItem();
  38. this.ButtionPolling = new DevExpress.XtraBars.BarButtonItem();
  39. this.ButtonDeviceStatus = new DevExpress.XtraBars.BarButtonItem();
  40. this.ButtonWorkCenterStatus = 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.ToolPageControlDeviceList = 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 CustomerControl.Button.ButtonAddRow();
  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.CommandSetCheckedColumn = 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_value = new DevExpress.XtraGrid.Columns.GridColumn();
  74. this.PageDeviceNetSetting = new DevExpress.XtraTab.XtraTabPage();
  75. this.ButtonDeleteNetConfig = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
  76. this.ButtonAddNetConfig = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
  77. this.ButtonSaveNetConfig = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
  78. this.GridDeviceNetSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  79. this.GridViewDeviceNetSetting = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  80. this.NetSettingCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
  81. this.dpc_enableCheckEdit = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
  82. this.dnc_id = new DevExpress.XtraGrid.Columns.GridColumn();
  83. this.dnc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
  84. this.dnc_getway = new DevExpress.XtraGrid.Columns.GridColumn();
  85. this.dnc_upperip = new DevExpress.XtraGrid.Columns.GridColumn();
  86. this.dnc_port = new DevExpress.XtraGrid.Columns.GridColumn();
  87. this.dnc_mac = new DevExpress.XtraGrid.Columns.GridColumn();
  88. this.dnc_ip = new DevExpress.XtraGrid.Columns.GridColumn();
  89. this.dnc_type = new DevExpress.XtraGrid.Columns.GridColumn();
  90. this.PagePollingSetting = new DevExpress.XtraTab.XtraTabPage();
  91. this.ButtonDeleteCommandSet = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
  92. this.ButtonNewCommandSet = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
  93. this.ButtonSaveCommandSet = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
  94. this.ButtonPausePolling = new DevExpress.XtraEditors.SimpleButton();
  95. this.ButtonStartPolling = new DevExpress.XtraEditors.SimpleButton();
  96. this.GridPollingSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  97. this.GridViewPollSetting = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  98. this.PollSettingCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
  99. this.dpc_id = new DevExpress.XtraGrid.Columns.GridColumn();
  100. this.dpc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
  101. this.dpc_interval = new DevExpress.XtraGrid.Columns.GridColumn();
  102. this.dpc_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
  103. this.PollSettingItemSearchLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit();
  104. this.PollSettingItemSearchLookUpEditView = new DevExpress.XtraGrid.Views.Grid.GridView();
  105. this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
  106. this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
  107. this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
  108. this.dpc_function = new DevExpress.XtraGrid.Columns.GridColumn();
  109. this.dpc_enable = new DevExpress.XtraGrid.Columns.GridColumn();
  110. this.dpc_status = new DevExpress.XtraGrid.Columns.GridColumn();
  111. this.dpc_remark = new DevExpress.XtraGrid.Columns.GridColumn();
  112. this.POLLSETTINGSTATUSCOLUMN = new DevExpress.XtraGrid.Columns.GridColumn();
  113. this.PollingSetItemLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
  114. this.PagePolling = new DevExpress.XtraTab.XtraTabPage();
  115. this.ButtonAddPolling = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
  116. this.ButtonDeletePolling = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
  117. this.ButtonSavePolling = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
  118. this.GridPolling = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  119. this.GridViewPolling = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  120. this.PollingCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
  121. this.pl_id = new DevExpress.XtraGrid.Columns.GridColumn();
  122. this.pl_code = new DevExpress.XtraGrid.Columns.GridColumn();
  123. this.pl_name = new DevExpress.XtraGrid.Columns.GridColumn();
  124. this.pl_type = new DevExpress.XtraGrid.Columns.GridColumn();
  125. this.pl_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
  126. this.pl_remark = new DevExpress.XtraGrid.Columns.GridColumn();
  127. this.PageDeviceStatus = new DevExpress.XtraTab.XtraTabPage();
  128. this.GridDeviceStatus = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  129. this.GridViewDeviceStatus = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  130. this.PageWorkCenterStatus = new DevExpress.XtraTab.XtraTabPage();
  131. this.GridWorkCenterStatus = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  132. this.GridViewWorkCenterStatus = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  133. ((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).BeginInit();
  134. ((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).BeginInit();
  135. this.MainTabControl.SuspendLayout();
  136. this.PageDeviceList.SuspendLayout();
  137. ((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).BeginInit();
  138. ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).BeginInit();
  139. this.PageCommandSet.SuspendLayout();
  140. ((System.ComponentModel.ISupportInitialize)(this.Brand.Properties)).BeginInit();
  141. ((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).BeginInit();
  142. ((System.ComponentModel.ISupportInitialize)(this.GridViewCommandSet)).BeginInit();
  143. ((System.ComponentModel.ISupportInitialize)(this.CheckEditCommandSet)).BeginInit();
  144. this.PageDeviceNetSetting.SuspendLayout();
  145. ((System.ComponentModel.ISupportInitialize)(this.GridDeviceNetSetting)).BeginInit();
  146. ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceNetSetting)).BeginInit();
  147. ((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).BeginInit();
  148. this.PagePollingSetting.SuspendLayout();
  149. ((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).BeginInit();
  150. ((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).BeginInit();
  151. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEdit)).BeginInit();
  152. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEditView)).BeginInit();
  153. ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).BeginInit();
  154. this.PagePolling.SuspendLayout();
  155. ((System.ComponentModel.ISupportInitialize)(this.GridPolling)).BeginInit();
  156. ((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).BeginInit();
  157. this.PageDeviceStatus.SuspendLayout();
  158. ((System.ComponentModel.ISupportInitialize)(this.GridDeviceStatus)).BeginInit();
  159. ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceStatus)).BeginInit();
  160. this.PageWorkCenterStatus.SuspendLayout();
  161. ((System.ComponentModel.ISupportInitialize)(this.GridWorkCenterStatus)).BeginInit();
  162. ((System.ComponentModel.ISupportInitialize)(this.GridViewWorkCenterStatus)).BeginInit();
  163. this.SuspendLayout();
  164. //
  165. // RibbonNav
  166. //
  167. this.RibbonNav.ApplicationIcon = global::UAS_DeviceMonitor.Properties.Resources.U_Letter_72px_1121581_easyicon_net;
  168. this.RibbonNav.DrawGroupCaptions = DevExpress.Utils.DefaultBoolean.False;
  169. this.RibbonNav.ExpandCollapseItem.Id = 0;
  170. this.RibbonNav.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
  171. this.RibbonNav.ExpandCollapseItem,
  172. this.ButtonDeviceList,
  173. this.ButtonDeviceNetSetting,
  174. this.ButtonCommandSet,
  175. this.ButtonPollingSetting,
  176. this.ButtionPolling,
  177. this.ButtonDeviceStatus,
  178. this.ButtonWorkCenterStatus});
  179. this.RibbonNav.Location = new System.Drawing.Point(0, 0);
  180. this.RibbonNav.MaxItemId = 15;
  181. this.RibbonNav.Name = "RibbonNav";
  182. this.RibbonNav.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
  183. this.DeviceInf,
  184. this.DeviceCommandSetting});
  185. this.RibbonNav.Size = new System.Drawing.Size(1033, 128);
  186. //
  187. // ButtonDeviceList
  188. //
  189. this.ButtonDeviceList.Caption = "设备主档资料";
  190. this.ButtonDeviceList.Id = 5;
  191. this.ButtonDeviceList.LargeGlyph = global::UAS_DeviceMonitor.Properties.Resources.netstatus_tx_64px_18991_easyicon_net;
  192. this.ButtonDeviceList.Name = "ButtonDeviceList";
  193. this.ButtonDeviceList.Tag = "PageDeviceList";
  194. this.ButtonDeviceList.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  195. //
  196. // ButtonDeviceNetSetting
  197. //
  198. this.ButtonDeviceNetSetting.Caption = "设备联网配置";
  199. this.ButtonDeviceNetSetting.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceNetSetting.Glyph")));
  200. this.ButtonDeviceNetSetting.Id = 8;
  201. this.ButtonDeviceNetSetting.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceNetSetting.LargeGlyph")));
  202. this.ButtonDeviceNetSetting.Name = "ButtonDeviceNetSetting";
  203. this.ButtonDeviceNetSetting.Tag = "PageDeviceNetSetting";
  204. this.ButtonDeviceNetSetting.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  205. //
  206. // ButtonCommandSet
  207. //
  208. this.ButtonCommandSet.Caption = "通信规则定义";
  209. this.ButtonCommandSet.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonCommandSet.Glyph")));
  210. this.ButtonCommandSet.Id = 9;
  211. this.ButtonCommandSet.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonCommandSet.LargeGlyph")));
  212. this.ButtonCommandSet.Name = "ButtonCommandSet";
  213. this.ButtonCommandSet.Tag = "PageCommandSet";
  214. this.ButtonCommandSet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  215. //
  216. // ButtonPollingSetting
  217. //
  218. this.ButtonPollingSetting.Caption = "设备轮询配置";
  219. this.ButtonPollingSetting.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonPollingSetting.Glyph")));
  220. this.ButtonPollingSetting.Id = 11;
  221. this.ButtonPollingSetting.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonPollingSetting.LargeGlyph")));
  222. this.ButtonPollingSetting.Name = "ButtonPollingSetting";
  223. this.ButtonPollingSetting.Tag = "PagePollingSetting";
  224. this.ButtonPollingSetting.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  225. //
  226. // ButtionPolling
  227. //
  228. this.ButtionPolling.Caption = "轮询业务定义";
  229. this.ButtionPolling.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtionPolling.Glyph")));
  230. this.ButtionPolling.Id = 12;
  231. this.ButtionPolling.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtionPolling.LargeGlyph")));
  232. this.ButtionPolling.Name = "ButtionPolling";
  233. this.ButtionPolling.Tag = "PagePolling";
  234. this.ButtionPolling.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  235. //
  236. // ButtonDeviceStatus
  237. //
  238. this.ButtonDeviceStatus.Caption = "设备运行监控";
  239. this.ButtonDeviceStatus.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceStatus.Glyph")));
  240. this.ButtonDeviceStatus.Id = 13;
  241. this.ButtonDeviceStatus.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceStatus.LargeGlyph")));
  242. this.ButtonDeviceStatus.Name = "ButtonDeviceStatus";
  243. this.ButtonDeviceStatus.Tag = "PageDeviceStatus";
  244. this.ButtonDeviceStatus.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  245. //
  246. // ButtonWorkCenterStatus
  247. //
  248. this.ButtonWorkCenterStatus.Caption = "车间全局监控";
  249. this.ButtonWorkCenterStatus.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonWorkCenterStatus.Glyph")));
  250. this.ButtonWorkCenterStatus.Id = 14;
  251. this.ButtonWorkCenterStatus.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonWorkCenterStatus.LargeGlyph")));
  252. this.ButtonWorkCenterStatus.Name = "ButtonWorkCenterStatus";
  253. this.ButtonWorkCenterStatus.Tag = "PageWorkCenterStatus";
  254. this.ButtonWorkCenterStatus.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  255. //
  256. // DeviceInf
  257. //
  258. this.DeviceInf.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
  259. this.RibDeviceInf});
  260. this.DeviceInf.Name = "DeviceInf";
  261. this.DeviceInf.Text = "设备参数配置";
  262. //
  263. // RibDeviceInf
  264. //
  265. this.RibDeviceInf.AllowTextClipping = false;
  266. this.RibDeviceInf.ItemLinks.Add(this.ButtonCommandSet, true);
  267. this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceList);
  268. this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceNetSetting);
  269. this.RibDeviceInf.ItemLinks.Add(this.ButtonPollingSetting);
  270. this.RibDeviceInf.Name = "RibDeviceInf";
  271. this.RibDeviceInf.ShowCaptionButton = false;
  272. //
  273. // DeviceCommandSetting
  274. //
  275. this.DeviceCommandSetting.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
  276. this.RibDeviceCommand});
  277. this.DeviceCommandSetting.Name = "DeviceCommandSetting";
  278. this.DeviceCommandSetting.Text = "设备运行监控";
  279. //
  280. // RibDeviceCommand
  281. //
  282. this.RibDeviceCommand.ItemLinks.Add(this.ButtonDeviceStatus);
  283. this.RibDeviceCommand.ItemLinks.Add(this.ButtonWorkCenterStatus);
  284. this.RibDeviceCommand.Name = "RibDeviceCommand";
  285. this.RibDeviceCommand.Text = "ribbonPageGroup3";
  286. //
  287. // MainTabControl
  288. //
  289. this.MainTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
  290. this.MainTabControl.Location = new System.Drawing.Point(0, 128);
  291. this.MainTabControl.Name = "MainTabControl";
  292. this.MainTabControl.SelectedTabPage = this.PageDeviceList;
  293. this.MainTabControl.ShowTabHeader = DevExpress.Utils.DefaultBoolean.False;
  294. this.MainTabControl.Size = new System.Drawing.Size(1033, 583);
  295. this.MainTabControl.TabIndex = 3;
  296. this.MainTabControl.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
  297. this.PageDeviceList,
  298. this.PageCommandSet,
  299. this.PageDeviceNetSetting,
  300. this.PagePollingSetting,
  301. this.PagePolling,
  302. this.PageDeviceStatus,
  303. this.PageWorkCenterStatus});
  304. //
  305. // PageDeviceList
  306. //
  307. this.PageDeviceList.Controls.Add(this.ToolPageControlDeviceList);
  308. this.PageDeviceList.Controls.Add(this.GridDeviceList);
  309. this.PageDeviceList.Name = "PageDeviceList";
  310. this.PageDeviceList.PageVisible = false;
  311. this.PageDeviceList.Size = new System.Drawing.Size(1027, 577);
  312. this.PageDeviceList.Text = "xtraTabPage1";
  313. //
  314. // ToolPageControlDeviceList
  315. //
  316. this.ToolPageControlDeviceList.Dock = System.Windows.Forms.DockStyle.Bottom;
  317. this.ToolPageControlDeviceList.Gridcontrol = null;
  318. this.ToolPageControlDeviceList.Location = new System.Drawing.Point(0, 548);
  319. this.ToolPageControlDeviceList.Name = "ToolPageControlDeviceList";
  320. this.ToolPageControlDeviceList.Size = new System.Drawing.Size(1027, 29);
  321. this.ToolPageControlDeviceList.TabIndex = 1;
  322. //
  323. // GridDeviceList
  324. //
  325. this.GridDeviceList.Condition = null;
  326. this.GridDeviceList.Dock = System.Windows.Forms.DockStyle.Fill;
  327. this.GridDeviceList.GetDataSQL = null;
  328. this.GridDeviceList.ID = null;
  329. this.GridDeviceList.InsertSQL = null;
  330. this.GridDeviceList.Location = new System.Drawing.Point(0, 0);
  331. this.GridDeviceList.MainView = this.GridViewDeviceList;
  332. this.GridDeviceList.MenuManager = this.RibbonNav;
  333. this.GridDeviceList.Name = "GridDeviceList";
  334. this.GridDeviceList.RowCount = 0;
  335. this.GridDeviceList.Size = new System.Drawing.Size(1027, 577);
  336. this.GridDeviceList.TabIndex = 0;
  337. this.GridDeviceList.TableName = null;
  338. this.GridDeviceList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  339. this.GridViewDeviceList});
  340. //
  341. // GridViewDeviceList
  342. //
  343. this.GridViewDeviceList.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  344. this.de_id,
  345. this.de_code,
  346. this.de_name,
  347. this.de_runstatus,
  348. this.de_indate,
  349. this.de_spec,
  350. this.de_vendcode,
  351. this.de_vendname,
  352. this.de_address,
  353. this.de_wccode});
  354. this.GridViewDeviceList.GridControl = this.GridDeviceList;
  355. this.GridViewDeviceList.IndicatorWidth = 30;
  356. this.GridViewDeviceList.Name = "GridViewDeviceList";
  357. this.GridViewDeviceList.OptionsView.ShowGroupPanel = false;
  358. //
  359. // de_id
  360. //
  361. this.de_id.Caption = "de_id";
  362. this.de_id.FieldName = "DE_ID";
  363. this.de_id.Name = "de_id";
  364. //
  365. // de_code
  366. //
  367. this.de_code.Caption = "设备编号";
  368. this.de_code.FieldName = "DE_CODE";
  369. this.de_code.Name = "de_code";
  370. this.de_code.Visible = true;
  371. this.de_code.VisibleIndex = 0;
  372. //
  373. // de_name
  374. //
  375. this.de_name.Caption = "设备名称";
  376. this.de_name.FieldName = "DE_NAME";
  377. this.de_name.Name = "de_name";
  378. this.de_name.Visible = true;
  379. this.de_name.VisibleIndex = 1;
  380. //
  381. // de_runstatus
  382. //
  383. this.de_runstatus.Caption = "运行状态";
  384. this.de_runstatus.FieldName = "DE_RUNSTATUS";
  385. this.de_runstatus.Name = "de_runstatus";
  386. this.de_runstatus.Visible = true;
  387. this.de_runstatus.VisibleIndex = 2;
  388. //
  389. // de_indate
  390. //
  391. this.de_indate.Caption = "录入日期";
  392. this.de_indate.DisplayFormat.FormatString = "yyyy-MM-dd";
  393. this.de_indate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
  394. this.de_indate.FieldName = "DE_INDATE";
  395. this.de_indate.FilterMode = DevExpress.XtraGrid.ColumnFilterMode.DisplayText;
  396. this.de_indate.Name = "de_indate";
  397. this.de_indate.Visible = true;
  398. this.de_indate.VisibleIndex = 3;
  399. //
  400. // de_spec
  401. //
  402. this.de_spec.Caption = "设备规格";
  403. this.de_spec.FieldName = "DE_SPEC";
  404. this.de_spec.Name = "de_spec";
  405. this.de_spec.Visible = true;
  406. this.de_spec.VisibleIndex = 4;
  407. //
  408. // de_vendcode
  409. //
  410. this.de_vendcode.Caption = "供应商编号";
  411. this.de_vendcode.FieldName = "DE_VENDCODE";
  412. this.de_vendcode.Name = "de_vendcode";
  413. this.de_vendcode.Visible = true;
  414. this.de_vendcode.VisibleIndex = 5;
  415. //
  416. // de_vendname
  417. //
  418. this.de_vendname.Caption = "供应商名称";
  419. this.de_vendname.FieldName = "DE_VENDNAME";
  420. this.de_vendname.Name = "de_vendname";
  421. this.de_vendname.Visible = true;
  422. this.de_vendname.VisibleIndex = 6;
  423. //
  424. // de_address
  425. //
  426. this.de_address.Caption = "设备地点";
  427. this.de_address.FieldName = "DE_ADDRESS";
  428. this.de_address.Name = "de_address";
  429. this.de_address.Visible = true;
  430. this.de_address.VisibleIndex = 7;
  431. //
  432. // de_wccode
  433. //
  434. this.de_wccode.Caption = "工作中心";
  435. this.de_wccode.FieldName = "DE_WCCODE";
  436. this.de_wccode.Name = "de_wccode";
  437. this.de_wccode.Visible = true;
  438. this.de_wccode.VisibleIndex = 8;
  439. //
  440. // PageCommandSet
  441. //
  442. this.PageCommandSet.Controls.Add(this.ButtonDeleteCommand);
  443. this.PageCommandSet.Controls.Add(this.Brand_label);
  444. this.PageCommandSet.Controls.Add(this.Brand);
  445. this.PageCommandSet.Controls.Add(this.ButtonNewCommand);
  446. this.PageCommandSet.Controls.Add(this.ButtonSaveCommand);
  447. this.PageCommandSet.Controls.Add(this.GridCommandSetting);
  448. this.PageCommandSet.Name = "PageCommandSet";
  449. this.PageCommandSet.PageVisible = false;
  450. this.PageCommandSet.Size = new System.Drawing.Size(1027, 577);
  451. this.PageCommandSet.Text = "xtraTabPage1";
  452. this.PageCommandSet.VisibleChanged += new System.EventHandler(this.PageCommandSet_VisibleChanged);
  453. //
  454. // ButtonDeleteCommand
  455. //
  456. this.ButtonDeleteCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  457. this.ButtonDeleteCommand.Grid = null;
  458. this.ButtonDeleteCommand.Location = new System.Drawing.Point(816, 551);
  459. this.ButtonDeleteCommand.Name = "ButtonDeleteCommand";
  460. this.ButtonDeleteCommand.Size = new System.Drawing.Size(64, 23);
  461. this.ButtonDeleteCommand.TabIndex = 6;
  462. this.ButtonDeleteCommand.Text = "删除";
  463. //
  464. // Brand_label
  465. //
  466. this.Brand_label.Appearance.Font = new System.Drawing.Font("微软雅黑", 12F);
  467. this.Brand_label.Location = new System.Drawing.Point(8, 5);
  468. this.Brand_label.Name = "Brand_label";
  469. this.Brand_label.Size = new System.Drawing.Size(32, 21);
  470. this.Brand_label.TabIndex = 5;
  471. this.Brand_label.Text = "品牌";
  472. //
  473. // Brand
  474. //
  475. this.Brand.Location = new System.Drawing.Point(47, 4);
  476. this.Brand.MenuManager = this.RibbonNav;
  477. this.Brand.Name = "Brand";
  478. this.Brand.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  479. this.Brand.Properties.Appearance.Options.UseFont = true;
  480. this.Brand.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  481. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  482. this.Brand.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
  483. this.Brand.Size = new System.Drawing.Size(100, 24);
  484. this.Brand.TabIndex = 4;
  485. this.Brand.SelectedIndexChanged += new System.EventHandler(this.Brand_SelectedIndexChanged);
  486. //
  487. // ButtonNewCommand
  488. //
  489. this.ButtonNewCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  490. this.ButtonNewCommand.Location = new System.Drawing.Point(886, 551);
  491. this.ButtonNewCommand.Name = "ButtonNewCommand";
  492. this.ButtonNewCommand.Size = new System.Drawing.Size(64, 23);
  493. this.ButtonNewCommand.TabIndex = 3;
  494. this.ButtonNewCommand.Text = "新增";
  495. //
  496. // ButtonSaveCommand
  497. //
  498. this.ButtonSaveCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  499. this.ButtonSaveCommand.Grid = null;
  500. this.ButtonSaveCommand.HandlerOtherFirst = true;
  501. this.ButtonSaveCommand.Location = new System.Drawing.Point(956, 551);
  502. this.ButtonSaveCommand.Name = "ButtonSaveCommand";
  503. this.ButtonSaveCommand.Size = new System.Drawing.Size(64, 23);
  504. this.ButtonSaveCommand.TabIndex = 2;
  505. this.ButtonSaveCommand.Text = "保存";
  506. this.ButtonSaveCommand.Click += new System.EventHandler(this.ButtonSaveCommand_Click);
  507. //
  508. // GridCommandSetting
  509. //
  510. this.GridCommandSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  511. | System.Windows.Forms.AnchorStyles.Left)
  512. | System.Windows.Forms.AnchorStyles.Right)));
  513. this.GridCommandSetting.Condition = null;
  514. this.GridCommandSetting.GetDataSQL = null;
  515. this.GridCommandSetting.ID = null;
  516. this.GridCommandSetting.InsertSQL = null;
  517. this.GridCommandSetting.Location = new System.Drawing.Point(0, 31);
  518. this.GridCommandSetting.MainView = this.GridViewCommandSet;
  519. this.GridCommandSetting.MenuManager = this.RibbonNav;
  520. this.GridCommandSetting.Name = "GridCommandSetting";
  521. this.GridCommandSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  522. this.CheckEditCommandSet});
  523. this.GridCommandSetting.RowCount = 0;
  524. this.GridCommandSetting.Size = new System.Drawing.Size(1027, 517);
  525. this.GridCommandSetting.TabIndex = 1;
  526. this.GridCommandSetting.TableName = null;
  527. this.GridCommandSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  528. this.GridViewCommandSet});
  529. //
  530. // GridViewCommandSet
  531. //
  532. this.GridViewCommandSet.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  533. this.CommandSetCheckedColumn,
  534. this.dc_id,
  535. this.dc_code,
  536. this.dc_name,
  537. this.dc_value});
  538. this.GridViewCommandSet.GridControl = this.GridCommandSetting;
  539. this.GridViewCommandSet.IndicatorWidth = 30;
  540. this.GridViewCommandSet.Name = "GridViewCommandSet";
  541. this.GridViewCommandSet.OptionsView.ShowGroupPanel = false;
  542. //
  543. // CommandSetCheckedColumn
  544. //
  545. this.CommandSetCheckedColumn.Caption = " ";
  546. this.CommandSetCheckedColumn.ColumnEdit = this.CheckEditCommandSet;
  547. this.CommandSetCheckedColumn.FieldName = "CHECKEDCOLUMN";
  548. this.CommandSetCheckedColumn.Name = "CommandSetCheckedColumn";
  549. this.CommandSetCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  550. this.CommandSetCheckedColumn.Tag = "0";
  551. this.CommandSetCheckedColumn.Visible = true;
  552. this.CommandSetCheckedColumn.VisibleIndex = 0;
  553. //
  554. // CheckEditCommandSet
  555. //
  556. this.CheckEditCommandSet.AutoHeight = false;
  557. this.CheckEditCommandSet.Name = "CheckEditCommandSet";
  558. this.CheckEditCommandSet.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
  559. //
  560. // dc_id
  561. //
  562. this.dc_id.FieldName = "DC_ID";
  563. this.dc_id.Name = "dc_id";
  564. //
  565. // dc_code
  566. //
  567. this.dc_code.Caption = "指令编号";
  568. this.dc_code.FieldName = "DC_CODE";
  569. this.dc_code.Name = "dc_code";
  570. this.dc_code.Visible = true;
  571. this.dc_code.VisibleIndex = 1;
  572. this.dc_code.Width = 118;
  573. //
  574. // dc_name
  575. //
  576. this.dc_name.Caption = "指令名称";
  577. this.dc_name.FieldName = "DC_NAME";
  578. this.dc_name.Name = "dc_name";
  579. this.dc_name.Visible = true;
  580. this.dc_name.VisibleIndex = 2;
  581. this.dc_name.Width = 123;
  582. //
  583. // dc_command
  584. //
  585. this.dc_value.Caption = "发送指令";
  586. this.dc_value.FieldName = "DC_VALUE";
  587. this.dc_value.Name = "dc_value";
  588. this.dc_value.Visible = true;
  589. this.dc_value.VisibleIndex = 3;
  590. this.dc_value.Width = 768;
  591. //
  592. // PageDeviceNetSetting
  593. //
  594. this.PageDeviceNetSetting.Controls.Add(this.ButtonDeleteNetConfig);
  595. this.PageDeviceNetSetting.Controls.Add(this.ButtonAddNetConfig);
  596. this.PageDeviceNetSetting.Controls.Add(this.ButtonSaveNetConfig);
  597. this.PageDeviceNetSetting.Controls.Add(this.GridDeviceNetSetting);
  598. this.PageDeviceNetSetting.Name = "PageDeviceNetSetting";
  599. this.PageDeviceNetSetting.PageVisible = false;
  600. this.PageDeviceNetSetting.Size = new System.Drawing.Size(1027, 577);
  601. //
  602. // ButtonDeleteNetConfig
  603. //
  604. this.ButtonDeleteNetConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  605. this.ButtonDeleteNetConfig.Grid = null;
  606. this.ButtonDeleteNetConfig.Location = new System.Drawing.Point(813, 548);
  607. this.ButtonDeleteNetConfig.Name = "ButtonDeleteNetConfig";
  608. this.ButtonDeleteNetConfig.Size = new System.Drawing.Size(64, 23);
  609. this.ButtonDeleteNetConfig.TabIndex = 12;
  610. this.ButtonDeleteNetConfig.Text = "删除";
  611. //
  612. // ButtonAddNetConfig
  613. //
  614. this.ButtonAddNetConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  615. this.ButtonAddNetConfig.Grid = null;
  616. this.ButtonAddNetConfig.Location = new System.Drawing.Point(883, 548);
  617. this.ButtonAddNetConfig.Name = "ButtonAddNetConfig";
  618. this.ButtonAddNetConfig.Size = new System.Drawing.Size(64, 23);
  619. this.ButtonAddNetConfig.TabIndex = 11;
  620. this.ButtonAddNetConfig.Text = "新增";
  621. //
  622. // ButtonSaveNetConfig
  623. //
  624. this.ButtonSaveNetConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  625. this.ButtonSaveNetConfig.Grid = null;
  626. this.ButtonSaveNetConfig.HandlerOtherFirst = false;
  627. this.ButtonSaveNetConfig.Location = new System.Drawing.Point(953, 548);
  628. this.ButtonSaveNetConfig.Name = "ButtonSaveNetConfig";
  629. this.ButtonSaveNetConfig.Size = new System.Drawing.Size(64, 23);
  630. this.ButtonSaveNetConfig.TabIndex = 10;
  631. this.ButtonSaveNetConfig.Text = "保存";
  632. //
  633. // GridDeviceNetSetting
  634. //
  635. this.GridDeviceNetSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  636. | System.Windows.Forms.AnchorStyles.Left)
  637. | System.Windows.Forms.AnchorStyles.Right)));
  638. this.GridDeviceNetSetting.Condition = null;
  639. this.GridDeviceNetSetting.GetDataSQL = null;
  640. this.GridDeviceNetSetting.ID = null;
  641. this.GridDeviceNetSetting.InsertSQL = null;
  642. this.GridDeviceNetSetting.Location = new System.Drawing.Point(0, 2);
  643. this.GridDeviceNetSetting.MainView = this.GridViewDeviceNetSetting;
  644. this.GridDeviceNetSetting.MenuManager = this.RibbonNav;
  645. this.GridDeviceNetSetting.Name = "GridDeviceNetSetting";
  646. this.GridDeviceNetSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  647. this.dpc_enableCheckEdit});
  648. this.GridDeviceNetSetting.RowCount = 0;
  649. this.GridDeviceNetSetting.Size = new System.Drawing.Size(1024, 540);
  650. this.GridDeviceNetSetting.TabIndex = 0;
  651. this.GridDeviceNetSetting.TableName = null;
  652. this.GridDeviceNetSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  653. this.GridViewDeviceNetSetting});
  654. //
  655. // GridViewDeviceNetSetting
  656. //
  657. this.GridViewDeviceNetSetting.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  658. this.NetSettingCheckedColumn,
  659. this.dnc_id,
  660. this.dnc_decode,
  661. this.dnc_getway,
  662. this.dnc_upperip,
  663. this.dnc_port,
  664. this.dnc_mac,
  665. this.dnc_ip,
  666. this.dnc_type});
  667. this.GridViewDeviceNetSetting.GridControl = this.GridDeviceNetSetting;
  668. this.GridViewDeviceNetSetting.IndicatorWidth = 30;
  669. this.GridViewDeviceNetSetting.Name = "GridViewDeviceNetSetting";
  670. this.GridViewDeviceNetSetting.OptionsView.ShowGroupPanel = false;
  671. //
  672. // NetSettingCheckedColumn
  673. //
  674. this.NetSettingCheckedColumn.Caption = " ";
  675. this.NetSettingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
  676. this.NetSettingCheckedColumn.FieldName = "CHECKEDCOLUMN";
  677. this.NetSettingCheckedColumn.Name = "NetSettingCheckedColumn";
  678. this.NetSettingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  679. this.NetSettingCheckedColumn.OptionsFilter.AllowFilter = false;
  680. this.NetSettingCheckedColumn.Tag = "0";
  681. this.NetSettingCheckedColumn.Visible = true;
  682. this.NetSettingCheckedColumn.VisibleIndex = 0;
  683. //
  684. // dpc_enableCheckEdit
  685. //
  686. this.dpc_enableCheckEdit.AutoHeight = false;
  687. this.dpc_enableCheckEdit.Name = "dpc_enableCheckEdit";
  688. this.dpc_enableCheckEdit.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
  689. this.dpc_enableCheckEdit.NullText = "0";
  690. this.dpc_enableCheckEdit.ValueChecked = "-1";
  691. this.dpc_enableCheckEdit.ValueUnchecked = "0";
  692. //
  693. // dnc_id
  694. //
  695. this.dnc_id.Caption = "ID";
  696. this.dnc_id.FieldName = "DNC_ID";
  697. this.dnc_id.Name = "dnc_id";
  698. //
  699. // dnc_decode
  700. //
  701. this.dnc_decode.Caption = "设备编号";
  702. this.dnc_decode.FieldName = "DNC_DECODE";
  703. this.dnc_decode.Name = "dnc_decode";
  704. this.dnc_decode.Visible = true;
  705. this.dnc_decode.VisibleIndex = 1;
  706. //
  707. // dnc_getway
  708. //
  709. this.dnc_getway.Caption = "网关";
  710. this.dnc_getway.FieldName = "DNC_GATEWAY";
  711. this.dnc_getway.Name = "dnc_getway";
  712. this.dnc_getway.Visible = true;
  713. this.dnc_getway.VisibleIndex = 2;
  714. //
  715. // dnc_upperip
  716. //
  717. this.dnc_upperip.Caption = "上级IP";
  718. this.dnc_upperip.FieldName = "DNC_UPPERIP";
  719. this.dnc_upperip.Name = "dnc_upperip";
  720. this.dnc_upperip.Visible = true;
  721. this.dnc_upperip.VisibleIndex = 3;
  722. //
  723. // dnc_port
  724. //
  725. this.dnc_port.Caption = "端口";
  726. this.dnc_port.FieldName = "DNC_PORT";
  727. this.dnc_port.Name = "dnc_port";
  728. this.dnc_port.Visible = true;
  729. this.dnc_port.VisibleIndex = 4;
  730. //
  731. // dnc_mac
  732. //
  733. this.dnc_mac.Caption = "MAC";
  734. this.dnc_mac.FieldName = "DNC_MAC";
  735. this.dnc_mac.Name = "dnc_mac";
  736. this.dnc_mac.Visible = true;
  737. this.dnc_mac.VisibleIndex = 5;
  738. //
  739. // dnc_ip
  740. //
  741. this.dnc_ip.Caption = "IP";
  742. this.dnc_ip.FieldName = "DNC_IP";
  743. this.dnc_ip.Name = "dnc_ip";
  744. this.dnc_ip.Visible = true;
  745. this.dnc_ip.VisibleIndex = 6;
  746. //
  747. // dnc_type
  748. //
  749. this.dnc_type.Caption = "类型";
  750. this.dnc_type.FieldName = "DNC_TYPE";
  751. this.dnc_type.Name = "dnc_type";
  752. this.dnc_type.Visible = true;
  753. this.dnc_type.VisibleIndex = 7;
  754. //
  755. // PagePollingSetting
  756. //
  757. this.PagePollingSetting.Controls.Add(this.ButtonDeleteCommandSet);
  758. this.PagePollingSetting.Controls.Add(this.ButtonNewCommandSet);
  759. this.PagePollingSetting.Controls.Add(this.ButtonSaveCommandSet);
  760. this.PagePollingSetting.Controls.Add(this.ButtonPausePolling);
  761. this.PagePollingSetting.Controls.Add(this.ButtonStartPolling);
  762. this.PagePollingSetting.Controls.Add(this.GridPollingSetting);
  763. this.PagePollingSetting.Name = "PagePollingSetting";
  764. this.PagePollingSetting.PageVisible = false;
  765. this.PagePollingSetting.Size = new System.Drawing.Size(1027, 577);
  766. this.PagePollingSetting.Text = "xtraTabPage1";
  767. this.PagePollingSetting.VisibleChanged += new System.EventHandler(this.PagePollingSetting_VisibleChanged);
  768. //
  769. // ButtonDeleteCommandSet
  770. //
  771. this.ButtonDeleteCommandSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  772. this.ButtonDeleteCommandSet.Grid = null;
  773. this.ButtonDeleteCommandSet.Location = new System.Drawing.Point(816, 549);
  774. this.ButtonDeleteCommandSet.Name = "ButtonDeleteCommandSet";
  775. this.ButtonDeleteCommandSet.Size = new System.Drawing.Size(64, 23);
  776. this.ButtonDeleteCommandSet.TabIndex = 9;
  777. this.ButtonDeleteCommandSet.Text = "删除";
  778. //
  779. // ButtonNewCommandSet
  780. //
  781. this.ButtonNewCommandSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  782. this.ButtonNewCommandSet.Grid = null;
  783. this.ButtonNewCommandSet.Location = new System.Drawing.Point(886, 549);
  784. this.ButtonNewCommandSet.Name = "ButtonNewCommandSet";
  785. this.ButtonNewCommandSet.Size = new System.Drawing.Size(64, 23);
  786. this.ButtonNewCommandSet.TabIndex = 8;
  787. this.ButtonNewCommandSet.Text = "新增";
  788. //
  789. // ButtonSaveCommandSet
  790. //
  791. this.ButtonSaveCommandSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  792. this.ButtonSaveCommandSet.Grid = null;
  793. this.ButtonSaveCommandSet.HandlerOtherFirst = false;
  794. this.ButtonSaveCommandSet.Location = new System.Drawing.Point(956, 549);
  795. this.ButtonSaveCommandSet.Name = "ButtonSaveCommandSet";
  796. this.ButtonSaveCommandSet.Size = new System.Drawing.Size(64, 23);
  797. this.ButtonSaveCommandSet.TabIndex = 7;
  798. this.ButtonSaveCommandSet.Text = "保存";
  799. //
  800. // ButtonPausePolling
  801. //
  802. this.ButtonPausePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  803. this.ButtonPausePolling.Location = new System.Drawing.Point(734, 549);
  804. this.ButtonPausePolling.Name = "ButtonPausePolling";
  805. this.ButtonPausePolling.Size = new System.Drawing.Size(75, 23);
  806. this.ButtonPausePolling.TabIndex = 2;
  807. this.ButtonPausePolling.Text = "暂停轮询";
  808. this.ButtonPausePolling.Click += new System.EventHandler(this.ButtonPausePolling_Click);
  809. //
  810. // ButtonStartPolling
  811. //
  812. this.ButtonStartPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  813. this.ButtonStartPolling.Location = new System.Drawing.Point(653, 549);
  814. this.ButtonStartPolling.Name = "ButtonStartPolling";
  815. this.ButtonStartPolling.Size = new System.Drawing.Size(75, 23);
  816. this.ButtonStartPolling.TabIndex = 1;
  817. this.ButtonStartPolling.Text = "开启轮询";
  818. this.ButtonStartPolling.Click += new System.EventHandler(this.ButtonStartPolling_Click);
  819. //
  820. // GridPollingSetting
  821. //
  822. this.GridPollingSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  823. | System.Windows.Forms.AnchorStyles.Left)
  824. | System.Windows.Forms.AnchorStyles.Right)));
  825. this.GridPollingSetting.Condition = null;
  826. this.GridPollingSetting.GetDataSQL = null;
  827. this.GridPollingSetting.ID = null;
  828. this.GridPollingSetting.InsertSQL = null;
  829. this.GridPollingSetting.Location = new System.Drawing.Point(0, 0);
  830. this.GridPollingSetting.MainView = this.GridViewPollSetting;
  831. this.GridPollingSetting.MenuManager = this.RibbonNav;
  832. this.GridPollingSetting.Name = "GridPollingSetting";
  833. this.GridPollingSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  834. this.dpc_enableCheckEdit,
  835. this.PollingSetItemLookUpEdit,
  836. this.PollSettingItemSearchLookUpEdit});
  837. this.GridPollingSetting.RowCount = 0;
  838. this.GridPollingSetting.Size = new System.Drawing.Size(1027, 544);
  839. this.GridPollingSetting.TabIndex = 0;
  840. this.GridPollingSetting.TableName = null;
  841. this.GridPollingSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  842. this.GridViewPollSetting});
  843. //
  844. // GridViewPollSetting
  845. //
  846. this.GridViewPollSetting.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  847. this.PollSettingCheckedColumn,
  848. this.dpc_id,
  849. this.dpc_decode,
  850. this.dpc_interval,
  851. this.dpc_dccode,
  852. this.dpc_function,
  853. this.dpc_enable,
  854. this.dpc_status,
  855. this.dpc_remark,
  856. this.POLLSETTINGSTATUSCOLUMN});
  857. this.GridViewPollSetting.GridControl = this.GridPollingSetting;
  858. this.GridViewPollSetting.IndicatorWidth = 30;
  859. this.GridViewPollSetting.Name = "GridViewPollSetting";
  860. this.GridViewPollSetting.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
  861. this.GridViewPollSetting.OptionsView.ShowGroupPanel = false;
  862. this.GridViewPollSetting.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.GridViewPollSetting_CellValueChanging);
  863. //
  864. // PollSettingCheckedColumn
  865. //
  866. this.PollSettingCheckedColumn.Caption = " ";
  867. this.PollSettingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
  868. this.PollSettingCheckedColumn.FieldName = "CHECKEDCOLUMN";
  869. this.PollSettingCheckedColumn.Name = "PollSettingCheckedColumn";
  870. this.PollSettingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  871. this.PollSettingCheckedColumn.OptionsFilter.AllowFilter = false;
  872. this.PollSettingCheckedColumn.Tag = "0";
  873. this.PollSettingCheckedColumn.Visible = true;
  874. this.PollSettingCheckedColumn.VisibleIndex = 0;
  875. //
  876. // dpc_id
  877. //
  878. this.dpc_id.Caption = "ID";
  879. this.dpc_id.FieldName = "DPC_ID";
  880. this.dpc_id.Name = "dpc_id";
  881. //
  882. // dpc_decode
  883. //
  884. this.dpc_decode.Caption = "设备编号";
  885. this.dpc_decode.FieldName = "DPC_DECODE";
  886. this.dpc_decode.Name = "dpc_decode";
  887. this.dpc_decode.Visible = true;
  888. this.dpc_decode.VisibleIndex = 1;
  889. this.dpc_decode.Width = 90;
  890. //
  891. // dpc_interval
  892. //
  893. this.dpc_interval.Caption = "轮询间隔";
  894. this.dpc_interval.FieldName = "DPC_INTERVAL";
  895. this.dpc_interval.Name = "dpc_interval";
  896. this.dpc_interval.Visible = true;
  897. this.dpc_interval.VisibleIndex = 2;
  898. this.dpc_interval.Width = 90;
  899. //
  900. // dpc_dccode
  901. //
  902. this.dpc_dccode.Caption = "指令编号";
  903. this.dpc_dccode.ColumnEdit = this.PollSettingItemSearchLookUpEdit;
  904. this.dpc_dccode.FieldName = "DPC_DCCODE";
  905. this.dpc_dccode.Name = "dpc_dccode";
  906. this.dpc_dccode.Visible = true;
  907. this.dpc_dccode.VisibleIndex = 3;
  908. this.dpc_dccode.Width = 90;
  909. //
  910. // PollSettingItemSearchLookUpEdit
  911. //
  912. this.PollSettingItemSearchLookUpEdit.AutoHeight = false;
  913. this.PollSettingItemSearchLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  914. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  915. this.PollSettingItemSearchLookUpEdit.Name = "PollSettingItemSearchLookUpEdit";
  916. this.PollSettingItemSearchLookUpEdit.NullText = "";
  917. this.PollSettingItemSearchLookUpEdit.View = this.PollSettingItemSearchLookUpEditView;
  918. //
  919. // PollSettingItemSearchLookUpEditView
  920. //
  921. this.PollSettingItemSearchLookUpEditView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  922. this.gridColumn4,
  923. this.gridColumn2,
  924. this.gridColumn5});
  925. this.PollSettingItemSearchLookUpEditView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
  926. this.PollSettingItemSearchLookUpEditView.Name = "PollSettingItemSearchLookUpEditView";
  927. this.PollSettingItemSearchLookUpEditView.OptionsSelection.EnableAppearanceFocusedCell = false;
  928. this.PollSettingItemSearchLookUpEditView.OptionsView.ShowGroupPanel = false;
  929. //
  930. // gridColumn4
  931. //
  932. this.gridColumn4.Caption = "指令编号";
  933. this.gridColumn4.FieldName = "DC_CODE";
  934. this.gridColumn4.Name = "gridColumn4";
  935. this.gridColumn4.Visible = true;
  936. this.gridColumn4.VisibleIndex = 0;
  937. //
  938. // gridColumn2
  939. //
  940. this.gridColumn2.Caption = "指令名称";
  941. this.gridColumn2.FieldName = "DC_NAME";
  942. this.gridColumn2.Name = "gridColumn2";
  943. this.gridColumn2.Visible = true;
  944. this.gridColumn2.VisibleIndex = 1;
  945. //
  946. // gridColumn5
  947. //
  948. this.gridColumn5.Caption = "备注";
  949. this.gridColumn5.FieldName = "DC_REMARK";
  950. this.gridColumn5.Name = "gridColumn5";
  951. this.gridColumn5.Visible = true;
  952. this.gridColumn5.VisibleIndex = 2;
  953. //
  954. // dpc_function
  955. //
  956. this.dpc_function.Caption = "解析函数";
  957. this.dpc_function.FieldName = "DPC_FUNCTION";
  958. this.dpc_function.Name = "dpc_function";
  959. this.dpc_function.Visible = true;
  960. this.dpc_function.VisibleIndex = 4;
  961. this.dpc_function.Width = 90;
  962. //
  963. // dpc_enable
  964. //
  965. this.dpc_enable.Caption = "是否启用";
  966. this.dpc_enable.ColumnEdit = this.dpc_enableCheckEdit;
  967. this.dpc_enable.FieldName = "DPC_ENABLE";
  968. this.dpc_enable.Name = "dpc_enable";
  969. this.dpc_enable.Visible = true;
  970. this.dpc_enable.VisibleIndex = 5;
  971. this.dpc_enable.Width = 90;
  972. //
  973. // dpc_status
  974. //
  975. this.dpc_status.Caption = "状态";
  976. this.dpc_status.FieldName = "DPC_STATUS";
  977. this.dpc_status.Name = "dpc_status";
  978. this.dpc_status.Visible = true;
  979. this.dpc_status.VisibleIndex = 6;
  980. this.dpc_status.Width = 90;
  981. //
  982. // dpc_remark
  983. //
  984. this.dpc_remark.Caption = "备注";
  985. this.dpc_remark.FieldName = "DPC_REMARK";
  986. this.dpc_remark.Name = "dpc_remark";
  987. this.dpc_remark.Visible = true;
  988. this.dpc_remark.VisibleIndex = 7;
  989. this.dpc_remark.Width = 87;
  990. //
  991. // POLLSETTINGSTATUSCOLUMN
  992. //
  993. this.POLLSETTINGSTATUSCOLUMN.Caption = "运行状态";
  994. this.POLLSETTINGSTATUSCOLUMN.FieldName = "POLLSETTINGSTATUSCOLUMN";
  995. this.POLLSETTINGSTATUSCOLUMN.Name = "POLLSETTINGSTATUSCOLUMN";
  996. this.POLLSETTINGSTATUSCOLUMN.OptionsColumn.ReadOnly = true;
  997. this.POLLSETTINGSTATUSCOLUMN.Visible = true;
  998. this.POLLSETTINGSTATUSCOLUMN.VisibleIndex = 8;
  999. this.POLLSETTINGSTATUSCOLUMN.Width = 98;
  1000. //
  1001. // PollingSetItemLookUpEdit
  1002. //
  1003. this.PollingSetItemLookUpEdit.AutoHeight = false;
  1004. this.PollingSetItemLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  1005. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  1006. this.PollingSetItemLookUpEdit.Name = "PollingSetItemLookUpEdit";
  1007. this.PollingSetItemLookUpEdit.NullText = "";
  1008. this.PollingSetItemLookUpEdit.ShowFooter = false;
  1009. this.PollingSetItemLookUpEdit.ShowHeader = false;
  1010. //
  1011. // PagePolling
  1012. //
  1013. this.PagePolling.Controls.Add(this.ButtonAddPolling);
  1014. this.PagePolling.Controls.Add(this.ButtonDeletePolling);
  1015. this.PagePolling.Controls.Add(this.ButtonSavePolling);
  1016. this.PagePolling.Controls.Add(this.GridPolling);
  1017. this.PagePolling.Name = "PagePolling";
  1018. this.PagePolling.PageVisible = false;
  1019. this.PagePolling.Size = new System.Drawing.Size(1027, 577);
  1020. this.PagePolling.Text = "xtraTabPage1";
  1021. //
  1022. // ButtonAddPolling
  1023. //
  1024. this.ButtonAddPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  1025. this.ButtonAddPolling.Grid = null;
  1026. this.ButtonAddPolling.Location = new System.Drawing.Point(878, 551);
  1027. this.ButtonAddPolling.Name = "ButtonAddPolling";
  1028. this.ButtonAddPolling.Size = new System.Drawing.Size(64, 23);
  1029. this.ButtonAddPolling.TabIndex = 9;
  1030. this.ButtonAddPolling.Text = "新增";
  1031. //
  1032. // ButtonDeletePolling
  1033. //
  1034. this.ButtonDeletePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  1035. this.ButtonDeletePolling.Grid = null;
  1036. this.ButtonDeletePolling.Location = new System.Drawing.Point(807, 551);
  1037. this.ButtonDeletePolling.Name = "ButtonDeletePolling";
  1038. this.ButtonDeletePolling.Size = new System.Drawing.Size(64, 23);
  1039. this.ButtonDeletePolling.TabIndex = 8;
  1040. this.ButtonDeletePolling.Text = "删除";
  1041. //
  1042. // ButtonSavePolling
  1043. //
  1044. this.ButtonSavePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  1045. this.ButtonSavePolling.Grid = null;
  1046. this.ButtonSavePolling.HandlerOtherFirst = false;
  1047. this.ButtonSavePolling.Location = new System.Drawing.Point(949, 551);
  1048. this.ButtonSavePolling.Name = "ButtonSavePolling";
  1049. this.ButtonSavePolling.Size = new System.Drawing.Size(64, 23);
  1050. this.ButtonSavePolling.TabIndex = 7;
  1051. this.ButtonSavePolling.Text = "保存";
  1052. //
  1053. // GridPolling
  1054. //
  1055. this.GridPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  1056. | System.Windows.Forms.AnchorStyles.Left)
  1057. | System.Windows.Forms.AnchorStyles.Right)));
  1058. this.GridPolling.Condition = null;
  1059. this.GridPolling.GetDataSQL = null;
  1060. this.GridPolling.ID = null;
  1061. this.GridPolling.InsertSQL = null;
  1062. this.GridPolling.Location = new System.Drawing.Point(3, -3);
  1063. this.GridPolling.MainView = this.GridViewPolling;
  1064. this.GridPolling.MenuManager = this.RibbonNav;
  1065. this.GridPolling.Name = "GridPolling";
  1066. this.GridPolling.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  1067. this.dpc_enableCheckEdit});
  1068. this.GridPolling.RowCount = 0;
  1069. this.GridPolling.Size = new System.Drawing.Size(1027, 549);
  1070. this.GridPolling.TabIndex = 0;
  1071. this.GridPolling.TableName = null;
  1072. this.GridPolling.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  1073. this.GridViewPolling});
  1074. //
  1075. // GridViewPolling
  1076. //
  1077. this.GridViewPolling.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  1078. this.PollingCheckedColumn,
  1079. this.pl_id,
  1080. this.pl_code,
  1081. this.pl_name,
  1082. this.pl_type,
  1083. this.pl_dccode,
  1084. this.pl_remark});
  1085. this.GridViewPolling.GridControl = this.GridPolling;
  1086. this.GridViewPolling.IndicatorWidth = 30;
  1087. this.GridViewPolling.Name = "GridViewPolling";
  1088. this.GridViewPolling.OptionsView.ShowGroupPanel = false;
  1089. //
  1090. // PollingCheckedColumn
  1091. //
  1092. this.PollingCheckedColumn.Caption = " ";
  1093. this.PollingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
  1094. this.PollingCheckedColumn.FieldName = "CHECKEDCOLUMN";
  1095. this.PollingCheckedColumn.Name = "PollingCheckedColumn";
  1096. this.PollingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  1097. this.PollingCheckedColumn.Tag = "0";
  1098. this.PollingCheckedColumn.Visible = true;
  1099. this.PollingCheckedColumn.VisibleIndex = 0;
  1100. //
  1101. // pl_id
  1102. //
  1103. this.pl_id.Caption = "ID";
  1104. this.pl_id.FieldName = "PL_ID";
  1105. this.pl_id.Name = "pl_id";
  1106. //
  1107. // pl_code
  1108. //
  1109. this.pl_code.Caption = "业务编号";
  1110. this.pl_code.FieldName = "PL_CODE";
  1111. this.pl_code.Name = "pl_code";
  1112. this.pl_code.Visible = true;
  1113. this.pl_code.VisibleIndex = 1;
  1114. //
  1115. // pl_name
  1116. //
  1117. this.pl_name.Caption = "业务名称";
  1118. this.pl_name.FieldName = "PL_NAME";
  1119. this.pl_name.Name = "pl_name";
  1120. this.pl_name.Visible = true;
  1121. this.pl_name.VisibleIndex = 2;
  1122. //
  1123. // pl_type
  1124. //
  1125. this.pl_type.Caption = "业务类型";
  1126. this.pl_type.FieldName = "PL_TYPE";
  1127. this.pl_type.Name = "pl_type";
  1128. this.pl_type.Visible = true;
  1129. this.pl_type.VisibleIndex = 3;
  1130. //
  1131. // pl_dccode
  1132. //
  1133. this.pl_dccode.Caption = "指令编号";
  1134. this.pl_dccode.ColumnEdit = this.PollingSetItemLookUpEdit;
  1135. this.pl_dccode.FieldName = "PL_DCCODE";
  1136. this.pl_dccode.Name = "pl_dccode";
  1137. this.pl_dccode.Visible = true;
  1138. this.pl_dccode.VisibleIndex = 4;
  1139. //
  1140. // pl_remark
  1141. //
  1142. this.pl_remark.Caption = "备注";
  1143. this.pl_remark.FieldName = "PL_REMARK";
  1144. this.pl_remark.Name = "pl_remark";
  1145. this.pl_remark.Visible = true;
  1146. this.pl_remark.VisibleIndex = 5;
  1147. //
  1148. // PageDeviceStatus
  1149. //
  1150. this.PageDeviceStatus.Controls.Add(this.GridDeviceStatus);
  1151. this.PageDeviceStatus.Name = "PageDeviceStatus";
  1152. this.PageDeviceStatus.PageVisible = false;
  1153. this.PageDeviceStatus.Size = new System.Drawing.Size(1027, 577);
  1154. this.PageDeviceStatus.Text = "xtraTabPage1";
  1155. //
  1156. // GridDeviceStatus
  1157. //
  1158. this.GridDeviceStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  1159. | System.Windows.Forms.AnchorStyles.Left)
  1160. | System.Windows.Forms.AnchorStyles.Right)));
  1161. this.GridDeviceStatus.Condition = null;
  1162. this.GridDeviceStatus.GetDataSQL = null;
  1163. this.GridDeviceStatus.ID = null;
  1164. this.GridDeviceStatus.InsertSQL = null;
  1165. this.GridDeviceStatus.Location = new System.Drawing.Point(3, 0);
  1166. this.GridDeviceStatus.MainView = this.GridViewDeviceStatus;
  1167. this.GridDeviceStatus.MenuManager = this.RibbonNav;
  1168. this.GridDeviceStatus.Name = "GridDeviceStatus";
  1169. this.GridDeviceStatus.RowCount = 0;
  1170. this.GridDeviceStatus.Size = new System.Drawing.Size(1024, 577);
  1171. this.GridDeviceStatus.TabIndex = 0;
  1172. this.GridDeviceStatus.TableName = null;
  1173. this.GridDeviceStatus.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  1174. this.GridViewDeviceStatus});
  1175. //
  1176. // GridViewDeviceStatus
  1177. //
  1178. this.GridViewDeviceStatus.GridControl = this.GridDeviceStatus;
  1179. this.GridViewDeviceStatus.IndicatorWidth = 30;
  1180. this.GridViewDeviceStatus.Name = "GridViewDeviceStatus";
  1181. this.GridViewDeviceStatus.OptionsView.ShowGroupPanel = false;
  1182. //
  1183. // PageWorkCenterStatus
  1184. //
  1185. this.PageWorkCenterStatus.Controls.Add(this.GridWorkCenterStatus);
  1186. this.PageWorkCenterStatus.Name = "PageWorkCenterStatus";
  1187. this.PageWorkCenterStatus.PageVisible = false;
  1188. this.PageWorkCenterStatus.Size = new System.Drawing.Size(1027, 577);
  1189. this.PageWorkCenterStatus.Text = "车间全局监控";
  1190. //
  1191. // GridWorkCenterStatus
  1192. //
  1193. this.GridWorkCenterStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  1194. | System.Windows.Forms.AnchorStyles.Left)
  1195. | System.Windows.Forms.AnchorStyles.Right)));
  1196. this.GridWorkCenterStatus.Condition = null;
  1197. this.GridWorkCenterStatus.GetDataSQL = null;
  1198. this.GridWorkCenterStatus.ID = null;
  1199. this.GridWorkCenterStatus.InsertSQL = null;
  1200. this.GridWorkCenterStatus.Location = new System.Drawing.Point(0, 0);
  1201. this.GridWorkCenterStatus.MainView = this.GridViewWorkCenterStatus;
  1202. this.GridWorkCenterStatus.MenuManager = this.RibbonNav;
  1203. this.GridWorkCenterStatus.Name = "GridWorkCenterStatus";
  1204. this.GridWorkCenterStatus.RowCount = 0;
  1205. this.GridWorkCenterStatus.Size = new System.Drawing.Size(1024, 574);
  1206. this.GridWorkCenterStatus.TabIndex = 0;
  1207. this.GridWorkCenterStatus.TableName = null;
  1208. this.GridWorkCenterStatus.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  1209. this.GridViewWorkCenterStatus});
  1210. //
  1211. // GridViewWorkCenterStatus
  1212. //
  1213. this.GridViewWorkCenterStatus.GridControl = this.GridWorkCenterStatus;
  1214. this.GridViewWorkCenterStatus.IndicatorWidth = 30;
  1215. this.GridViewWorkCenterStatus.Name = "GridViewWorkCenterStatus";
  1216. this.GridViewWorkCenterStatus.OptionsView.ShowGroupPanel = false;
  1217. //
  1218. // Main
  1219. //
  1220. this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.False;
  1221. this.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
  1222. this.Appearance.Options.UseForeColor = true;
  1223. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
  1224. this.ClientSize = new System.Drawing.Size(1033, 711);
  1225. this.Controls.Add(this.MainTabControl);
  1226. this.Controls.Add(this.RibbonNav);
  1227. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  1228. this.Name = "Main";
  1229. this.Ribbon = this.RibbonNav;
  1230. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  1231. this.Text = "设备监控管理平台";
  1232. this.Load += new System.EventHandler(this.Main_Load);
  1233. ((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).EndInit();
  1234. ((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).EndInit();
  1235. this.MainTabControl.ResumeLayout(false);
  1236. this.PageDeviceList.ResumeLayout(false);
  1237. ((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).EndInit();
  1238. ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).EndInit();
  1239. this.PageCommandSet.ResumeLayout(false);
  1240. this.PageCommandSet.PerformLayout();
  1241. ((System.ComponentModel.ISupportInitialize)(this.Brand.Properties)).EndInit();
  1242. ((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).EndInit();
  1243. ((System.ComponentModel.ISupportInitialize)(this.GridViewCommandSet)).EndInit();
  1244. ((System.ComponentModel.ISupportInitialize)(this.CheckEditCommandSet)).EndInit();
  1245. this.PageDeviceNetSetting.ResumeLayout(false);
  1246. ((System.ComponentModel.ISupportInitialize)(this.GridDeviceNetSetting)).EndInit();
  1247. ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceNetSetting)).EndInit();
  1248. ((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).EndInit();
  1249. this.PagePollingSetting.ResumeLayout(false);
  1250. ((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).EndInit();
  1251. ((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).EndInit();
  1252. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEdit)).EndInit();
  1253. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEditView)).EndInit();
  1254. ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).EndInit();
  1255. this.PagePolling.ResumeLayout(false);
  1256. ((System.ComponentModel.ISupportInitialize)(this.GridPolling)).EndInit();
  1257. ((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).EndInit();
  1258. this.PageDeviceStatus.ResumeLayout(false);
  1259. ((System.ComponentModel.ISupportInitialize)(this.GridDeviceStatus)).EndInit();
  1260. ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceStatus)).EndInit();
  1261. this.PageWorkCenterStatus.ResumeLayout(false);
  1262. ((System.ComponentModel.ISupportInitialize)(this.GridWorkCenterStatus)).EndInit();
  1263. ((System.ComponentModel.ISupportInitialize)(this.GridViewWorkCenterStatus)).EndInit();
  1264. this.ResumeLayout(false);
  1265. this.PerformLayout();
  1266. }
  1267. #endregion
  1268. private DevExpress.XtraBars.Ribbon.RibbonControl RibbonNav;
  1269. private DevExpress.XtraBars.BarButtonItem ButtonDeviceList;
  1270. private DevExpress.XtraBars.Ribbon.RibbonPage DeviceInf;
  1271. private DevExpress.XtraBars.Ribbon.RibbonPageGroup RibDeviceInf;
  1272. private DevExpress.XtraTab.XtraTabControl MainTabControl;
  1273. private DevExpress.XtraBars.BarButtonItem ButtonDeviceNetSetting;
  1274. private DevExpress.XtraBars.Ribbon.RibbonPage DeviceCommandSetting;
  1275. private DevExpress.XtraBars.BarButtonItem ButtonCommandSet;
  1276. private DevExpress.XtraBars.Ribbon.RibbonPageGroup RibDeviceCommand;
  1277. private DevExpress.XtraTab.XtraTabPage PageDeviceList;
  1278. private DevExpress.XtraTab.XtraTabPage PageCommandSet;
  1279. private DevExpress.XtraTab.XtraTabPage PageDeviceNetSetting;
  1280. private AutoDataGridControl GridDeviceList;
  1281. private DevExpress.XtraBars.BarButtonItem ButtonPollingSetting;
  1282. private DevExpress.XtraBars.BarButtonItem ButtionPolling;
  1283. private DevExpress.XtraTab.XtraTabPage PagePollingSetting;
  1284. private DevExpress.XtraTab.XtraTabPage PagePolling;
  1285. private DevExpress.XtraGrid.Columns.GridColumn de_id;
  1286. private DevExpress.XtraGrid.Columns.GridColumn de_code;
  1287. private DevExpress.XtraGrid.Columns.GridColumn de_name;
  1288. private DevExpress.XtraGrid.Columns.GridColumn de_runstatus;
  1289. private DevExpress.XtraGrid.Columns.GridColumn de_indate;
  1290. private DevExpress.XtraGrid.Columns.GridColumn de_spec;
  1291. private DevExpress.XtraGrid.Columns.GridColumn de_vendcode;
  1292. private DevExpress.XtraGrid.Columns.GridColumn de_vendname;
  1293. private DevExpress.XtraGrid.Columns.GridColumn de_address;
  1294. private DevExpress.XtraGrid.Columns.GridColumn de_wccode;
  1295. private CustomerControl.PagingControl.PageControl ToolPageControlDeviceList;
  1296. private AutoDataGridControl GridCommandSetting;
  1297. private DevExpress.XtraGrid.Columns.GridColumn dc_id;
  1298. private DevExpress.XtraGrid.Columns.GridColumn dc_code;
  1299. private DevExpress.XtraGrid.Columns.GridColumn dc_name;
  1300. private DevExpress.XtraGrid.Columns.GridColumn dc_value;
  1301. private AutoDataGridControl GridPolling;
  1302. private AutoDataGridControl GridPollingSetting;
  1303. private DevExpress.XtraGrid.Columns.GridColumn pl_id;
  1304. private DevExpress.XtraGrid.Columns.GridColumn pl_code;
  1305. private DevExpress.XtraGrid.Columns.GridColumn pl_name;
  1306. private DevExpress.XtraGrid.Columns.GridColumn pl_type;
  1307. private DevExpress.XtraGrid.Columns.GridColumn pl_dccode;
  1308. private DevExpress.XtraGrid.Columns.GridColumn pl_remark;
  1309. private DevExpress.XtraGrid.Columns.GridColumn dpc_id;
  1310. private DevExpress.XtraGrid.Columns.GridColumn dpc_decode;
  1311. private DevExpress.XtraGrid.Columns.GridColumn dpc_interval;
  1312. private DevExpress.XtraGrid.Columns.GridColumn dpc_dccode;
  1313. private DevExpress.XtraGrid.Columns.GridColumn dpc_function;
  1314. private DevExpress.XtraGrid.Columns.GridColumn dpc_enable;
  1315. private DevExpress.XtraGrid.Columns.GridColumn dpc_status;
  1316. private DevExpress.XtraGrid.Columns.GridColumn dpc_remark;
  1317. private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit dpc_enableCheckEdit;
  1318. private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommand;
  1319. private CustomerControl.Button.ButtonAddRow ButtonNewCommand;
  1320. private GridViewWithSerialNum GridViewDeviceList;
  1321. private GridViewWithSerialNum GridViewCommandSet;
  1322. private GridViewWithSerialNum GridViewPolling;
  1323. private GridViewWithSerialNum GridViewPollSetting;
  1324. private LabelControl Brand_label;
  1325. private ComboBoxEdit Brand;
  1326. private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit CheckEditCommandSet;
  1327. private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommand;
  1328. private CustomerControl.Button.ButtonDeleteRow ButtonDeletePolling;
  1329. private CustomerControl.Button.ButtonSaveGrid ButtonSavePolling;
  1330. private CustomerControl.Button.ButtonAddRow ButtonAddPolling;
  1331. private SimpleButton ButtonPausePolling;
  1332. private SimpleButton ButtonStartPolling;
  1333. private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommandSet;
  1334. private CustomerControl.Button.ButtonAddRow ButtonNewCommandSet;
  1335. private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommandSet;
  1336. private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit PollingSetItemLookUpEdit;
  1337. private DevExpress.XtraGrid.Columns.GridColumn POLLSETTINGSTATUSCOLUMN;
  1338. private DevExpress.XtraGrid.Columns.GridColumn PollSettingCheckedColumn;
  1339. private DevExpress.XtraGrid.Columns.GridColumn CommandSetCheckedColumn;
  1340. private DevExpress.XtraGrid.Columns.GridColumn PollingCheckedColumn;
  1341. private DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit PollSettingItemSearchLookUpEdit;
  1342. private DevExpress.XtraGrid.Views.Grid.GridView PollSettingItemSearchLookUpEditView;
  1343. private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
  1344. private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
  1345. private DevExpress.XtraBars.BarButtonItem ButtonDeviceStatus;
  1346. private DevExpress.XtraBars.BarButtonItem ButtonWorkCenterStatus;
  1347. private AutoDataGridControl GridDeviceNetSetting;
  1348. private GridViewWithSerialNum GridViewDeviceNetSetting;
  1349. private DevExpress.XtraTab.XtraTabPage PageDeviceStatus;
  1350. private DevExpress.XtraTab.XtraTabPage PageWorkCenterStatus;
  1351. private AutoDataGridControl GridDeviceStatus;
  1352. private GridViewWithSerialNum GridViewDeviceStatus;
  1353. private AutoDataGridControl GridWorkCenterStatus;
  1354. private GridViewWithSerialNum GridViewWorkCenterStatus;
  1355. private DevExpress.XtraGrid.Columns.GridColumn dnc_id;
  1356. private DevExpress.XtraGrid.Columns.GridColumn dnc_decode;
  1357. private DevExpress.XtraGrid.Columns.GridColumn dnc_getway;
  1358. private DevExpress.XtraGrid.Columns.GridColumn dnc_upperip;
  1359. private DevExpress.XtraGrid.Columns.GridColumn dnc_port;
  1360. private DevExpress.XtraGrid.Columns.GridColumn dnc_mac;
  1361. private DevExpress.XtraGrid.Columns.GridColumn dnc_ip;
  1362. private DevExpress.XtraGrid.Columns.GridColumn dnc_type;
  1363. private CustomerControl.Button.ButtonDeleteRow ButtonDeleteNetConfig;
  1364. private CustomerControl.Button.ButtonAddRow ButtonAddNetConfig;
  1365. private CustomerControl.Button.ButtonSaveGrid ButtonSaveNetConfig;
  1366. private DevExpress.XtraGrid.Columns.GridColumn NetSettingCheckedColumn;
  1367. private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
  1368. }
  1369. }