Main.Designer.cs 56 KB

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