Main.Designer.cs 78 KB

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