Main.Designer.cs 80 KB

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