Main.Designer.cs 77 KB

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