Main.Designer.cs 54 KB

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