Main.Designer.cs 77 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402
  1. using DevExpress.XtraEditors;
  2. using UAS_DeviceMonitor.CustomerControl.AutoDataGridControl;
  3. using UAS_DeviceMonitor.CustomerControl;
  4. using UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum;
  5. namespace UAS_DeviceMonitor
  6. {
  7. partial class Main
  8. {
  9. /// <summary>
  10. /// Required designer variable.
  11. /// </summary>
  12. private System.ComponentModel.IContainer components = null;
  13. /// <summary>
  14. /// Clean up any resources being used.
  15. /// </summary>
  16. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  17. protected override void Dispose(bool disposing)
  18. {
  19. if (disposing && (components != null))
  20. {
  21. components.Dispose();
  22. }
  23. base.Dispose(disposing);
  24. }
  25. #region Windows Form Designer generated code
  26. /// <summary>
  27. /// Required method for Designer support - do not modify
  28. /// the contents of this method with the code editor.
  29. /// </summary>
  30. private void InitializeComponent()
  31. {
  32. this.components = new System.ComponentModel.Container();
  33. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
  34. this.RibbonNav = new DevExpress.XtraBars.Ribbon.RibbonControl();
  35. this.ButtonDeviceList = new DevExpress.XtraBars.BarButtonItem();
  36. this.ButtonDeviceNetSetting = new DevExpress.XtraBars.BarButtonItem();
  37. this.ButtonCommandSet = new DevExpress.XtraBars.BarButtonItem();
  38. this.ButtonPollingSetting = new DevExpress.XtraBars.BarButtonItem();
  39. this.ButtionPolling = new DevExpress.XtraBars.BarButtonItem();
  40. this.ButtonDeviceStatus = new DevExpress.XtraBars.BarButtonItem();
  41. this.ButtonWorkCenterStatus = new DevExpress.XtraBars.BarButtonItem();
  42. this.DeviceInf = new DevExpress.XtraBars.Ribbon.RibbonPage();
  43. this.RibDeviceInf = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
  44. this.DeviceCommandSetting = new DevExpress.XtraBars.Ribbon.RibbonPage();
  45. this.RibDeviceCommand = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
  46. this.MainTabControl = new DevExpress.XtraTab.XtraTabControl();
  47. this.PageDeviceList = new DevExpress.XtraTab.XtraTabPage();
  48. this.ToolPageControlDeviceList = new UAS_DeviceMonitor.CustomerControl.PagingControl.PageControl();
  49. this.GridDeviceList = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  50. this.GridViewDeviceList = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  51. this.de_id = new DevExpress.XtraGrid.Columns.GridColumn();
  52. this.de_code = new DevExpress.XtraGrid.Columns.GridColumn();
  53. this.de_name = new DevExpress.XtraGrid.Columns.GridColumn();
  54. this.de_runstatus = new DevExpress.XtraGrid.Columns.GridColumn();
  55. this.de_indate = new DevExpress.XtraGrid.Columns.GridColumn();
  56. this.de_spec = new DevExpress.XtraGrid.Columns.GridColumn();
  57. this.de_vendcode = new DevExpress.XtraGrid.Columns.GridColumn();
  58. this.de_vendname = new DevExpress.XtraGrid.Columns.GridColumn();
  59. this.de_address = new DevExpress.XtraGrid.Columns.GridColumn();
  60. this.de_wccode = new DevExpress.XtraGrid.Columns.GridColumn();
  61. this.PageCommandSet = new DevExpress.XtraTab.XtraTabPage();
  62. this.ButtonDeleteCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
  63. this.Brand_label = new DevExpress.XtraEditors.LabelControl();
  64. this.Brand = new DevExpress.XtraEditors.ComboBoxEdit();
  65. this.ButtonNewCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
  66. this.ButtonSaveCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
  67. this.GridCommandSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  68. this.GridViewCommandSet = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  69. this.CommandSetCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
  70. this.CheckEditCommandSet = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
  71. this.dc_id = new DevExpress.XtraGrid.Columns.GridColumn();
  72. this.dc_code = new DevExpress.XtraGrid.Columns.GridColumn();
  73. this.dc_name = new DevExpress.XtraGrid.Columns.GridColumn();
  74. this.dc_value = new DevExpress.XtraGrid.Columns.GridColumn();
  75. this.dc_sendcoding = new DevExpress.XtraGrid.Columns.GridColumn();
  76. this.CommandSetRepositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
  77. this.dc_receivecoding = new DevExpress.XtraGrid.Columns.GridColumn();
  78. this.PageDeviceNetSetting = new DevExpress.XtraTab.XtraTabPage();
  79. this.ButtonDeleteNetConfig = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
  80. this.ButtonAddNetConfig = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
  81. this.ButtonSaveNetConfig = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
  82. this.GridDeviceNetSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  83. this.GridViewDeviceNetSetting = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  84. this.NetSettingCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
  85. this.dpc_enableCheckEdit = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
  86. this.dnc_id = new DevExpress.XtraGrid.Columns.GridColumn();
  87. this.dnc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
  88. this.dnc_getway = new DevExpress.XtraGrid.Columns.GridColumn();
  89. this.dnc_upperip = new DevExpress.XtraGrid.Columns.GridColumn();
  90. this.dnc_port = new DevExpress.XtraGrid.Columns.GridColumn();
  91. this.dnc_mac = new DevExpress.XtraGrid.Columns.GridColumn();
  92. this.dnc_ip = new DevExpress.XtraGrid.Columns.GridColumn();
  93. this.dnc_type = new DevExpress.XtraGrid.Columns.GridColumn();
  94. this.PagePollingSetting = new DevExpress.XtraTab.XtraTabPage();
  95. this.ButtonDeleteCommandSet = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
  96. this.ButtonNewCommandSet = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
  97. this.ButtonSaveCommandSet = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
  98. this.ButtonPausePolling = new DevExpress.XtraEditors.SimpleButton();
  99. this.ButtonStartPolling = new DevExpress.XtraEditors.SimpleButton();
  100. this.GridPollingSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  101. this.GridViewPollSetting = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  102. this.PollSettingCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
  103. this.dpc_id = new DevExpress.XtraGrid.Columns.GridColumn();
  104. this.dpc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
  105. this.dpc_interval = new DevExpress.XtraGrid.Columns.GridColumn();
  106. this.dpc_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
  107. this.PollSettingItemSearchLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit();
  108. this.PollSettingItemSearchLookUpEditView = new DevExpress.XtraGrid.Views.Grid.GridView();
  109. this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
  110. this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
  111. this.gridColumn5 = 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.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(this.components);
  136. this.PanelDeviceStatus = new DevExpress.XtraEditors.XtraScrollableControl();
  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.Condition = null;
  329. this.GridDeviceList.Dock = System.Windows.Forms.DockStyle.Fill;
  330. this.GridDeviceList.GetDataSQL = null;
  331. this.GridDeviceList.ID = null;
  332. this.GridDeviceList.InsertSQL = null;
  333. this.GridDeviceList.Location = new System.Drawing.Point(0, 0);
  334. this.GridDeviceList.MainView = this.GridViewDeviceList;
  335. this.GridDeviceList.MenuManager = this.RibbonNav;
  336. this.GridDeviceList.Name = "GridDeviceList";
  337. this.GridDeviceList.RowCount = 0;
  338. this.GridDeviceList.Size = new System.Drawing.Size(1027, 577);
  339. this.GridDeviceList.TabIndex = 0;
  340. this.GridDeviceList.TableName = null;
  341. this.GridDeviceList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  342. this.GridViewDeviceList});
  343. //
  344. // GridViewDeviceList
  345. //
  346. this.GridViewDeviceList.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  347. this.de_id,
  348. this.de_code,
  349. this.de_name,
  350. this.de_runstatus,
  351. this.de_indate,
  352. this.de_spec,
  353. this.de_vendcode,
  354. this.de_vendname,
  355. this.de_address,
  356. this.de_wccode});
  357. this.GridViewDeviceList.GridControl = this.GridDeviceList;
  358. this.GridViewDeviceList.IndicatorWidth = 30;
  359. this.GridViewDeviceList.Name = "GridViewDeviceList";
  360. this.GridViewDeviceList.OptionsView.ShowGroupPanel = false;
  361. //
  362. // de_id
  363. //
  364. this.de_id.Caption = "de_id";
  365. this.de_id.FieldName = "DE_ID";
  366. this.de_id.Name = "de_id";
  367. //
  368. // de_code
  369. //
  370. this.de_code.Caption = "设备编号";
  371. this.de_code.FieldName = "DE_CODE";
  372. this.de_code.Name = "de_code";
  373. this.de_code.Visible = true;
  374. this.de_code.VisibleIndex = 0;
  375. //
  376. // de_name
  377. //
  378. this.de_name.Caption = "设备名称";
  379. this.de_name.FieldName = "DE_NAME";
  380. this.de_name.Name = "de_name";
  381. this.de_name.Visible = true;
  382. this.de_name.VisibleIndex = 1;
  383. //
  384. // de_runstatus
  385. //
  386. this.de_runstatus.Caption = "运行状态";
  387. this.de_runstatus.FieldName = "DE_RUNSTATUS";
  388. this.de_runstatus.Name = "de_runstatus";
  389. this.de_runstatus.Visible = true;
  390. this.de_runstatus.VisibleIndex = 2;
  391. //
  392. // de_indate
  393. //
  394. this.de_indate.Caption = "录入日期";
  395. this.de_indate.DisplayFormat.FormatString = "yyyy-MM-dd";
  396. this.de_indate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
  397. this.de_indate.FieldName = "DE_INDATE";
  398. this.de_indate.FilterMode = DevExpress.XtraGrid.ColumnFilterMode.DisplayText;
  399. this.de_indate.Name = "de_indate";
  400. this.de_indate.Visible = true;
  401. this.de_indate.VisibleIndex = 3;
  402. //
  403. // de_spec
  404. //
  405. this.de_spec.Caption = "设备规格";
  406. this.de_spec.FieldName = "DE_SPEC";
  407. this.de_spec.Name = "de_spec";
  408. this.de_spec.Visible = true;
  409. this.de_spec.VisibleIndex = 4;
  410. //
  411. // de_vendcode
  412. //
  413. this.de_vendcode.Caption = "供应商编号";
  414. this.de_vendcode.FieldName = "DE_VENDCODE";
  415. this.de_vendcode.Name = "de_vendcode";
  416. this.de_vendcode.Visible = true;
  417. this.de_vendcode.VisibleIndex = 5;
  418. //
  419. // de_vendname
  420. //
  421. this.de_vendname.Caption = "供应商名称";
  422. this.de_vendname.FieldName = "DE_VENDNAME";
  423. this.de_vendname.Name = "de_vendname";
  424. this.de_vendname.Visible = true;
  425. this.de_vendname.VisibleIndex = 6;
  426. //
  427. // de_address
  428. //
  429. this.de_address.Caption = "设备地点";
  430. this.de_address.FieldName = "DE_ADDRESS";
  431. this.de_address.Name = "de_address";
  432. this.de_address.Visible = true;
  433. this.de_address.VisibleIndex = 7;
  434. //
  435. // de_wccode
  436. //
  437. this.de_wccode.Caption = "工作中心";
  438. this.de_wccode.FieldName = "DE_WCCODE";
  439. this.de_wccode.Name = "de_wccode";
  440. this.de_wccode.Visible = true;
  441. this.de_wccode.VisibleIndex = 8;
  442. //
  443. // PageCommandSet
  444. //
  445. this.PageCommandSet.Controls.Add(this.ButtonDeleteCommand);
  446. this.PageCommandSet.Controls.Add(this.Brand_label);
  447. this.PageCommandSet.Controls.Add(this.Brand);
  448. this.PageCommandSet.Controls.Add(this.ButtonNewCommand);
  449. this.PageCommandSet.Controls.Add(this.ButtonSaveCommand);
  450. this.PageCommandSet.Controls.Add(this.GridCommandSetting);
  451. this.PageCommandSet.Name = "PageCommandSet";
  452. this.PageCommandSet.PageVisible = false;
  453. this.PageCommandSet.Size = new System.Drawing.Size(1027, 577);
  454. this.PageCommandSet.Text = "xtraTabPage1";
  455. this.PageCommandSet.VisibleChanged += new System.EventHandler(this.PageCommandSet_VisibleChanged);
  456. //
  457. // ButtonDeleteCommand
  458. //
  459. this.ButtonDeleteCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  460. this.ButtonDeleteCommand.Grid = null;
  461. this.ButtonDeleteCommand.Location = new System.Drawing.Point(816, 551);
  462. this.ButtonDeleteCommand.Name = "ButtonDeleteCommand";
  463. this.ButtonDeleteCommand.Size = new System.Drawing.Size(64, 23);
  464. this.ButtonDeleteCommand.TabIndex = 6;
  465. this.ButtonDeleteCommand.Text = "删除";
  466. //
  467. // Brand_label
  468. //
  469. this.Brand_label.Appearance.Font = new System.Drawing.Font("微软雅黑", 12F);
  470. this.Brand_label.Location = new System.Drawing.Point(8, 5);
  471. this.Brand_label.Name = "Brand_label";
  472. this.Brand_label.Size = new System.Drawing.Size(32, 21);
  473. this.Brand_label.TabIndex = 5;
  474. this.Brand_label.Text = "品牌";
  475. //
  476. // Brand
  477. //
  478. this.Brand.Location = new System.Drawing.Point(47, 4);
  479. this.Brand.MenuManager = this.RibbonNav;
  480. this.Brand.Name = "Brand";
  481. this.Brand.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  482. this.Brand.Properties.Appearance.Options.UseFont = true;
  483. this.Brand.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  484. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  485. this.Brand.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
  486. this.Brand.Size = new System.Drawing.Size(100, 24);
  487. this.Brand.TabIndex = 4;
  488. this.Brand.SelectedIndexChanged += new System.EventHandler(this.Brand_SelectedIndexChanged);
  489. //
  490. // ButtonNewCommand
  491. //
  492. this.ButtonNewCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  493. this.ButtonNewCommand.Grid = null;
  494. this.ButtonNewCommand.Location = new System.Drawing.Point(886, 551);
  495. this.ButtonNewCommand.Name = "ButtonNewCommand";
  496. this.ButtonNewCommand.Size = new System.Drawing.Size(64, 23);
  497. this.ButtonNewCommand.TabIndex = 3;
  498. this.ButtonNewCommand.Text = "新增";
  499. //
  500. // ButtonSaveCommand
  501. //
  502. this.ButtonSaveCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  503. this.ButtonSaveCommand.Grid = null;
  504. this.ButtonSaveCommand.HandlerOtherFirst = true;
  505. this.ButtonSaveCommand.Location = new System.Drawing.Point(956, 551);
  506. this.ButtonSaveCommand.Name = "ButtonSaveCommand";
  507. this.ButtonSaveCommand.Size = new System.Drawing.Size(64, 23);
  508. this.ButtonSaveCommand.TabIndex = 2;
  509. this.ButtonSaveCommand.Text = "保存";
  510. this.ButtonSaveCommand.Click += new System.EventHandler(this.ButtonSaveCommand_Click);
  511. //
  512. // GridCommandSetting
  513. //
  514. this.GridCommandSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  515. | System.Windows.Forms.AnchorStyles.Left)
  516. | System.Windows.Forms.AnchorStyles.Right)));
  517. this.GridCommandSetting.Condition = null;
  518. this.GridCommandSetting.GetDataSQL = null;
  519. this.GridCommandSetting.ID = null;
  520. this.GridCommandSetting.InsertSQL = null;
  521. this.GridCommandSetting.Location = new System.Drawing.Point(0, 31);
  522. this.GridCommandSetting.MainView = this.GridViewCommandSet;
  523. this.GridCommandSetting.MenuManager = this.RibbonNav;
  524. this.GridCommandSetting.Name = "GridCommandSetting";
  525. this.GridCommandSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  526. this.CheckEditCommandSet,
  527. this.CommandSetRepositoryItemComboBox1});
  528. this.GridCommandSetting.RowCount = 0;
  529. this.GridCommandSetting.Size = new System.Drawing.Size(1027, 517);
  530. this.GridCommandSetting.TabIndex = 1;
  531. this.GridCommandSetting.TableName = null;
  532. this.GridCommandSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  533. this.GridViewCommandSet});
  534. //
  535. // GridViewCommandSet
  536. //
  537. this.GridViewCommandSet.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  538. this.CommandSetCheckedColumn,
  539. this.dc_id,
  540. this.dc_code,
  541. this.dc_name,
  542. this.dc_value,
  543. this.dc_sendcoding,
  544. this.dc_receivecoding});
  545. this.GridViewCommandSet.GridControl = this.GridCommandSetting;
  546. this.GridViewCommandSet.IndicatorWidth = 30;
  547. this.GridViewCommandSet.Name = "GridViewCommandSet";
  548. this.GridViewCommandSet.OptionsView.ShowGroupPanel = false;
  549. //
  550. // CommandSetCheckedColumn
  551. //
  552. this.CommandSetCheckedColumn.Caption = " ";
  553. this.CommandSetCheckedColumn.ColumnEdit = this.CheckEditCommandSet;
  554. this.CommandSetCheckedColumn.FieldName = "CHECKEDCOLUMN";
  555. this.CommandSetCheckedColumn.Name = "CommandSetCheckedColumn";
  556. this.CommandSetCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  557. this.CommandSetCheckedColumn.Tag = "0";
  558. this.CommandSetCheckedColumn.Visible = true;
  559. this.CommandSetCheckedColumn.VisibleIndex = 0;
  560. this.CommandSetCheckedColumn.Width = 60;
  561. //
  562. // CheckEditCommandSet
  563. //
  564. this.CheckEditCommandSet.AutoHeight = false;
  565. this.CheckEditCommandSet.Name = "CheckEditCommandSet";
  566. this.CheckEditCommandSet.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
  567. //
  568. // dc_id
  569. //
  570. this.dc_id.FieldName = "DC_ID";
  571. this.dc_id.Name = "dc_id";
  572. //
  573. // dc_code
  574. //
  575. this.dc_code.Caption = "指令编号";
  576. this.dc_code.FieldName = "DC_CODE";
  577. this.dc_code.Name = "dc_code";
  578. this.dc_code.Visible = true;
  579. this.dc_code.VisibleIndex = 1;
  580. this.dc_code.Width = 95;
  581. //
  582. // dc_name
  583. //
  584. this.dc_name.Caption = "指令名称";
  585. this.dc_name.FieldName = "DC_NAME";
  586. this.dc_name.Name = "dc_name";
  587. this.dc_name.Visible = true;
  588. this.dc_name.VisibleIndex = 2;
  589. this.dc_name.Width = 99;
  590. //
  591. // dc_value
  592. //
  593. this.dc_value.Caption = "发送指令";
  594. this.dc_value.FieldName = "DC_VALUE";
  595. this.dc_value.Name = "dc_value";
  596. this.dc_value.Visible = true;
  597. this.dc_value.VisibleIndex = 3;
  598. this.dc_value.Width = 291;
  599. //
  600. // dc_sendcoding
  601. //
  602. this.dc_sendcoding.Caption = "发送编码";
  603. this.dc_sendcoding.ColumnEdit = this.CommandSetRepositoryItemComboBox1;
  604. this.dc_sendcoding.FieldName = "DC_SENDCODING";
  605. this.dc_sendcoding.Name = "dc_sendcoding";
  606. this.dc_sendcoding.Visible = true;
  607. this.dc_sendcoding.VisibleIndex = 4;
  608. this.dc_sendcoding.Width = 219;
  609. //
  610. // CommandSetRepositoryItemComboBox1
  611. //
  612. this.CommandSetRepositoryItemComboBox1.AutoHeight = false;
  613. this.CommandSetRepositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  614. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  615. this.CommandSetRepositoryItemComboBox1.Name = "CommandSetRepositoryItemComboBox1";
  616. //
  617. // dc_receivecoding
  618. //
  619. this.dc_receivecoding.Caption = "接收编码";
  620. this.dc_receivecoding.ColumnEdit = this.CommandSetRepositoryItemComboBox1;
  621. this.dc_receivecoding.FieldName = "DC_RECEIVECODING";
  622. this.dc_receivecoding.Name = "dc_receivecoding";
  623. this.dc_receivecoding.Visible = true;
  624. this.dc_receivecoding.VisibleIndex = 5;
  625. this.dc_receivecoding.Width = 231;
  626. //
  627. // PageDeviceNetSetting
  628. //
  629. this.PageDeviceNetSetting.Controls.Add(this.ButtonDeleteNetConfig);
  630. this.PageDeviceNetSetting.Controls.Add(this.ButtonAddNetConfig);
  631. this.PageDeviceNetSetting.Controls.Add(this.ButtonSaveNetConfig);
  632. this.PageDeviceNetSetting.Controls.Add(this.GridDeviceNetSetting);
  633. this.PageDeviceNetSetting.Name = "PageDeviceNetSetting";
  634. this.PageDeviceNetSetting.PageVisible = false;
  635. this.PageDeviceNetSetting.Size = new System.Drawing.Size(1027, 577);
  636. //
  637. // ButtonDeleteNetConfig
  638. //
  639. this.ButtonDeleteNetConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  640. this.ButtonDeleteNetConfig.Grid = null;
  641. this.ButtonDeleteNetConfig.Location = new System.Drawing.Point(813, 548);
  642. this.ButtonDeleteNetConfig.Name = "ButtonDeleteNetConfig";
  643. this.ButtonDeleteNetConfig.Size = new System.Drawing.Size(64, 23);
  644. this.ButtonDeleteNetConfig.TabIndex = 12;
  645. this.ButtonDeleteNetConfig.Text = "删除";
  646. //
  647. // ButtonAddNetConfig
  648. //
  649. this.ButtonAddNetConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  650. this.ButtonAddNetConfig.Grid = null;
  651. this.ButtonAddNetConfig.Location = new System.Drawing.Point(883, 548);
  652. this.ButtonAddNetConfig.Name = "ButtonAddNetConfig";
  653. this.ButtonAddNetConfig.Size = new System.Drawing.Size(64, 23);
  654. this.ButtonAddNetConfig.TabIndex = 11;
  655. this.ButtonAddNetConfig.Text = "新增";
  656. //
  657. // ButtonSaveNetConfig
  658. //
  659. this.ButtonSaveNetConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  660. this.ButtonSaveNetConfig.Grid = null;
  661. this.ButtonSaveNetConfig.HandlerOtherFirst = false;
  662. this.ButtonSaveNetConfig.Location = new System.Drawing.Point(953, 548);
  663. this.ButtonSaveNetConfig.Name = "ButtonSaveNetConfig";
  664. this.ButtonSaveNetConfig.Size = new System.Drawing.Size(64, 23);
  665. this.ButtonSaveNetConfig.TabIndex = 10;
  666. this.ButtonSaveNetConfig.Text = "保存";
  667. //
  668. // GridDeviceNetSetting
  669. //
  670. this.GridDeviceNetSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  671. | System.Windows.Forms.AnchorStyles.Left)
  672. | System.Windows.Forms.AnchorStyles.Right)));
  673. this.GridDeviceNetSetting.Condition = null;
  674. this.GridDeviceNetSetting.GetDataSQL = null;
  675. this.GridDeviceNetSetting.ID = null;
  676. this.GridDeviceNetSetting.InsertSQL = null;
  677. this.GridDeviceNetSetting.Location = new System.Drawing.Point(0, 2);
  678. this.GridDeviceNetSetting.MainView = this.GridViewDeviceNetSetting;
  679. this.GridDeviceNetSetting.MenuManager = this.RibbonNav;
  680. this.GridDeviceNetSetting.Name = "GridDeviceNetSetting";
  681. this.GridDeviceNetSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  682. this.dpc_enableCheckEdit});
  683. this.GridDeviceNetSetting.RowCount = 0;
  684. this.GridDeviceNetSetting.Size = new System.Drawing.Size(1024, 540);
  685. this.GridDeviceNetSetting.TabIndex = 0;
  686. this.GridDeviceNetSetting.TableName = null;
  687. this.GridDeviceNetSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  688. this.GridViewDeviceNetSetting});
  689. //
  690. // GridViewDeviceNetSetting
  691. //
  692. this.GridViewDeviceNetSetting.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  693. this.NetSettingCheckedColumn,
  694. this.dnc_id,
  695. this.dnc_decode,
  696. this.dnc_getway,
  697. this.dnc_upperip,
  698. this.dnc_port,
  699. this.dnc_mac,
  700. this.dnc_ip,
  701. this.dnc_type});
  702. this.GridViewDeviceNetSetting.GridControl = this.GridDeviceNetSetting;
  703. this.GridViewDeviceNetSetting.IndicatorWidth = 30;
  704. this.GridViewDeviceNetSetting.Name = "GridViewDeviceNetSetting";
  705. this.GridViewDeviceNetSetting.OptionsView.ShowGroupPanel = false;
  706. //
  707. // NetSettingCheckedColumn
  708. //
  709. this.NetSettingCheckedColumn.Caption = " ";
  710. this.NetSettingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
  711. this.NetSettingCheckedColumn.FieldName = "CHECKEDCOLUMN";
  712. this.NetSettingCheckedColumn.Name = "NetSettingCheckedColumn";
  713. this.NetSettingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  714. this.NetSettingCheckedColumn.OptionsFilter.AllowFilter = false;
  715. this.NetSettingCheckedColumn.Tag = "0";
  716. this.NetSettingCheckedColumn.Visible = true;
  717. this.NetSettingCheckedColumn.VisibleIndex = 0;
  718. //
  719. // dpc_enableCheckEdit
  720. //
  721. this.dpc_enableCheckEdit.AutoHeight = false;
  722. this.dpc_enableCheckEdit.Name = "dpc_enableCheckEdit";
  723. this.dpc_enableCheckEdit.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
  724. this.dpc_enableCheckEdit.NullText = "0";
  725. this.dpc_enableCheckEdit.ValueChecked = "-1";
  726. this.dpc_enableCheckEdit.ValueUnchecked = "0";
  727. //
  728. // dnc_id
  729. //
  730. this.dnc_id.Caption = "ID";
  731. this.dnc_id.FieldName = "DNC_ID";
  732. this.dnc_id.Name = "dnc_id";
  733. //
  734. // dnc_decode
  735. //
  736. this.dnc_decode.Caption = "设备编号";
  737. this.dnc_decode.FieldName = "DNC_DECODE";
  738. this.dnc_decode.Name = "dnc_decode";
  739. this.dnc_decode.Visible = true;
  740. this.dnc_decode.VisibleIndex = 1;
  741. //
  742. // dnc_getway
  743. //
  744. this.dnc_getway.Caption = "网关";
  745. this.dnc_getway.FieldName = "DNC_GATEWAY";
  746. this.dnc_getway.Name = "dnc_getway";
  747. this.dnc_getway.Visible = true;
  748. this.dnc_getway.VisibleIndex = 2;
  749. //
  750. // dnc_upperip
  751. //
  752. this.dnc_upperip.Caption = "上级IP";
  753. this.dnc_upperip.FieldName = "DNC_UPPERIP";
  754. this.dnc_upperip.Name = "dnc_upperip";
  755. this.dnc_upperip.Visible = true;
  756. this.dnc_upperip.VisibleIndex = 3;
  757. //
  758. // dnc_port
  759. //
  760. this.dnc_port.Caption = "端口";
  761. this.dnc_port.FieldName = "DNC_PORT";
  762. this.dnc_port.Name = "dnc_port";
  763. this.dnc_port.Visible = true;
  764. this.dnc_port.VisibleIndex = 4;
  765. //
  766. // dnc_mac
  767. //
  768. this.dnc_mac.Caption = "MAC";
  769. this.dnc_mac.FieldName = "DNC_MAC";
  770. this.dnc_mac.Name = "dnc_mac";
  771. this.dnc_mac.Visible = true;
  772. this.dnc_mac.VisibleIndex = 5;
  773. //
  774. // dnc_ip
  775. //
  776. this.dnc_ip.Caption = "IP";
  777. this.dnc_ip.FieldName = "DNC_IP";
  778. this.dnc_ip.Name = "dnc_ip";
  779. this.dnc_ip.Visible = true;
  780. this.dnc_ip.VisibleIndex = 6;
  781. //
  782. // dnc_type
  783. //
  784. this.dnc_type.Caption = "类型";
  785. this.dnc_type.FieldName = "DNC_TYPE";
  786. this.dnc_type.Name = "dnc_type";
  787. this.dnc_type.Visible = true;
  788. this.dnc_type.VisibleIndex = 7;
  789. //
  790. // PagePollingSetting
  791. //
  792. this.PagePollingSetting.Controls.Add(this.ButtonDeleteCommandSet);
  793. this.PagePollingSetting.Controls.Add(this.ButtonNewCommandSet);
  794. this.PagePollingSetting.Controls.Add(this.ButtonSaveCommandSet);
  795. this.PagePollingSetting.Controls.Add(this.ButtonPausePolling);
  796. this.PagePollingSetting.Controls.Add(this.ButtonStartPolling);
  797. this.PagePollingSetting.Controls.Add(this.GridPollingSetting);
  798. this.PagePollingSetting.Name = "PagePollingSetting";
  799. this.PagePollingSetting.PageVisible = false;
  800. this.PagePollingSetting.Size = new System.Drawing.Size(1027, 577);
  801. this.PagePollingSetting.Text = "xtraTabPage1";
  802. this.PagePollingSetting.VisibleChanged += new System.EventHandler(this.PagePollingSetting_VisibleChanged);
  803. //
  804. // ButtonDeleteCommandSet
  805. //
  806. this.ButtonDeleteCommandSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  807. this.ButtonDeleteCommandSet.Grid = null;
  808. this.ButtonDeleteCommandSet.Location = new System.Drawing.Point(816, 549);
  809. this.ButtonDeleteCommandSet.Name = "ButtonDeleteCommandSet";
  810. this.ButtonDeleteCommandSet.Size = new System.Drawing.Size(64, 23);
  811. this.ButtonDeleteCommandSet.TabIndex = 9;
  812. this.ButtonDeleteCommandSet.Text = "删除";
  813. //
  814. // ButtonNewCommandSet
  815. //
  816. this.ButtonNewCommandSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  817. this.ButtonNewCommandSet.Grid = null;
  818. this.ButtonNewCommandSet.Location = new System.Drawing.Point(886, 549);
  819. this.ButtonNewCommandSet.Name = "ButtonNewCommandSet";
  820. this.ButtonNewCommandSet.Size = new System.Drawing.Size(64, 23);
  821. this.ButtonNewCommandSet.TabIndex = 8;
  822. this.ButtonNewCommandSet.Text = "新增";
  823. //
  824. // ButtonSaveCommandSet
  825. //
  826. this.ButtonSaveCommandSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  827. this.ButtonSaveCommandSet.Grid = null;
  828. this.ButtonSaveCommandSet.HandlerOtherFirst = false;
  829. this.ButtonSaveCommandSet.Location = new System.Drawing.Point(956, 549);
  830. this.ButtonSaveCommandSet.Name = "ButtonSaveCommandSet";
  831. this.ButtonSaveCommandSet.Size = new System.Drawing.Size(64, 23);
  832. this.ButtonSaveCommandSet.TabIndex = 7;
  833. this.ButtonSaveCommandSet.Text = "保存";
  834. //
  835. // ButtonPausePolling
  836. //
  837. this.ButtonPausePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  838. this.ButtonPausePolling.Location = new System.Drawing.Point(734, 549);
  839. this.ButtonPausePolling.Name = "ButtonPausePolling";
  840. this.ButtonPausePolling.Size = new System.Drawing.Size(75, 23);
  841. this.ButtonPausePolling.TabIndex = 2;
  842. this.ButtonPausePolling.Text = "暂停轮询";
  843. this.ButtonPausePolling.Click += new System.EventHandler(this.ButtonPausePolling_Click);
  844. //
  845. // ButtonStartPolling
  846. //
  847. this.ButtonStartPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  848. this.ButtonStartPolling.Location = new System.Drawing.Point(653, 549);
  849. this.ButtonStartPolling.Name = "ButtonStartPolling";
  850. this.ButtonStartPolling.Size = new System.Drawing.Size(75, 23);
  851. this.ButtonStartPolling.TabIndex = 1;
  852. this.ButtonStartPolling.Text = "开启轮询";
  853. this.ButtonStartPolling.Click += new System.EventHandler(this.ButtonStartPolling_Click);
  854. //
  855. // GridPollingSetting
  856. //
  857. this.GridPollingSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  858. | System.Windows.Forms.AnchorStyles.Left)
  859. | System.Windows.Forms.AnchorStyles.Right)));
  860. this.GridPollingSetting.Condition = null;
  861. this.GridPollingSetting.GetDataSQL = null;
  862. this.GridPollingSetting.ID = null;
  863. this.GridPollingSetting.InsertSQL = null;
  864. this.GridPollingSetting.Location = new System.Drawing.Point(0, 0);
  865. this.GridPollingSetting.MainView = this.GridViewPollSetting;
  866. this.GridPollingSetting.MenuManager = this.RibbonNav;
  867. this.GridPollingSetting.Name = "GridPollingSetting";
  868. this.GridPollingSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  869. this.dpc_enableCheckEdit,
  870. this.PollingSetItemLookUpEdit,
  871. this.PollSettingItemSearchLookUpEdit});
  872. this.GridPollingSetting.RowCount = 0;
  873. this.GridPollingSetting.Size = new System.Drawing.Size(1027, 544);
  874. this.GridPollingSetting.TabIndex = 0;
  875. this.GridPollingSetting.TableName = null;
  876. this.GridPollingSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  877. this.GridViewPollSetting});
  878. //
  879. // GridViewPollSetting
  880. //
  881. this.GridViewPollSetting.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  882. this.PollSettingCheckedColumn,
  883. this.dpc_id,
  884. this.dpc_decode,
  885. this.dpc_interval,
  886. this.dpc_dccode,
  887. this.dpc_function,
  888. this.dpc_enable,
  889. this.dpc_status,
  890. this.dpc_remark,
  891. this.POLLSETTINGSTATUSCOLUMN});
  892. this.GridViewPollSetting.GridControl = this.GridPollingSetting;
  893. this.GridViewPollSetting.IndicatorWidth = 30;
  894. this.GridViewPollSetting.Name = "GridViewPollSetting";
  895. this.GridViewPollSetting.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
  896. this.GridViewPollSetting.OptionsView.ShowGroupPanel = false;
  897. this.GridViewPollSetting.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.GridViewPollSetting_CellValueChanging);
  898. //
  899. // PollSettingCheckedColumn
  900. //
  901. this.PollSettingCheckedColumn.Caption = " ";
  902. this.PollSettingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
  903. this.PollSettingCheckedColumn.FieldName = "CHECKEDCOLUMN";
  904. this.PollSettingCheckedColumn.Name = "PollSettingCheckedColumn";
  905. this.PollSettingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  906. this.PollSettingCheckedColumn.OptionsFilter.AllowFilter = false;
  907. this.PollSettingCheckedColumn.Tag = "0";
  908. this.PollSettingCheckedColumn.Visible = true;
  909. this.PollSettingCheckedColumn.VisibleIndex = 0;
  910. //
  911. // dpc_id
  912. //
  913. this.dpc_id.Caption = "ID";
  914. this.dpc_id.FieldName = "DPC_ID";
  915. this.dpc_id.Name = "dpc_id";
  916. //
  917. // dpc_decode
  918. //
  919. this.dpc_decode.Caption = "设备编号";
  920. this.dpc_decode.FieldName = "DPC_DECODE";
  921. this.dpc_decode.Name = "dpc_decode";
  922. this.dpc_decode.Visible = true;
  923. this.dpc_decode.VisibleIndex = 1;
  924. this.dpc_decode.Width = 90;
  925. //
  926. // dpc_interval
  927. //
  928. this.dpc_interval.Caption = "轮询间隔";
  929. this.dpc_interval.FieldName = "DPC_INTERVAL";
  930. this.dpc_interval.Name = "dpc_interval";
  931. this.dpc_interval.Visible = true;
  932. this.dpc_interval.VisibleIndex = 2;
  933. this.dpc_interval.Width = 90;
  934. //
  935. // dpc_dccode
  936. //
  937. this.dpc_dccode.Caption = "指令编号";
  938. this.dpc_dccode.ColumnEdit = this.PollSettingItemSearchLookUpEdit;
  939. this.dpc_dccode.FieldName = "DPC_DCCODE";
  940. this.dpc_dccode.Name = "dpc_dccode";
  941. this.dpc_dccode.Visible = true;
  942. this.dpc_dccode.VisibleIndex = 3;
  943. this.dpc_dccode.Width = 90;
  944. //
  945. // PollSettingItemSearchLookUpEdit
  946. //
  947. this.PollSettingItemSearchLookUpEdit.AutoHeight = false;
  948. this.PollSettingItemSearchLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  949. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  950. this.PollSettingItemSearchLookUpEdit.Name = "PollSettingItemSearchLookUpEdit";
  951. this.PollSettingItemSearchLookUpEdit.NullText = "";
  952. this.PollSettingItemSearchLookUpEdit.View = this.PollSettingItemSearchLookUpEditView;
  953. //
  954. // PollSettingItemSearchLookUpEditView
  955. //
  956. this.PollSettingItemSearchLookUpEditView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  957. this.gridColumn4,
  958. this.gridColumn2,
  959. this.gridColumn5});
  960. this.PollSettingItemSearchLookUpEditView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
  961. this.PollSettingItemSearchLookUpEditView.Name = "PollSettingItemSearchLookUpEditView";
  962. this.PollSettingItemSearchLookUpEditView.OptionsSelection.EnableAppearanceFocusedCell = false;
  963. this.PollSettingItemSearchLookUpEditView.OptionsView.ShowGroupPanel = false;
  964. //
  965. // gridColumn4
  966. //
  967. this.gridColumn4.Caption = "指令编号";
  968. this.gridColumn4.FieldName = "DC_CODE";
  969. this.gridColumn4.Name = "gridColumn4";
  970. this.gridColumn4.Visible = true;
  971. this.gridColumn4.VisibleIndex = 0;
  972. //
  973. // gridColumn2
  974. //
  975. this.gridColumn2.Caption = "指令名称";
  976. this.gridColumn2.FieldName = "DC_NAME";
  977. this.gridColumn2.Name = "gridColumn2";
  978. this.gridColumn2.Visible = true;
  979. this.gridColumn2.VisibleIndex = 1;
  980. //
  981. // gridColumn5
  982. //
  983. this.gridColumn5.Caption = "备注";
  984. this.gridColumn5.FieldName = "DC_REMARK";
  985. this.gridColumn5.Name = "gridColumn5";
  986. this.gridColumn5.Visible = true;
  987. this.gridColumn5.VisibleIndex = 2;
  988. //
  989. // dpc_function
  990. //
  991. this.dpc_function.Caption = "解析函数";
  992. this.dpc_function.FieldName = "DPC_FUNCTION";
  993. this.dpc_function.Name = "dpc_function";
  994. this.dpc_function.Visible = true;
  995. this.dpc_function.VisibleIndex = 4;
  996. this.dpc_function.Width = 90;
  997. //
  998. // dpc_enable
  999. //
  1000. this.dpc_enable.Caption = "是否启用";
  1001. this.dpc_enable.ColumnEdit = this.dpc_enableCheckEdit;
  1002. this.dpc_enable.FieldName = "DPC_ENABLE";
  1003. this.dpc_enable.Name = "dpc_enable";
  1004. this.dpc_enable.Visible = true;
  1005. this.dpc_enable.VisibleIndex = 5;
  1006. this.dpc_enable.Width = 90;
  1007. //
  1008. // dpc_status
  1009. //
  1010. this.dpc_status.Caption = "状态";
  1011. this.dpc_status.FieldName = "DPC_STATUS";
  1012. this.dpc_status.Name = "dpc_status";
  1013. this.dpc_status.OptionsColumn.AllowEdit = false;
  1014. this.dpc_status.Visible = true;
  1015. this.dpc_status.VisibleIndex = 6;
  1016. this.dpc_status.Width = 90;
  1017. //
  1018. // dpc_remark
  1019. //
  1020. this.dpc_remark.Caption = "备注";
  1021. this.dpc_remark.FieldName = "DPC_REMARK";
  1022. this.dpc_remark.Name = "dpc_remark";
  1023. this.dpc_remark.Visible = true;
  1024. this.dpc_remark.VisibleIndex = 7;
  1025. this.dpc_remark.Width = 87;
  1026. //
  1027. // POLLSETTINGSTATUSCOLUMN
  1028. //
  1029. this.POLLSETTINGSTATUSCOLUMN.Caption = "运行状态";
  1030. this.POLLSETTINGSTATUSCOLUMN.FieldName = "POLLSETTINGSTATUSCOLUMN";
  1031. this.POLLSETTINGSTATUSCOLUMN.Name = "POLLSETTINGSTATUSCOLUMN";
  1032. this.POLLSETTINGSTATUSCOLUMN.OptionsColumn.ReadOnly = true;
  1033. this.POLLSETTINGSTATUSCOLUMN.Visible = true;
  1034. this.POLLSETTINGSTATUSCOLUMN.VisibleIndex = 8;
  1035. this.POLLSETTINGSTATUSCOLUMN.Width = 98;
  1036. //
  1037. // PollingSetItemLookUpEdit
  1038. //
  1039. this.PollingSetItemLookUpEdit.AutoHeight = false;
  1040. this.PollingSetItemLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  1041. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  1042. this.PollingSetItemLookUpEdit.Name = "PollingSetItemLookUpEdit";
  1043. this.PollingSetItemLookUpEdit.NullText = "";
  1044. this.PollingSetItemLookUpEdit.ShowFooter = false;
  1045. this.PollingSetItemLookUpEdit.ShowHeader = false;
  1046. //
  1047. // PagePolling
  1048. //
  1049. this.PagePolling.Controls.Add(this.ButtonAddPolling);
  1050. this.PagePolling.Controls.Add(this.ButtonDeletePolling);
  1051. this.PagePolling.Controls.Add(this.ButtonSavePolling);
  1052. this.PagePolling.Controls.Add(this.GridPolling);
  1053. this.PagePolling.Name = "PagePolling";
  1054. this.PagePolling.PageVisible = false;
  1055. this.PagePolling.Size = new System.Drawing.Size(1027, 577);
  1056. this.PagePolling.Text = "xtraTabPage1";
  1057. //
  1058. // ButtonAddPolling
  1059. //
  1060. this.ButtonAddPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  1061. this.ButtonAddPolling.Grid = null;
  1062. this.ButtonAddPolling.Location = new System.Drawing.Point(878, 551);
  1063. this.ButtonAddPolling.Name = "ButtonAddPolling";
  1064. this.ButtonAddPolling.Size = new System.Drawing.Size(64, 23);
  1065. this.ButtonAddPolling.TabIndex = 9;
  1066. this.ButtonAddPolling.Text = "新增";
  1067. //
  1068. // ButtonDeletePolling
  1069. //
  1070. this.ButtonDeletePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  1071. this.ButtonDeletePolling.Grid = null;
  1072. this.ButtonDeletePolling.Location = new System.Drawing.Point(807, 551);
  1073. this.ButtonDeletePolling.Name = "ButtonDeletePolling";
  1074. this.ButtonDeletePolling.Size = new System.Drawing.Size(64, 23);
  1075. this.ButtonDeletePolling.TabIndex = 8;
  1076. this.ButtonDeletePolling.Text = "删除";
  1077. //
  1078. // ButtonSavePolling
  1079. //
  1080. this.ButtonSavePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  1081. this.ButtonSavePolling.Grid = null;
  1082. this.ButtonSavePolling.HandlerOtherFirst = false;
  1083. this.ButtonSavePolling.Location = new System.Drawing.Point(949, 551);
  1084. this.ButtonSavePolling.Name = "ButtonSavePolling";
  1085. this.ButtonSavePolling.Size = new System.Drawing.Size(64, 23);
  1086. this.ButtonSavePolling.TabIndex = 7;
  1087. this.ButtonSavePolling.Text = "保存";
  1088. //
  1089. // GridPolling
  1090. //
  1091. this.GridPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  1092. | System.Windows.Forms.AnchorStyles.Left)
  1093. | System.Windows.Forms.AnchorStyles.Right)));
  1094. this.GridPolling.Condition = null;
  1095. this.GridPolling.GetDataSQL = null;
  1096. this.GridPolling.ID = null;
  1097. this.GridPolling.InsertSQL = null;
  1098. this.GridPolling.Location = new System.Drawing.Point(3, -3);
  1099. this.GridPolling.MainView = this.GridViewPolling;
  1100. this.GridPolling.MenuManager = this.RibbonNav;
  1101. this.GridPolling.Name = "GridPolling";
  1102. this.GridPolling.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  1103. this.dpc_enableCheckEdit});
  1104. this.GridPolling.RowCount = 0;
  1105. this.GridPolling.Size = new System.Drawing.Size(1027, 549);
  1106. this.GridPolling.TabIndex = 0;
  1107. this.GridPolling.TableName = null;
  1108. this.GridPolling.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  1109. this.GridViewPolling});
  1110. //
  1111. // GridViewPolling
  1112. //
  1113. this.GridViewPolling.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  1114. this.PollingCheckedColumn,
  1115. this.pl_id,
  1116. this.pl_code,
  1117. this.pl_name,
  1118. this.pl_type,
  1119. this.pl_dccode,
  1120. this.pl_remark});
  1121. this.GridViewPolling.GridControl = this.GridPolling;
  1122. this.GridViewPolling.IndicatorWidth = 30;
  1123. this.GridViewPolling.Name = "GridViewPolling";
  1124. this.GridViewPolling.OptionsView.ShowGroupPanel = false;
  1125. //
  1126. // PollingCheckedColumn
  1127. //
  1128. this.PollingCheckedColumn.Caption = " ";
  1129. this.PollingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
  1130. this.PollingCheckedColumn.FieldName = "CHECKEDCOLUMN";
  1131. this.PollingCheckedColumn.Name = "PollingCheckedColumn";
  1132. this.PollingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  1133. this.PollingCheckedColumn.Tag = "0";
  1134. this.PollingCheckedColumn.Visible = true;
  1135. this.PollingCheckedColumn.VisibleIndex = 0;
  1136. //
  1137. // pl_id
  1138. //
  1139. this.pl_id.Caption = "ID";
  1140. this.pl_id.FieldName = "PL_ID";
  1141. this.pl_id.Name = "pl_id";
  1142. //
  1143. // pl_code
  1144. //
  1145. this.pl_code.Caption = "业务编号";
  1146. this.pl_code.FieldName = "PL_CODE";
  1147. this.pl_code.Name = "pl_code";
  1148. this.pl_code.Visible = true;
  1149. this.pl_code.VisibleIndex = 1;
  1150. //
  1151. // pl_name
  1152. //
  1153. this.pl_name.Caption = "业务名称";
  1154. this.pl_name.FieldName = "PL_NAME";
  1155. this.pl_name.Name = "pl_name";
  1156. this.pl_name.Visible = true;
  1157. this.pl_name.VisibleIndex = 2;
  1158. //
  1159. // pl_type
  1160. //
  1161. this.pl_type.Caption = "业务类型";
  1162. this.pl_type.FieldName = "PL_TYPE";
  1163. this.pl_type.Name = "pl_type";
  1164. this.pl_type.Visible = true;
  1165. this.pl_type.VisibleIndex = 3;
  1166. //
  1167. // pl_dccode
  1168. //
  1169. this.pl_dccode.Caption = "指令编号";
  1170. this.pl_dccode.ColumnEdit = this.PollingSetItemLookUpEdit;
  1171. this.pl_dccode.FieldName = "PL_DCCODE";
  1172. this.pl_dccode.Name = "pl_dccode";
  1173. this.pl_dccode.Visible = true;
  1174. this.pl_dccode.VisibleIndex = 4;
  1175. //
  1176. // pl_remark
  1177. //
  1178. this.pl_remark.Caption = "备注";
  1179. this.pl_remark.FieldName = "PL_REMARK";
  1180. this.pl_remark.Name = "pl_remark";
  1181. this.pl_remark.Visible = true;
  1182. this.pl_remark.VisibleIndex = 5;
  1183. //
  1184. // PageDeviceStatus
  1185. //
  1186. this.PageDeviceStatus.Controls.Add(this.PanelDeviceStatus);
  1187. this.PageDeviceStatus.Name = "PageDeviceStatus";
  1188. this.PageDeviceStatus.PageVisible = false;
  1189. this.PageDeviceStatus.Size = new System.Drawing.Size(1027, 577);
  1190. this.PageDeviceStatus.Text = "xtraTabPage1";
  1191. this.PageDeviceStatus.VisibleChanged += new System.EventHandler(this.PageDeviceStatus_VisibleChanged);
  1192. //
  1193. // PageWorkCenterStatus
  1194. //
  1195. this.PageWorkCenterStatus.Controls.Add(this.GridWorkCenterStatus);
  1196. this.PageWorkCenterStatus.Name = "PageWorkCenterStatus";
  1197. this.PageWorkCenterStatus.PageVisible = false;
  1198. this.PageWorkCenterStatus.Size = new System.Drawing.Size(1027, 577);
  1199. this.PageWorkCenterStatus.Text = "车间全局监控";
  1200. //
  1201. // GridWorkCenterStatus
  1202. //
  1203. this.GridWorkCenterStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  1204. | System.Windows.Forms.AnchorStyles.Left)
  1205. | System.Windows.Forms.AnchorStyles.Right)));
  1206. this.GridWorkCenterStatus.Condition = null;
  1207. this.GridWorkCenterStatus.GetDataSQL = null;
  1208. this.GridWorkCenterStatus.ID = null;
  1209. this.GridWorkCenterStatus.InsertSQL = null;
  1210. this.GridWorkCenterStatus.Location = new System.Drawing.Point(0, 0);
  1211. this.GridWorkCenterStatus.MainView = this.GridViewWorkCenterStatus;
  1212. this.GridWorkCenterStatus.MenuManager = this.RibbonNav;
  1213. this.GridWorkCenterStatus.Name = "GridWorkCenterStatus";
  1214. this.GridWorkCenterStatus.RowCount = 0;
  1215. this.GridWorkCenterStatus.Size = new System.Drawing.Size(1024, 574);
  1216. this.GridWorkCenterStatus.TabIndex = 0;
  1217. this.GridWorkCenterStatus.TableName = null;
  1218. this.GridWorkCenterStatus.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  1219. this.GridViewWorkCenterStatus});
  1220. //
  1221. // GridViewWorkCenterStatus
  1222. //
  1223. this.GridViewWorkCenterStatus.GridControl = this.GridWorkCenterStatus;
  1224. this.GridViewWorkCenterStatus.IndicatorWidth = 30;
  1225. this.GridViewWorkCenterStatus.Name = "GridViewWorkCenterStatus";
  1226. this.GridViewWorkCenterStatus.OptionsView.ShowGroupPanel = false;
  1227. //
  1228. // TimerDeviceStatus
  1229. //
  1230. this.TimerDeviceStatus.Interval = 10000;
  1231. this.TimerDeviceStatus.Tick += new System.EventHandler(this.TimerDeviceStatus_Tick);
  1232. //
  1233. // PanelDeviceStatus
  1234. //
  1235. this.PanelDeviceStatus.Dock = System.Windows.Forms.DockStyle.Fill;
  1236. this.PanelDeviceStatus.Location = new System.Drawing.Point(0, 0);
  1237. this.PanelDeviceStatus.Name = "PanelDeviceStatus";
  1238. this.PanelDeviceStatus.Size = new System.Drawing.Size(1027, 577);
  1239. this.PanelDeviceStatus.TabIndex = 0;
  1240. //
  1241. // Main
  1242. //
  1243. this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.False;
  1244. this.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
  1245. this.Appearance.Options.UseForeColor = true;
  1246. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
  1247. this.ClientSize = new System.Drawing.Size(1033, 711);
  1248. this.Controls.Add(this.MainTabControl);
  1249. this.Controls.Add(this.RibbonNav);
  1250. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  1251. this.Name = "Main";
  1252. this.Ribbon = this.RibbonNav;
  1253. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  1254. this.Text = "设备监控管理平台";
  1255. this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
  1256. this.Load += new System.EventHandler(this.Main_Load);
  1257. ((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).EndInit();
  1258. ((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).EndInit();
  1259. this.MainTabControl.ResumeLayout(false);
  1260. this.PageDeviceList.ResumeLayout(false);
  1261. ((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).EndInit();
  1262. ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).EndInit();
  1263. this.PageCommandSet.ResumeLayout(false);
  1264. this.PageCommandSet.PerformLayout();
  1265. ((System.ComponentModel.ISupportInitialize)(this.Brand.Properties)).EndInit();
  1266. ((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).EndInit();
  1267. ((System.ComponentModel.ISupportInitialize)(this.GridViewCommandSet)).EndInit();
  1268. ((System.ComponentModel.ISupportInitialize)(this.CheckEditCommandSet)).EndInit();
  1269. ((System.ComponentModel.ISupportInitialize)(this.CommandSetRepositoryItemComboBox1)).EndInit();
  1270. this.PageDeviceNetSetting.ResumeLayout(false);
  1271. ((System.ComponentModel.ISupportInitialize)(this.GridDeviceNetSetting)).EndInit();
  1272. ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceNetSetting)).EndInit();
  1273. ((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).EndInit();
  1274. this.PagePollingSetting.ResumeLayout(false);
  1275. ((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).EndInit();
  1276. ((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).EndInit();
  1277. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEdit)).EndInit();
  1278. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEditView)).EndInit();
  1279. ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).EndInit();
  1280. this.PagePolling.ResumeLayout(false);
  1281. ((System.ComponentModel.ISupportInitialize)(this.GridPolling)).EndInit();
  1282. ((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).EndInit();
  1283. this.PageDeviceStatus.ResumeLayout(false);
  1284. this.PageWorkCenterStatus.ResumeLayout(false);
  1285. ((System.ComponentModel.ISupportInitialize)(this.GridWorkCenterStatus)).EndInit();
  1286. ((System.ComponentModel.ISupportInitialize)(this.GridViewWorkCenterStatus)).EndInit();
  1287. this.ResumeLayout(false);
  1288. this.PerformLayout();
  1289. }
  1290. #endregion
  1291. private DevExpress.XtraBars.Ribbon.RibbonControl RibbonNav;
  1292. private DevExpress.XtraBars.BarButtonItem ButtonDeviceList;
  1293. private DevExpress.XtraBars.Ribbon.RibbonPage DeviceInf;
  1294. private DevExpress.XtraBars.Ribbon.RibbonPageGroup RibDeviceInf;
  1295. private DevExpress.XtraTab.XtraTabControl MainTabControl;
  1296. private DevExpress.XtraBars.BarButtonItem ButtonDeviceNetSetting;
  1297. private DevExpress.XtraBars.Ribbon.RibbonPage DeviceCommandSetting;
  1298. private DevExpress.XtraBars.BarButtonItem ButtonCommandSet;
  1299. private DevExpress.XtraBars.Ribbon.RibbonPageGroup RibDeviceCommand;
  1300. private DevExpress.XtraTab.XtraTabPage PageDeviceList;
  1301. private DevExpress.XtraTab.XtraTabPage PageCommandSet;
  1302. private DevExpress.XtraTab.XtraTabPage PageDeviceNetSetting;
  1303. private AutoDataGridControl GridDeviceList;
  1304. private DevExpress.XtraBars.BarButtonItem ButtonPollingSetting;
  1305. private DevExpress.XtraBars.BarButtonItem ButtionPolling;
  1306. private DevExpress.XtraTab.XtraTabPage PagePollingSetting;
  1307. private DevExpress.XtraTab.XtraTabPage PagePolling;
  1308. private DevExpress.XtraGrid.Columns.GridColumn de_id;
  1309. private DevExpress.XtraGrid.Columns.GridColumn de_code;
  1310. private DevExpress.XtraGrid.Columns.GridColumn de_name;
  1311. private DevExpress.XtraGrid.Columns.GridColumn de_runstatus;
  1312. private DevExpress.XtraGrid.Columns.GridColumn de_indate;
  1313. private DevExpress.XtraGrid.Columns.GridColumn de_spec;
  1314. private DevExpress.XtraGrid.Columns.GridColumn de_vendcode;
  1315. private DevExpress.XtraGrid.Columns.GridColumn de_vendname;
  1316. private DevExpress.XtraGrid.Columns.GridColumn de_address;
  1317. private DevExpress.XtraGrid.Columns.GridColumn de_wccode;
  1318. private CustomerControl.PagingControl.PageControl ToolPageControlDeviceList;
  1319. private AutoDataGridControl GridCommandSetting;
  1320. private DevExpress.XtraGrid.Columns.GridColumn dc_id;
  1321. private DevExpress.XtraGrid.Columns.GridColumn dc_code;
  1322. private DevExpress.XtraGrid.Columns.GridColumn dc_name;
  1323. private DevExpress.XtraGrid.Columns.GridColumn dc_value;
  1324. private AutoDataGridControl GridPolling;
  1325. private AutoDataGridControl GridPollingSetting;
  1326. private DevExpress.XtraGrid.Columns.GridColumn pl_id;
  1327. private DevExpress.XtraGrid.Columns.GridColumn pl_code;
  1328. private DevExpress.XtraGrid.Columns.GridColumn pl_name;
  1329. private DevExpress.XtraGrid.Columns.GridColumn pl_type;
  1330. private DevExpress.XtraGrid.Columns.GridColumn pl_dccode;
  1331. private DevExpress.XtraGrid.Columns.GridColumn pl_remark;
  1332. private DevExpress.XtraGrid.Columns.GridColumn dpc_id;
  1333. private DevExpress.XtraGrid.Columns.GridColumn dpc_decode;
  1334. private DevExpress.XtraGrid.Columns.GridColumn dpc_interval;
  1335. private DevExpress.XtraGrid.Columns.GridColumn dpc_dccode;
  1336. private DevExpress.XtraGrid.Columns.GridColumn dpc_function;
  1337. private DevExpress.XtraGrid.Columns.GridColumn dpc_enable;
  1338. private DevExpress.XtraGrid.Columns.GridColumn dpc_status;
  1339. private DevExpress.XtraGrid.Columns.GridColumn dpc_remark;
  1340. private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit dpc_enableCheckEdit;
  1341. private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommand;
  1342. private CustomerControl.Button.ButtonAddRow ButtonNewCommand;
  1343. private GridViewWithSerialNum GridViewDeviceList;
  1344. private GridViewWithSerialNum GridViewCommandSet;
  1345. private GridViewWithSerialNum GridViewPolling;
  1346. private GridViewWithSerialNum GridViewPollSetting;
  1347. private LabelControl Brand_label;
  1348. private ComboBoxEdit Brand;
  1349. private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit CheckEditCommandSet;
  1350. private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommand;
  1351. private CustomerControl.Button.ButtonDeleteRow ButtonDeletePolling;
  1352. private CustomerControl.Button.ButtonSaveGrid ButtonSavePolling;
  1353. private CustomerControl.Button.ButtonAddRow ButtonAddPolling;
  1354. private SimpleButton ButtonPausePolling;
  1355. private SimpleButton ButtonStartPolling;
  1356. private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommandSet;
  1357. private CustomerControl.Button.ButtonAddRow ButtonNewCommandSet;
  1358. private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommandSet;
  1359. private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit PollingSetItemLookUpEdit;
  1360. private DevExpress.XtraGrid.Columns.GridColumn POLLSETTINGSTATUSCOLUMN;
  1361. private DevExpress.XtraGrid.Columns.GridColumn PollSettingCheckedColumn;
  1362. private DevExpress.XtraGrid.Columns.GridColumn CommandSetCheckedColumn;
  1363. private DevExpress.XtraGrid.Columns.GridColumn PollingCheckedColumn;
  1364. private DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit PollSettingItemSearchLookUpEdit;
  1365. private DevExpress.XtraGrid.Views.Grid.GridView PollSettingItemSearchLookUpEditView;
  1366. private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
  1367. private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
  1368. private DevExpress.XtraBars.BarButtonItem ButtonDeviceStatus;
  1369. private DevExpress.XtraBars.BarButtonItem ButtonWorkCenterStatus;
  1370. private AutoDataGridControl GridDeviceNetSetting;
  1371. private GridViewWithSerialNum GridViewDeviceNetSetting;
  1372. private DevExpress.XtraTab.XtraTabPage PageDeviceStatus;
  1373. private DevExpress.XtraTab.XtraTabPage PageWorkCenterStatus;
  1374. private DevExpress.XtraGrid.Columns.GridColumn dnc_id;
  1375. private DevExpress.XtraGrid.Columns.GridColumn dnc_decode;
  1376. private DevExpress.XtraGrid.Columns.GridColumn dnc_getway;
  1377. private DevExpress.XtraGrid.Columns.GridColumn dnc_upperip;
  1378. private DevExpress.XtraGrid.Columns.GridColumn dnc_port;
  1379. private DevExpress.XtraGrid.Columns.GridColumn dnc_mac;
  1380. private DevExpress.XtraGrid.Columns.GridColumn dnc_ip;
  1381. private DevExpress.XtraGrid.Columns.GridColumn dnc_type;
  1382. private CustomerControl.Button.ButtonDeleteRow ButtonDeleteNetConfig;
  1383. private CustomerControl.Button.ButtonAddRow ButtonAddNetConfig;
  1384. private CustomerControl.Button.ButtonSaveGrid ButtonSaveNetConfig;
  1385. private DevExpress.XtraGrid.Columns.GridColumn NetSettingCheckedColumn;
  1386. private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
  1387. private DevExpress.XtraGrid.Columns.GridColumn dc_sendcoding;
  1388. private DevExpress.XtraGrid.Columns.GridColumn dc_receivecoding;
  1389. private DevExpress.XtraEditors.Repository.RepositoryItemComboBox CommandSetRepositoryItemComboBox1;
  1390. private System.Windows.Forms.Timer TimerDeviceStatus;
  1391. private AutoDataGridControl GridWorkCenterStatus;
  1392. private GridViewWithSerialNum GridViewWorkCenterStatus;
  1393. private XtraScrollableControl PanelDeviceStatus;
  1394. }
  1395. }