Main.Designer.cs 77 KB

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