Main.Designer.cs 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087
  1. using DevExpress.XtraEditors;
  2. using UAS_DeviceMonitor.CustomerControl.AutoDataGridControl;
  3. using UAS_DeviceMonitor.CustomerControl;
  4. using UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum;
  5. namespace UAS_DeviceMonitor
  6. {
  7. partial class Main
  8. {
  9. /// <summary>
  10. /// Required designer variable.
  11. /// </summary>
  12. private System.ComponentModel.IContainer components = null;
  13. /// <summary>
  14. /// Clean up any resources being used.
  15. /// </summary>
  16. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  17. protected override void Dispose(bool disposing)
  18. {
  19. if (disposing && (components != null))
  20. {
  21. components.Dispose();
  22. }
  23. base.Dispose(disposing);
  24. }
  25. #region Windows Form Designer generated code
  26. /// <summary>
  27. /// Required method for Designer support - do not modify
  28. /// the contents of this method with the code editor.
  29. /// </summary>
  30. private void InitializeComponent()
  31. {
  32. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
  33. this.RibbonNav = new DevExpress.XtraBars.Ribbon.RibbonControl();
  34. this.ButtonDeviceList = new DevExpress.XtraBars.BarButtonItem();
  35. this.ButtonDeviceKind = new DevExpress.XtraBars.BarButtonItem();
  36. this.ButtonDeviceStatus = 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.DeviceInf = new DevExpress.XtraBars.Ribbon.RibbonPage();
  41. this.RibDeviceInf = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
  42. this.DeviceCommandSetting = new DevExpress.XtraBars.Ribbon.RibbonPage();
  43. this.RibDeviceCommand = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
  44. this.MainTabControl = new DevExpress.XtraTab.XtraTabControl();
  45. this.PageDeviceList = new DevExpress.XtraTab.XtraTabPage();
  46. this.PageControlDeviceList = new UAS_DeviceMonitor.CustomerControl.PagingControl.PageControl();
  47. this.GridDeviceList = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  48. this.GridViewDeviceList = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  49. this.de_id = new DevExpress.XtraGrid.Columns.GridColumn();
  50. this.de_code = new DevExpress.XtraGrid.Columns.GridColumn();
  51. this.de_name = new DevExpress.XtraGrid.Columns.GridColumn();
  52. this.de_runstatus = new DevExpress.XtraGrid.Columns.GridColumn();
  53. this.de_indate = new DevExpress.XtraGrid.Columns.GridColumn();
  54. this.de_spec = new DevExpress.XtraGrid.Columns.GridColumn();
  55. this.de_vendcode = new DevExpress.XtraGrid.Columns.GridColumn();
  56. this.de_vendname = new DevExpress.XtraGrid.Columns.GridColumn();
  57. this.de_address = new DevExpress.XtraGrid.Columns.GridColumn();
  58. this.de_wccode = new DevExpress.XtraGrid.Columns.GridColumn();
  59. this.PageCommandSet = new DevExpress.XtraTab.XtraTabPage();
  60. this.ButtonDeleteCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
  61. this.Brand_label = new DevExpress.XtraEditors.LabelControl();
  62. this.Brand = new DevExpress.XtraEditors.ComboBoxEdit();
  63. this.ButtonNewCommand = new DevExpress.XtraEditors.SimpleButton();
  64. this.ButtonSaveCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
  65. this.GridCommandSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  66. this.GridViewCommandSet = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  67. this.CommandSetCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
  68. this.CheckEditCommandSet = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
  69. this.dc_id = new DevExpress.XtraGrid.Columns.GridColumn();
  70. this.dc_code = new DevExpress.XtraGrid.Columns.GridColumn();
  71. this.dc_name = new DevExpress.XtraGrid.Columns.GridColumn();
  72. this.dc_command = new DevExpress.XtraGrid.Columns.GridColumn();
  73. this.PageDeviceKind = new DevExpress.XtraTab.XtraTabPage();
  74. this.PageDeviceStatus = new DevExpress.XtraTab.XtraTabPage();
  75. this.PagePollingSetting = new DevExpress.XtraTab.XtraTabPage();
  76. this.ButtonDeleteCommandSet = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
  77. this.ButtonNewCommandSet = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
  78. this.ButtonSaveCommandSet = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
  79. this.ButtonPausePolling = new DevExpress.XtraEditors.SimpleButton();
  80. this.ButtonStartPolling = new DevExpress.XtraEditors.SimpleButton();
  81. this.GridPollingSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  82. this.GridViewPollSetting = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  83. this.PollSettingCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
  84. this.dpc_enableCheckEdit = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
  85. this.dpc_id = new DevExpress.XtraGrid.Columns.GridColumn();
  86. this.dpc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
  87. this.dpc_plcode = new DevExpress.XtraGrid.Columns.GridColumn();
  88. this.PollSettingItemSearchLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit();
  89. this.PollSettingItemSearchLookUpEditView = new DevExpress.XtraGrid.Views.Grid.GridView();
  90. this.dpc_plname = new DevExpress.XtraGrid.Columns.GridColumn();
  91. this.dpc_interval = new DevExpress.XtraGrid.Columns.GridColumn();
  92. this.dpc_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
  93. this.PollingSetItemLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
  94. this.dpc_function = new DevExpress.XtraGrid.Columns.GridColumn();
  95. this.dpc_enable = new DevExpress.XtraGrid.Columns.GridColumn();
  96. this.dpc_status = new DevExpress.XtraGrid.Columns.GridColumn();
  97. this.dpc_remark = new DevExpress.XtraGrid.Columns.GridColumn();
  98. this.POLLSETTINGSTATUSCOLUMN = new DevExpress.XtraGrid.Columns.GridColumn();
  99. this.PagePolling = new DevExpress.XtraTab.XtraTabPage();
  100. this.ButtonAddPolling = new UAS_DeviceMonitor.CustomerControl.Button.ButtonAddRow();
  101. this.ButtonDeletePolling = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
  102. this.ButtonSavePolling = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
  103. this.GridPolling = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
  104. this.GridViewPolling = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
  105. this.PollingCheckedColumn = new DevExpress.XtraGrid.Columns.GridColumn();
  106. this.pl_id = new DevExpress.XtraGrid.Columns.GridColumn();
  107. this.pl_code = new DevExpress.XtraGrid.Columns.GridColumn();
  108. this.pl_name = new DevExpress.XtraGrid.Columns.GridColumn();
  109. this.pl_type = new DevExpress.XtraGrid.Columns.GridColumn();
  110. this.pl_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
  111. this.pl_remark = new DevExpress.XtraGrid.Columns.GridColumn();
  112. ((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).BeginInit();
  113. ((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).BeginInit();
  114. this.MainTabControl.SuspendLayout();
  115. this.PageDeviceList.SuspendLayout();
  116. ((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).BeginInit();
  117. ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).BeginInit();
  118. this.PageCommandSet.SuspendLayout();
  119. ((System.ComponentModel.ISupportInitialize)(this.Brand.Properties)).BeginInit();
  120. ((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).BeginInit();
  121. ((System.ComponentModel.ISupportInitialize)(this.GridViewCommandSet)).BeginInit();
  122. ((System.ComponentModel.ISupportInitialize)(this.CheckEditCommandSet)).BeginInit();
  123. this.PagePollingSetting.SuspendLayout();
  124. ((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).BeginInit();
  125. ((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).BeginInit();
  126. ((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).BeginInit();
  127. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEdit)).BeginInit();
  128. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEditView)).BeginInit();
  129. ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).BeginInit();
  130. this.PagePolling.SuspendLayout();
  131. ((System.ComponentModel.ISupportInitialize)(this.GridPolling)).BeginInit();
  132. ((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).BeginInit();
  133. this.SuspendLayout();
  134. //
  135. // RibbonNav
  136. //
  137. this.RibbonNav.ApplicationIcon = global::UAS_DeviceMonitor.Properties.Resources.U_Letter_72px_1121581_easyicon_net;
  138. this.RibbonNav.DrawGroupCaptions = DevExpress.Utils.DefaultBoolean.False;
  139. this.RibbonNav.ExpandCollapseItem.Id = 0;
  140. this.RibbonNav.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
  141. this.RibbonNav.ExpandCollapseItem,
  142. this.ButtonDeviceList,
  143. this.ButtonDeviceKind,
  144. this.ButtonDeviceStatus,
  145. this.ButtonCommandSet,
  146. this.ButtonPollingSetting,
  147. this.ButtionPolling});
  148. this.RibbonNav.Location = new System.Drawing.Point(0, 0);
  149. this.RibbonNav.MaxItemId = 13;
  150. this.RibbonNav.Name = "RibbonNav";
  151. this.RibbonNav.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
  152. this.DeviceInf,
  153. this.DeviceCommandSetting});
  154. this.RibbonNav.Size = new System.Drawing.Size(1033, 128);
  155. //
  156. // ButtonDeviceList
  157. //
  158. this.ButtonDeviceList.Caption = "设备清单";
  159. this.ButtonDeviceList.Id = 5;
  160. this.ButtonDeviceList.LargeGlyph = global::UAS_DeviceMonitor.Properties.Resources.netstatus_tx_64px_18991_easyicon_net;
  161. this.ButtonDeviceList.Name = "ButtonDeviceList";
  162. this.ButtonDeviceList.Tag = "PageDeviceList";
  163. this.ButtonDeviceList.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  164. //
  165. // ButtonDeviceKind
  166. //
  167. this.ButtonDeviceKind.Caption = "设备类型维护";
  168. this.ButtonDeviceKind.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceKind.Glyph")));
  169. this.ButtonDeviceKind.Id = 6;
  170. this.ButtonDeviceKind.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceKind.LargeGlyph")));
  171. this.ButtonDeviceKind.Name = "ButtonDeviceKind";
  172. this.ButtonDeviceKind.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large;
  173. this.ButtonDeviceKind.Tag = "PageDeviceKind";
  174. this.ButtonDeviceKind.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  175. //
  176. // ButtonDeviceStatus
  177. //
  178. this.ButtonDeviceStatus.Caption = "运行状态";
  179. this.ButtonDeviceStatus.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceStatus.Glyph")));
  180. this.ButtonDeviceStatus.Id = 8;
  181. this.ButtonDeviceStatus.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceStatus.LargeGlyph")));
  182. this.ButtonDeviceStatus.Name = "ButtonDeviceStatus";
  183. this.ButtonDeviceStatus.Tag = "PageDeviceStatus";
  184. this.ButtonDeviceStatus.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  185. //
  186. // ButtonCommandSet
  187. //
  188. this.ButtonCommandSet.Caption = "指令设置";
  189. this.ButtonCommandSet.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonCommandSet.Glyph")));
  190. this.ButtonCommandSet.Id = 9;
  191. this.ButtonCommandSet.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonCommandSet.LargeGlyph")));
  192. this.ButtonCommandSet.Name = "ButtonCommandSet";
  193. this.ButtonCommandSet.Tag = "PageCommandSet";
  194. this.ButtonCommandSet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  195. //
  196. // ButtonPollingSetting
  197. //
  198. this.ButtonPollingSetting.Caption = "轮询配置";
  199. this.ButtonPollingSetting.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonPollingSetting.Glyph")));
  200. this.ButtonPollingSetting.Id = 11;
  201. this.ButtonPollingSetting.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonPollingSetting.LargeGlyph")));
  202. this.ButtonPollingSetting.Name = "ButtonPollingSetting";
  203. this.ButtonPollingSetting.Tag = "PagePollingSetting";
  204. this.ButtonPollingSetting.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  205. //
  206. // ButtionPolling
  207. //
  208. this.ButtionPolling.Caption = "轮询业务";
  209. this.ButtionPolling.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtionPolling.Glyph")));
  210. this.ButtionPolling.Id = 12;
  211. this.ButtionPolling.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtionPolling.LargeGlyph")));
  212. this.ButtionPolling.Name = "ButtionPolling";
  213. this.ButtionPolling.Tag = "PagePolling";
  214. this.ButtionPolling.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
  215. //
  216. // DeviceInf
  217. //
  218. this.DeviceInf.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
  219. this.RibDeviceInf});
  220. this.DeviceInf.Name = "DeviceInf";
  221. this.DeviceInf.Text = "设备信息";
  222. //
  223. // RibDeviceInf
  224. //
  225. this.RibDeviceInf.AllowTextClipping = false;
  226. this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceList);
  227. this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceKind);
  228. this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceStatus);
  229. this.RibDeviceInf.Name = "RibDeviceInf";
  230. this.RibDeviceInf.ShowCaptionButton = false;
  231. //
  232. // DeviceCommandSetting
  233. //
  234. this.DeviceCommandSetting.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
  235. this.RibDeviceCommand});
  236. this.DeviceCommandSetting.Name = "DeviceCommandSetting";
  237. this.DeviceCommandSetting.Text = "设备指令配置";
  238. //
  239. // RibDeviceCommand
  240. //
  241. this.RibDeviceCommand.ItemLinks.Add(this.ButtonCommandSet);
  242. this.RibDeviceCommand.ItemLinks.Add(this.ButtionPolling);
  243. this.RibDeviceCommand.ItemLinks.Add(this.ButtonPollingSetting);
  244. this.RibDeviceCommand.Name = "RibDeviceCommand";
  245. this.RibDeviceCommand.Text = "ribbonPageGroup3";
  246. //
  247. // MainTabControl
  248. //
  249. this.MainTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
  250. this.MainTabControl.Location = new System.Drawing.Point(0, 128);
  251. this.MainTabControl.Name = "MainTabControl";
  252. this.MainTabControl.SelectedTabPage = this.PageDeviceList;
  253. this.MainTabControl.ShowTabHeader = DevExpress.Utils.DefaultBoolean.False;
  254. this.MainTabControl.Size = new System.Drawing.Size(1033, 583);
  255. this.MainTabControl.TabIndex = 3;
  256. this.MainTabControl.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
  257. this.PageDeviceList,
  258. this.PageCommandSet,
  259. this.PageDeviceKind,
  260. this.PageDeviceStatus,
  261. this.PagePollingSetting,
  262. this.PagePolling});
  263. //
  264. // PageDeviceList
  265. //
  266. this.PageDeviceList.Controls.Add(this.PageControlDeviceList);
  267. this.PageDeviceList.Controls.Add(this.GridDeviceList);
  268. this.PageDeviceList.Name = "PageDeviceList";
  269. this.PageDeviceList.PageVisible = false;
  270. this.PageDeviceList.Size = new System.Drawing.Size(1027, 577);
  271. this.PageDeviceList.Text = "xtraTabPage1";
  272. //
  273. // PageControlDeviceList
  274. //
  275. this.PageControlDeviceList.Dock = System.Windows.Forms.DockStyle.Bottom;
  276. this.PageControlDeviceList.Gridcontrol = null;
  277. this.PageControlDeviceList.Location = new System.Drawing.Point(0, 548);
  278. this.PageControlDeviceList.Name = "PageControlDeviceList";
  279. this.PageControlDeviceList.Size = new System.Drawing.Size(1027, 29);
  280. this.PageControlDeviceList.TabIndex = 1;
  281. //
  282. // GridDeviceList
  283. //
  284. this.GridDeviceList.Condition = null;
  285. this.GridDeviceList.Dock = System.Windows.Forms.DockStyle.Fill;
  286. this.GridDeviceList.GetDataSQL = null;
  287. this.GridDeviceList.ID = null;
  288. this.GridDeviceList.InsertSQL = null;
  289. this.GridDeviceList.Location = new System.Drawing.Point(0, 0);
  290. this.GridDeviceList.MainView = this.GridViewDeviceList;
  291. this.GridDeviceList.MenuManager = this.RibbonNav;
  292. this.GridDeviceList.Name = "GridDeviceList";
  293. this.GridDeviceList.RowCount = 0;
  294. this.GridDeviceList.Size = new System.Drawing.Size(1027, 577);
  295. this.GridDeviceList.TabIndex = 0;
  296. this.GridDeviceList.TableName = null;
  297. this.GridDeviceList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  298. this.GridViewDeviceList});
  299. //
  300. // GridViewDeviceList
  301. //
  302. this.GridViewDeviceList.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  303. this.de_id,
  304. this.de_code,
  305. this.de_name,
  306. this.de_runstatus,
  307. this.de_indate,
  308. this.de_spec,
  309. this.de_vendcode,
  310. this.de_vendname,
  311. this.de_address,
  312. this.de_wccode});
  313. this.GridViewDeviceList.GridControl = this.GridDeviceList;
  314. this.GridViewDeviceList.IndicatorWidth = 30;
  315. this.GridViewDeviceList.Name = "GridViewDeviceList";
  316. //
  317. // de_id
  318. //
  319. this.de_id.Caption = "de_id";
  320. this.de_id.FieldName = "DE_ID";
  321. this.de_id.Name = "de_id";
  322. //
  323. // de_code
  324. //
  325. this.de_code.Caption = "设备编号";
  326. this.de_code.FieldName = "DE_CODE";
  327. this.de_code.Name = "de_code";
  328. this.de_code.Visible = true;
  329. this.de_code.VisibleIndex = 0;
  330. //
  331. // de_name
  332. //
  333. this.de_name.Caption = "设备名称";
  334. this.de_name.FieldName = "DE_NAME";
  335. this.de_name.Name = "de_name";
  336. this.de_name.Visible = true;
  337. this.de_name.VisibleIndex = 1;
  338. //
  339. // de_runstatus
  340. //
  341. this.de_runstatus.Caption = "运行状态";
  342. this.de_runstatus.FieldName = "DE_RUNSTATUS";
  343. this.de_runstatus.Name = "de_runstatus";
  344. this.de_runstatus.Visible = true;
  345. this.de_runstatus.VisibleIndex = 2;
  346. //
  347. // de_indate
  348. //
  349. this.de_indate.Caption = "录入日期";
  350. this.de_indate.DisplayFormat.FormatString = "yyyy-MM-dd";
  351. this.de_indate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
  352. this.de_indate.FieldName = "DE_INDATE";
  353. this.de_indate.FilterMode = DevExpress.XtraGrid.ColumnFilterMode.DisplayText;
  354. this.de_indate.Name = "de_indate";
  355. this.de_indate.Visible = true;
  356. this.de_indate.VisibleIndex = 3;
  357. //
  358. // de_spec
  359. //
  360. this.de_spec.Caption = "设备规格";
  361. this.de_spec.FieldName = "DE_SPEC";
  362. this.de_spec.Name = "de_spec";
  363. this.de_spec.Visible = true;
  364. this.de_spec.VisibleIndex = 4;
  365. //
  366. // de_vendcode
  367. //
  368. this.de_vendcode.Caption = "供应商编号";
  369. this.de_vendcode.FieldName = "DE_VENDCODE";
  370. this.de_vendcode.Name = "de_vendcode";
  371. this.de_vendcode.Visible = true;
  372. this.de_vendcode.VisibleIndex = 5;
  373. //
  374. // de_vendname
  375. //
  376. this.de_vendname.Caption = "供应商名称";
  377. this.de_vendname.FieldName = "DE_VENDNAME";
  378. this.de_vendname.Name = "de_vendname";
  379. this.de_vendname.Visible = true;
  380. this.de_vendname.VisibleIndex = 6;
  381. //
  382. // de_address
  383. //
  384. this.de_address.Caption = "设备地点";
  385. this.de_address.FieldName = "DE_ADDRESS";
  386. this.de_address.Name = "de_address";
  387. this.de_address.Visible = true;
  388. this.de_address.VisibleIndex = 7;
  389. //
  390. // de_wccode
  391. //
  392. this.de_wccode.Caption = "工作中心";
  393. this.de_wccode.FieldName = "DE_WCCODE";
  394. this.de_wccode.Name = "de_wccode";
  395. this.de_wccode.Visible = true;
  396. this.de_wccode.VisibleIndex = 8;
  397. //
  398. // PageCommandSet
  399. //
  400. this.PageCommandSet.Controls.Add(this.ButtonDeleteCommand);
  401. this.PageCommandSet.Controls.Add(this.Brand_label);
  402. this.PageCommandSet.Controls.Add(this.Brand);
  403. this.PageCommandSet.Controls.Add(this.ButtonNewCommand);
  404. this.PageCommandSet.Controls.Add(this.ButtonSaveCommand);
  405. this.PageCommandSet.Controls.Add(this.GridCommandSetting);
  406. this.PageCommandSet.Name = "PageCommandSet";
  407. this.PageCommandSet.PageVisible = false;
  408. this.PageCommandSet.Size = new System.Drawing.Size(1027, 577);
  409. this.PageCommandSet.Text = "xtraTabPage1";
  410. this.PageCommandSet.VisibleChanged += new System.EventHandler(this.PageCommandSet_VisibleChanged);
  411. //
  412. // ButtonDeleteCommand
  413. //
  414. this.ButtonDeleteCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  415. this.ButtonDeleteCommand.Grid = null;
  416. this.ButtonDeleteCommand.Location = new System.Drawing.Point(816, 551);
  417. this.ButtonDeleteCommand.Name = "ButtonDeleteCommand";
  418. this.ButtonDeleteCommand.Size = new System.Drawing.Size(64, 23);
  419. this.ButtonDeleteCommand.TabIndex = 6;
  420. this.ButtonDeleteCommand.Text = "删除";
  421. //
  422. // Brand_label
  423. //
  424. this.Brand_label.Appearance.Font = new System.Drawing.Font("微软雅黑", 12F);
  425. this.Brand_label.Location = new System.Drawing.Point(8, 5);
  426. this.Brand_label.Name = "Brand_label";
  427. this.Brand_label.Size = new System.Drawing.Size(32, 21);
  428. this.Brand_label.TabIndex = 5;
  429. this.Brand_label.Text = "品牌";
  430. //
  431. // Brand
  432. //
  433. this.Brand.Location = new System.Drawing.Point(47, 4);
  434. this.Brand.MenuManager = this.RibbonNav;
  435. this.Brand.Name = "Brand";
  436. this.Brand.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  437. this.Brand.Properties.Appearance.Options.UseFont = true;
  438. this.Brand.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  439. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  440. this.Brand.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
  441. this.Brand.Size = new System.Drawing.Size(100, 24);
  442. this.Brand.TabIndex = 4;
  443. this.Brand.SelectedIndexChanged += new System.EventHandler(this.Brand_SelectedIndexChanged);
  444. //
  445. // ButtonNewCommand
  446. //
  447. this.ButtonNewCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  448. this.ButtonNewCommand.Location = new System.Drawing.Point(886, 551);
  449. this.ButtonNewCommand.Name = "ButtonNewCommand";
  450. this.ButtonNewCommand.Size = new System.Drawing.Size(64, 23);
  451. this.ButtonNewCommand.TabIndex = 3;
  452. this.ButtonNewCommand.Text = "新增";
  453. this.ButtonNewCommand.Click += new System.EventHandler(this.ButtonNewCommand_Click);
  454. //
  455. // ButtonSaveCommand
  456. //
  457. this.ButtonSaveCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  458. this.ButtonSaveCommand.Grid = null;
  459. this.ButtonSaveCommand.HandlerOtherFirst = true;
  460. this.ButtonSaveCommand.Location = new System.Drawing.Point(956, 551);
  461. this.ButtonSaveCommand.Name = "ButtonSaveCommand";
  462. this.ButtonSaveCommand.Size = new System.Drawing.Size(64, 23);
  463. this.ButtonSaveCommand.TabIndex = 2;
  464. this.ButtonSaveCommand.Text = "保存";
  465. this.ButtonSaveCommand.Click += new System.EventHandler(this.ButtonSaveCommand_Click);
  466. //
  467. // GridCommandSetting
  468. //
  469. this.GridCommandSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  470. | System.Windows.Forms.AnchorStyles.Left)
  471. | System.Windows.Forms.AnchorStyles.Right)));
  472. this.GridCommandSetting.Condition = null;
  473. this.GridCommandSetting.GetDataSQL = null;
  474. this.GridCommandSetting.ID = null;
  475. this.GridCommandSetting.InsertSQL = null;
  476. this.GridCommandSetting.Location = new System.Drawing.Point(0, 31);
  477. this.GridCommandSetting.MainView = this.GridViewCommandSet;
  478. this.GridCommandSetting.MenuManager = this.RibbonNav;
  479. this.GridCommandSetting.Name = "GridCommandSetting";
  480. this.GridCommandSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  481. this.CheckEditCommandSet});
  482. this.GridCommandSetting.RowCount = 0;
  483. this.GridCommandSetting.Size = new System.Drawing.Size(1027, 517);
  484. this.GridCommandSetting.TabIndex = 1;
  485. this.GridCommandSetting.TableName = null;
  486. this.GridCommandSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  487. this.GridViewCommandSet});
  488. //
  489. // GridViewCommandSet
  490. //
  491. this.GridViewCommandSet.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  492. this.CommandSetCheckedColumn,
  493. this.dc_id,
  494. this.dc_code,
  495. this.dc_name,
  496. this.dc_command});
  497. this.GridViewCommandSet.GridControl = this.GridCommandSetting;
  498. this.GridViewCommandSet.IndicatorWidth = 30;
  499. this.GridViewCommandSet.Name = "GridViewCommandSet";
  500. //
  501. // CommandSetCheckedColumn
  502. //
  503. this.CommandSetCheckedColumn.Caption = " ";
  504. this.CommandSetCheckedColumn.ColumnEdit = this.CheckEditCommandSet;
  505. this.CommandSetCheckedColumn.FieldName = "CHECKEDCOLUMN";
  506. this.CommandSetCheckedColumn.Name = "CommandSetCheckedColumn";
  507. this.CommandSetCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  508. this.CommandSetCheckedColumn.Tag = "0";
  509. this.CommandSetCheckedColumn.Visible = true;
  510. this.CommandSetCheckedColumn.VisibleIndex = 0;
  511. //
  512. // CheckEditCommandSet
  513. //
  514. this.CheckEditCommandSet.AutoHeight = false;
  515. this.CheckEditCommandSet.Name = "CheckEditCommandSet";
  516. this.CheckEditCommandSet.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
  517. //
  518. // dc_id
  519. //
  520. this.dc_id.FieldName = "DC_ID";
  521. this.dc_id.Name = "dc_id";
  522. //
  523. // dc_code
  524. //
  525. this.dc_code.Caption = "指令编号";
  526. this.dc_code.FieldName = "DC_CODE";
  527. this.dc_code.Name = "dc_code";
  528. this.dc_code.Visible = true;
  529. this.dc_code.VisibleIndex = 1;
  530. this.dc_code.Width = 118;
  531. //
  532. // dc_name
  533. //
  534. this.dc_name.Caption = "指令名称";
  535. this.dc_name.FieldName = "DC_NAME";
  536. this.dc_name.Name = "dc_name";
  537. this.dc_name.Visible = true;
  538. this.dc_name.VisibleIndex = 2;
  539. this.dc_name.Width = 123;
  540. //
  541. // dc_command
  542. //
  543. this.dc_command.Caption = "发送指令";
  544. this.dc_command.FieldName = "DC_COMMAND";
  545. this.dc_command.Name = "dc_command";
  546. this.dc_command.Visible = true;
  547. this.dc_command.VisibleIndex = 3;
  548. this.dc_command.Width = 768;
  549. //
  550. // PageDeviceKind
  551. //
  552. this.PageDeviceKind.Name = "PageDeviceKind";
  553. this.PageDeviceKind.PageVisible = false;
  554. this.PageDeviceKind.Size = new System.Drawing.Size(1027, 577);
  555. this.PageDeviceKind.Text = "xtraTabPage2";
  556. //
  557. // PageDeviceStatus
  558. //
  559. this.PageDeviceStatus.Name = "PageDeviceStatus";
  560. this.PageDeviceStatus.PageVisible = false;
  561. this.PageDeviceStatus.Size = new System.Drawing.Size(1027, 577);
  562. this.PageDeviceStatus.Text = "xtraTabPage3";
  563. //
  564. // PagePollingSetting
  565. //
  566. this.PagePollingSetting.Controls.Add(this.ButtonDeleteCommandSet);
  567. this.PagePollingSetting.Controls.Add(this.ButtonNewCommandSet);
  568. this.PagePollingSetting.Controls.Add(this.ButtonSaveCommandSet);
  569. this.PagePollingSetting.Controls.Add(this.ButtonPausePolling);
  570. this.PagePollingSetting.Controls.Add(this.ButtonStartPolling);
  571. this.PagePollingSetting.Controls.Add(this.GridPollingSetting);
  572. this.PagePollingSetting.Name = "PagePollingSetting";
  573. this.PagePollingSetting.PageVisible = false;
  574. this.PagePollingSetting.Size = new System.Drawing.Size(1027, 577);
  575. this.PagePollingSetting.Text = "xtraTabPage1";
  576. this.PagePollingSetting.VisibleChanged += new System.EventHandler(this.PagePollingSetting_VisibleChanged);
  577. //
  578. // ButtonDeleteCommandSet
  579. //
  580. this.ButtonDeleteCommandSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  581. this.ButtonDeleteCommandSet.Grid = null;
  582. this.ButtonDeleteCommandSet.Location = new System.Drawing.Point(816, 549);
  583. this.ButtonDeleteCommandSet.Name = "ButtonDeleteCommandSet";
  584. this.ButtonDeleteCommandSet.Size = new System.Drawing.Size(64, 23);
  585. this.ButtonDeleteCommandSet.TabIndex = 9;
  586. this.ButtonDeleteCommandSet.Text = "删除";
  587. //
  588. // ButtonNewCommandSet
  589. //
  590. this.ButtonNewCommandSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  591. this.ButtonNewCommandSet.Grid = null;
  592. this.ButtonNewCommandSet.Location = new System.Drawing.Point(886, 549);
  593. this.ButtonNewCommandSet.Name = "ButtonNewCommandSet";
  594. this.ButtonNewCommandSet.Size = new System.Drawing.Size(64, 23);
  595. this.ButtonNewCommandSet.TabIndex = 8;
  596. this.ButtonNewCommandSet.Text = "新增";
  597. //
  598. // ButtonSaveCommandSet
  599. //
  600. this.ButtonSaveCommandSet.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  601. this.ButtonSaveCommandSet.Grid = null;
  602. this.ButtonSaveCommandSet.HandlerOtherFirst = false;
  603. this.ButtonSaveCommandSet.Location = new System.Drawing.Point(956, 549);
  604. this.ButtonSaveCommandSet.Name = "ButtonSaveCommandSet";
  605. this.ButtonSaveCommandSet.Size = new System.Drawing.Size(64, 23);
  606. this.ButtonSaveCommandSet.TabIndex = 7;
  607. this.ButtonSaveCommandSet.Text = "保存";
  608. //
  609. // ButtonPausePolling
  610. //
  611. this.ButtonPausePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  612. this.ButtonPausePolling.Location = new System.Drawing.Point(734, 549);
  613. this.ButtonPausePolling.Name = "ButtonPausePolling";
  614. this.ButtonPausePolling.Size = new System.Drawing.Size(75, 23);
  615. this.ButtonPausePolling.TabIndex = 2;
  616. this.ButtonPausePolling.Text = "暂停轮询";
  617. this.ButtonPausePolling.Click += new System.EventHandler(this.ButtonPausePolling_Click);
  618. //
  619. // ButtonStartPolling
  620. //
  621. this.ButtonStartPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  622. this.ButtonStartPolling.Location = new System.Drawing.Point(653, 549);
  623. this.ButtonStartPolling.Name = "ButtonStartPolling";
  624. this.ButtonStartPolling.Size = new System.Drawing.Size(75, 23);
  625. this.ButtonStartPolling.TabIndex = 1;
  626. this.ButtonStartPolling.Text = "开启轮询";
  627. this.ButtonStartPolling.Click += new System.EventHandler(this.ButtonStartPolling_Click);
  628. //
  629. // GridPollingSetting
  630. //
  631. this.GridPollingSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  632. | System.Windows.Forms.AnchorStyles.Left)
  633. | System.Windows.Forms.AnchorStyles.Right)));
  634. this.GridPollingSetting.Condition = null;
  635. this.GridPollingSetting.GetDataSQL = null;
  636. this.GridPollingSetting.ID = null;
  637. this.GridPollingSetting.InsertSQL = null;
  638. this.GridPollingSetting.Location = new System.Drawing.Point(0, 0);
  639. this.GridPollingSetting.MainView = this.GridViewPollSetting;
  640. this.GridPollingSetting.MenuManager = this.RibbonNav;
  641. this.GridPollingSetting.Name = "GridPollingSetting";
  642. this.GridPollingSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  643. this.dpc_enableCheckEdit,
  644. this.PollingSetItemLookUpEdit,
  645. this.PollSettingItemSearchLookUpEdit});
  646. this.GridPollingSetting.RowCount = 0;
  647. this.GridPollingSetting.Size = new System.Drawing.Size(1027, 544);
  648. this.GridPollingSetting.TabIndex = 0;
  649. this.GridPollingSetting.TableName = null;
  650. this.GridPollingSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  651. this.GridViewPollSetting});
  652. //
  653. // GridViewPollSetting
  654. //
  655. this.GridViewPollSetting.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  656. this.PollSettingCheckedColumn,
  657. this.dpc_id,
  658. this.dpc_decode,
  659. this.dpc_plcode,
  660. this.dpc_plname,
  661. this.dpc_interval,
  662. this.dpc_dccode,
  663. this.dpc_function,
  664. this.dpc_enable,
  665. this.dpc_status,
  666. this.dpc_remark,
  667. this.POLLSETTINGSTATUSCOLUMN});
  668. this.GridViewPollSetting.GridControl = this.GridPollingSetting;
  669. this.GridViewPollSetting.IndicatorWidth = 30;
  670. this.GridViewPollSetting.Name = "GridViewPollSetting";
  671. this.GridViewPollSetting.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
  672. this.GridViewPollSetting.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.GridViewPollSetting_CellValueChanging);
  673. //
  674. // PollSettingCheckedColumn
  675. //
  676. this.PollSettingCheckedColumn.Caption = " ";
  677. this.PollSettingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
  678. this.PollSettingCheckedColumn.FieldName = "CHECKEDCOLUMN";
  679. this.PollSettingCheckedColumn.Name = "PollSettingCheckedColumn";
  680. this.PollSettingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  681. this.PollSettingCheckedColumn.OptionsFilter.AllowFilter = false;
  682. this.PollSettingCheckedColumn.Tag = "0";
  683. this.PollSettingCheckedColumn.Visible = true;
  684. this.PollSettingCheckedColumn.VisibleIndex = 0;
  685. //
  686. // dpc_enableCheckEdit
  687. //
  688. this.dpc_enableCheckEdit.AutoHeight = false;
  689. this.dpc_enableCheckEdit.Name = "dpc_enableCheckEdit";
  690. this.dpc_enableCheckEdit.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
  691. this.dpc_enableCheckEdit.PictureChecked = ((System.Drawing.Image)(resources.GetObject("dpc_enableCheckEdit.PictureChecked")));
  692. this.dpc_enableCheckEdit.PictureUnchecked = ((System.Drawing.Image)(resources.GetObject("dpc_enableCheckEdit.PictureUnchecked")));
  693. this.dpc_enableCheckEdit.ValueChecked = "-1";
  694. this.dpc_enableCheckEdit.ValueUnchecked = "0";
  695. //
  696. // dpc_id
  697. //
  698. this.dpc_id.Caption = "ID";
  699. this.dpc_id.FieldName = "DPC_ID";
  700. this.dpc_id.Name = "dpc_id";
  701. //
  702. // dpc_decode
  703. //
  704. this.dpc_decode.Caption = "设备编号";
  705. this.dpc_decode.FieldName = "DPC_DECODE";
  706. this.dpc_decode.Name = "dpc_decode";
  707. this.dpc_decode.Visible = true;
  708. this.dpc_decode.VisibleIndex = 1;
  709. this.dpc_decode.Width = 90;
  710. //
  711. // dpc_plcode
  712. //
  713. this.dpc_plcode.Caption = "业务编号";
  714. this.dpc_plcode.ColumnEdit = this.PollSettingItemSearchLookUpEdit;
  715. this.dpc_plcode.FieldName = "DPC_PLCODE";
  716. this.dpc_plcode.Name = "dpc_plcode";
  717. this.dpc_plcode.Visible = true;
  718. this.dpc_plcode.VisibleIndex = 2;
  719. this.dpc_plcode.Width = 90;
  720. //
  721. // PollSettingItemSearchLookUpEdit
  722. //
  723. this.PollSettingItemSearchLookUpEdit.AutoHeight = false;
  724. this.PollSettingItemSearchLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  725. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  726. this.PollSettingItemSearchLookUpEdit.Name = "PollSettingItemSearchLookUpEdit";
  727. this.PollSettingItemSearchLookUpEdit.NullText = "";
  728. this.PollSettingItemSearchLookUpEdit.View = this.PollSettingItemSearchLookUpEditView;
  729. //
  730. // PollSettingItemSearchLookUpEditView
  731. //
  732. this.PollSettingItemSearchLookUpEditView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
  733. this.PollSettingItemSearchLookUpEditView.Name = "PollSettingItemSearchLookUpEditView";
  734. this.PollSettingItemSearchLookUpEditView.OptionsSelection.EnableAppearanceFocusedCell = false;
  735. this.PollSettingItemSearchLookUpEditView.OptionsView.ShowGroupPanel = false;
  736. //
  737. // dpc_plname
  738. //
  739. this.dpc_plname.Caption = "业务名称";
  740. this.dpc_plname.FieldName = "DPC_PLNAME";
  741. this.dpc_plname.Name = "dpc_plname";
  742. this.dpc_plname.Visible = true;
  743. this.dpc_plname.VisibleIndex = 3;
  744. this.dpc_plname.Width = 90;
  745. //
  746. // dpc_interval
  747. //
  748. this.dpc_interval.Caption = "轮询间隔";
  749. this.dpc_interval.FieldName = "DPC_INTERVAL";
  750. this.dpc_interval.Name = "dpc_interval";
  751. this.dpc_interval.Visible = true;
  752. this.dpc_interval.VisibleIndex = 4;
  753. this.dpc_interval.Width = 90;
  754. //
  755. // dpc_dccode
  756. //
  757. this.dpc_dccode.Caption = "指令编号";
  758. this.dpc_dccode.ColumnEdit = this.PollingSetItemLookUpEdit;
  759. this.dpc_dccode.FieldName = "DPC_DCCODE";
  760. this.dpc_dccode.Name = "dpc_dccode";
  761. this.dpc_dccode.Visible = true;
  762. this.dpc_dccode.VisibleIndex = 5;
  763. this.dpc_dccode.Width = 90;
  764. //
  765. // PollingSetItemLookUpEdit
  766. //
  767. this.PollingSetItemLookUpEdit.AutoHeight = false;
  768. this.PollingSetItemLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
  769. new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
  770. this.PollingSetItemLookUpEdit.Name = "PollingSetItemLookUpEdit";
  771. this.PollingSetItemLookUpEdit.NullText = "";
  772. this.PollingSetItemLookUpEdit.ShowFooter = false;
  773. this.PollingSetItemLookUpEdit.ShowHeader = false;
  774. //
  775. // dpc_function
  776. //
  777. this.dpc_function.Caption = "解析函数";
  778. this.dpc_function.FieldName = "DPC_FUNCTION";
  779. this.dpc_function.Name = "dpc_function";
  780. this.dpc_function.Visible = true;
  781. this.dpc_function.VisibleIndex = 6;
  782. this.dpc_function.Width = 90;
  783. //
  784. // dpc_enable
  785. //
  786. this.dpc_enable.Caption = "是否启用";
  787. this.dpc_enable.ColumnEdit = this.dpc_enableCheckEdit;
  788. this.dpc_enable.FieldName = "DPC_ENABLE";
  789. this.dpc_enable.Name = "dpc_enable";
  790. this.dpc_enable.Visible = true;
  791. this.dpc_enable.VisibleIndex = 7;
  792. this.dpc_enable.Width = 90;
  793. //
  794. // dpc_status
  795. //
  796. this.dpc_status.Caption = "状态";
  797. this.dpc_status.FieldName = "DPC_STATUS";
  798. this.dpc_status.Name = "dpc_status";
  799. this.dpc_status.Visible = true;
  800. this.dpc_status.VisibleIndex = 8;
  801. this.dpc_status.Width = 90;
  802. //
  803. // dpc_remark
  804. //
  805. this.dpc_remark.Caption = "备注";
  806. this.dpc_remark.FieldName = "DPC_REMARK";
  807. this.dpc_remark.Name = "dpc_remark";
  808. this.dpc_remark.Visible = true;
  809. this.dpc_remark.VisibleIndex = 9;
  810. this.dpc_remark.Width = 87;
  811. //
  812. // POLLSETTINGSTATUSCOLUMN
  813. //
  814. this.POLLSETTINGSTATUSCOLUMN.Caption = "运行状态";
  815. this.POLLSETTINGSTATUSCOLUMN.FieldName = "POLLSETTINGSTATUSCOLUMN";
  816. this.POLLSETTINGSTATUSCOLUMN.Name = "POLLSETTINGSTATUSCOLUMN";
  817. this.POLLSETTINGSTATUSCOLUMN.OptionsColumn.ReadOnly = true;
  818. this.POLLSETTINGSTATUSCOLUMN.Visible = true;
  819. this.POLLSETTINGSTATUSCOLUMN.VisibleIndex = 10;
  820. this.POLLSETTINGSTATUSCOLUMN.Width = 98;
  821. //
  822. // PagePolling
  823. //
  824. this.PagePolling.Controls.Add(this.ButtonAddPolling);
  825. this.PagePolling.Controls.Add(this.ButtonDeletePolling);
  826. this.PagePolling.Controls.Add(this.ButtonSavePolling);
  827. this.PagePolling.Controls.Add(this.GridPolling);
  828. this.PagePolling.Name = "PagePolling";
  829. this.PagePolling.PageVisible = false;
  830. this.PagePolling.Size = new System.Drawing.Size(1027, 577);
  831. this.PagePolling.Text = "xtraTabPage1";
  832. //
  833. // ButtonAddPolling
  834. //
  835. this.ButtonAddPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  836. this.ButtonAddPolling.Grid = null;
  837. this.ButtonAddPolling.Location = new System.Drawing.Point(878, 551);
  838. this.ButtonAddPolling.Name = "ButtonAddPolling";
  839. this.ButtonAddPolling.Size = new System.Drawing.Size(64, 23);
  840. this.ButtonAddPolling.TabIndex = 9;
  841. this.ButtonAddPolling.Text = "新增";
  842. //
  843. // ButtonDeletePolling
  844. //
  845. this.ButtonDeletePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  846. this.ButtonDeletePolling.Grid = null;
  847. this.ButtonDeletePolling.Location = new System.Drawing.Point(807, 551);
  848. this.ButtonDeletePolling.Name = "ButtonDeletePolling";
  849. this.ButtonDeletePolling.Size = new System.Drawing.Size(64, 23);
  850. this.ButtonDeletePolling.TabIndex = 8;
  851. this.ButtonDeletePolling.Text = "删除";
  852. //
  853. // ButtonSavePolling
  854. //
  855. this.ButtonSavePolling.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  856. this.ButtonSavePolling.Grid = null;
  857. this.ButtonSavePolling.HandlerOtherFirst = false;
  858. this.ButtonSavePolling.Location = new System.Drawing.Point(949, 551);
  859. this.ButtonSavePolling.Name = "ButtonSavePolling";
  860. this.ButtonSavePolling.Size = new System.Drawing.Size(64, 23);
  861. this.ButtonSavePolling.TabIndex = 7;
  862. this.ButtonSavePolling.Text = "保存";
  863. //
  864. // GridPolling
  865. //
  866. this.GridPolling.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  867. | System.Windows.Forms.AnchorStyles.Left)
  868. | System.Windows.Forms.AnchorStyles.Right)));
  869. this.GridPolling.Condition = null;
  870. this.GridPolling.GetDataSQL = null;
  871. this.GridPolling.ID = null;
  872. this.GridPolling.InsertSQL = null;
  873. this.GridPolling.Location = new System.Drawing.Point(3, -3);
  874. this.GridPolling.MainView = this.GridViewPolling;
  875. this.GridPolling.MenuManager = this.RibbonNav;
  876. this.GridPolling.Name = "GridPolling";
  877. this.GridPolling.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
  878. this.dpc_enableCheckEdit});
  879. this.GridPolling.RowCount = 0;
  880. this.GridPolling.Size = new System.Drawing.Size(1027, 549);
  881. this.GridPolling.TabIndex = 0;
  882. this.GridPolling.TableName = null;
  883. this.GridPolling.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
  884. this.GridViewPolling});
  885. this.GridPolling.VisibleChanged += new System.EventHandler(this.GridPolling_VisibleChanged);
  886. //
  887. // GridViewPolling
  888. //
  889. this.GridViewPolling.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
  890. this.PollingCheckedColumn,
  891. this.pl_id,
  892. this.pl_code,
  893. this.pl_name,
  894. this.pl_type,
  895. this.pl_dccode,
  896. this.pl_remark});
  897. this.GridViewPolling.GridControl = this.GridPolling;
  898. this.GridViewPolling.IndicatorWidth = 30;
  899. this.GridViewPolling.Name = "GridViewPolling";
  900. //
  901. // PollingCheckedColumn
  902. //
  903. this.PollingCheckedColumn.Caption = " ";
  904. this.PollingCheckedColumn.ColumnEdit = this.dpc_enableCheckEdit;
  905. this.PollingCheckedColumn.FieldName = "CHECKEDCOLUMN";
  906. this.PollingCheckedColumn.Name = "PollingCheckedColumn";
  907. this.PollingCheckedColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
  908. this.PollingCheckedColumn.Tag = "0";
  909. this.PollingCheckedColumn.Visible = true;
  910. this.PollingCheckedColumn.VisibleIndex = 0;
  911. //
  912. // pl_id
  913. //
  914. this.pl_id.Caption = "ID";
  915. this.pl_id.FieldName = "PL_ID";
  916. this.pl_id.Name = "pl_id";
  917. //
  918. // pl_code
  919. //
  920. this.pl_code.Caption = "业务编号";
  921. this.pl_code.FieldName = "PL_CODE";
  922. this.pl_code.Name = "pl_code";
  923. this.pl_code.Visible = true;
  924. this.pl_code.VisibleIndex = 1;
  925. //
  926. // pl_name
  927. //
  928. this.pl_name.Caption = "业务名称";
  929. this.pl_name.FieldName = "PL_NAME";
  930. this.pl_name.Name = "pl_name";
  931. this.pl_name.Visible = true;
  932. this.pl_name.VisibleIndex = 2;
  933. //
  934. // pl_type
  935. //
  936. this.pl_type.Caption = "业务类型";
  937. this.pl_type.FieldName = "PL_TYPE";
  938. this.pl_type.Name = "pl_type";
  939. this.pl_type.Visible = true;
  940. this.pl_type.VisibleIndex = 3;
  941. //
  942. // pl_dccode
  943. //
  944. this.pl_dccode.Caption = "指令编号";
  945. this.pl_dccode.ColumnEdit = this.PollingSetItemLookUpEdit;
  946. this.pl_dccode.FieldName = "PL_DCCODE";
  947. this.pl_dccode.Name = "pl_dccode";
  948. this.pl_dccode.Visible = true;
  949. this.pl_dccode.VisibleIndex = 4;
  950. //
  951. // pl_remark
  952. //
  953. this.pl_remark.Caption = "备注";
  954. this.pl_remark.FieldName = "PL_REMARK";
  955. this.pl_remark.Name = "pl_remark";
  956. this.pl_remark.Visible = true;
  957. this.pl_remark.VisibleIndex = 5;
  958. //
  959. // Main
  960. //
  961. this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.False;
  962. this.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
  963. this.Appearance.Options.UseForeColor = true;
  964. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
  965. this.ClientSize = new System.Drawing.Size(1033, 711);
  966. this.Controls.Add(this.MainTabControl);
  967. this.Controls.Add(this.RibbonNav);
  968. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  969. this.Name = "Main";
  970. this.Ribbon = this.RibbonNav;
  971. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  972. this.Text = "设备监控管理平台";
  973. this.Load += new System.EventHandler(this.Main_Load);
  974. ((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).EndInit();
  975. ((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).EndInit();
  976. this.MainTabControl.ResumeLayout(false);
  977. this.PageDeviceList.ResumeLayout(false);
  978. ((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).EndInit();
  979. ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).EndInit();
  980. this.PageCommandSet.ResumeLayout(false);
  981. this.PageCommandSet.PerformLayout();
  982. ((System.ComponentModel.ISupportInitialize)(this.Brand.Properties)).EndInit();
  983. ((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).EndInit();
  984. ((System.ComponentModel.ISupportInitialize)(this.GridViewCommandSet)).EndInit();
  985. ((System.ComponentModel.ISupportInitialize)(this.CheckEditCommandSet)).EndInit();
  986. this.PagePollingSetting.ResumeLayout(false);
  987. ((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).EndInit();
  988. ((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).EndInit();
  989. ((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).EndInit();
  990. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEdit)).EndInit();
  991. ((System.ComponentModel.ISupportInitialize)(this.PollSettingItemSearchLookUpEditView)).EndInit();
  992. ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).EndInit();
  993. this.PagePolling.ResumeLayout(false);
  994. ((System.ComponentModel.ISupportInitialize)(this.GridPolling)).EndInit();
  995. ((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).EndInit();
  996. this.ResumeLayout(false);
  997. this.PerformLayout();
  998. }
  999. #endregion
  1000. private DevExpress.XtraBars.Ribbon.RibbonControl RibbonNav;
  1001. private DevExpress.XtraBars.BarButtonItem ButtonDeviceList;
  1002. private DevExpress.XtraBars.Ribbon.RibbonPage DeviceInf;
  1003. private DevExpress.XtraBars.Ribbon.RibbonPageGroup RibDeviceInf;
  1004. private DevExpress.XtraBars.BarButtonItem ButtonDeviceKind;
  1005. private DevExpress.XtraTab.XtraTabControl MainTabControl;
  1006. private DevExpress.XtraBars.BarButtonItem ButtonDeviceStatus;
  1007. private DevExpress.XtraBars.Ribbon.RibbonPage DeviceCommandSetting;
  1008. private DevExpress.XtraBars.BarButtonItem ButtonCommandSet;
  1009. private DevExpress.XtraBars.Ribbon.RibbonPageGroup RibDeviceCommand;
  1010. private DevExpress.XtraTab.XtraTabPage PageDeviceList;
  1011. private DevExpress.XtraTab.XtraTabPage PageCommandSet;
  1012. private DevExpress.XtraTab.XtraTabPage PageDeviceKind;
  1013. private DevExpress.XtraTab.XtraTabPage PageDeviceStatus;
  1014. private AutoDataGridControl GridDeviceList;
  1015. private DevExpress.XtraBars.BarButtonItem ButtonPollingSetting;
  1016. private DevExpress.XtraBars.BarButtonItem ButtionPolling;
  1017. private DevExpress.XtraTab.XtraTabPage PagePollingSetting;
  1018. private DevExpress.XtraTab.XtraTabPage PagePolling;
  1019. private DevExpress.XtraGrid.Columns.GridColumn de_id;
  1020. private DevExpress.XtraGrid.Columns.GridColumn de_code;
  1021. private DevExpress.XtraGrid.Columns.GridColumn de_name;
  1022. private DevExpress.XtraGrid.Columns.GridColumn de_runstatus;
  1023. private DevExpress.XtraGrid.Columns.GridColumn de_indate;
  1024. private DevExpress.XtraGrid.Columns.GridColumn de_spec;
  1025. private DevExpress.XtraGrid.Columns.GridColumn de_vendcode;
  1026. private DevExpress.XtraGrid.Columns.GridColumn de_vendname;
  1027. private DevExpress.XtraGrid.Columns.GridColumn de_address;
  1028. private DevExpress.XtraGrid.Columns.GridColumn de_wccode;
  1029. private CustomerControl.PagingControl.PageControl PageControlDeviceList;
  1030. private AutoDataGridControl GridCommandSetting;
  1031. private DevExpress.XtraGrid.Columns.GridColumn dc_id;
  1032. private DevExpress.XtraGrid.Columns.GridColumn dc_code;
  1033. private DevExpress.XtraGrid.Columns.GridColumn dc_name;
  1034. private DevExpress.XtraGrid.Columns.GridColumn dc_command;
  1035. private AutoDataGridControl GridPolling;
  1036. private AutoDataGridControl GridPollingSetting;
  1037. private DevExpress.XtraGrid.Columns.GridColumn pl_id;
  1038. private DevExpress.XtraGrid.Columns.GridColumn pl_code;
  1039. private DevExpress.XtraGrid.Columns.GridColumn pl_name;
  1040. private DevExpress.XtraGrid.Columns.GridColumn pl_type;
  1041. private DevExpress.XtraGrid.Columns.GridColumn pl_dccode;
  1042. private DevExpress.XtraGrid.Columns.GridColumn pl_remark;
  1043. private DevExpress.XtraGrid.Columns.GridColumn dpc_id;
  1044. private DevExpress.XtraGrid.Columns.GridColumn dpc_decode;
  1045. private DevExpress.XtraGrid.Columns.GridColumn dpc_plcode;
  1046. private DevExpress.XtraGrid.Columns.GridColumn dpc_plname;
  1047. private DevExpress.XtraGrid.Columns.GridColumn dpc_interval;
  1048. private DevExpress.XtraGrid.Columns.GridColumn dpc_dccode;
  1049. private DevExpress.XtraGrid.Columns.GridColumn dpc_function;
  1050. private DevExpress.XtraGrid.Columns.GridColumn dpc_enable;
  1051. private DevExpress.XtraGrid.Columns.GridColumn dpc_status;
  1052. private DevExpress.XtraGrid.Columns.GridColumn dpc_remark;
  1053. private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit dpc_enableCheckEdit;
  1054. private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommand;
  1055. private SimpleButton ButtonNewCommand;
  1056. private GridViewWithSerialNum GridViewDeviceList;
  1057. private GridViewWithSerialNum GridViewCommandSet;
  1058. private GridViewWithSerialNum GridViewPolling;
  1059. private GridViewWithSerialNum GridViewPollSetting;
  1060. private LabelControl Brand_label;
  1061. private ComboBoxEdit Brand;
  1062. private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit CheckEditCommandSet;
  1063. private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommand;
  1064. private CustomerControl.Button.ButtonDeleteRow ButtonDeletePolling;
  1065. private CustomerControl.Button.ButtonSaveGrid ButtonSavePolling;
  1066. private CustomerControl.Button.ButtonAddRow ButtonAddPolling;
  1067. private SimpleButton ButtonPausePolling;
  1068. private SimpleButton ButtonStartPolling;
  1069. private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommandSet;
  1070. private CustomerControl.Button.ButtonAddRow ButtonNewCommandSet;
  1071. private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommandSet;
  1072. private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit PollingSetItemLookUpEdit;
  1073. private DevExpress.XtraGrid.Columns.GridColumn POLLSETTINGSTATUSCOLUMN;
  1074. private DevExpress.XtraGrid.Columns.GridColumn PollSettingCheckedColumn;
  1075. private DevExpress.XtraGrid.Columns.GridColumn CommandSetCheckedColumn;
  1076. private DevExpress.XtraGrid.Columns.GridColumn PollingCheckedColumn;
  1077. private DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit PollSettingItemSearchLookUpEdit;
  1078. private DevExpress.XtraGrid.Views.Grid.GridView PollSettingItemSearchLookUpEditView;
  1079. }
  1080. }