Main.Designer.cs 78 KB

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