Main.Designer.cs 54 KB

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