|
|
@@ -32,29 +32,21 @@ namespace UAS_DeviceMonitor
|
|
|
{
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
|
|
|
this.RibbonNav = new DevExpress.XtraBars.Ribbon.RibbonControl();
|
|
|
- this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
|
|
|
this.ButtonDeviceList = new DevExpress.XtraBars.BarButtonItem();
|
|
|
this.ButtonDeviceKind = new DevExpress.XtraBars.BarButtonItem();
|
|
|
- this.barButtonGroup1 = new DevExpress.XtraBars.BarButtonGroup();
|
|
|
this.ButtonDeviceStatus = new DevExpress.XtraBars.BarButtonItem();
|
|
|
this.ButtonCommandSet = new DevExpress.XtraBars.BarButtonItem();
|
|
|
- this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
|
|
|
this.ButtonPollingSetting = new DevExpress.XtraBars.BarButtonItem();
|
|
|
this.ButtionPolling = new DevExpress.XtraBars.BarButtonItem();
|
|
|
this.DeviceInf = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
|
|
this.RibDeviceInf = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
|
|
this.DeviceCommandSetting = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
|
|
this.RibDeviceCommand = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
|
|
- this.ribbonPage2 = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
|
|
- this.RibDeviceBadInf = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
|
|
- this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
|
|
|
- this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
|
|
- this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
|
|
this.MainTabControl = new DevExpress.XtraTab.XtraTabControl();
|
|
|
this.PageDeviceList = new DevExpress.XtraTab.XtraTabPage();
|
|
|
this.pageControl1 = new UAS_DeviceMonitor.CustomerControl.PagingControl.PageControl();
|
|
|
this.GridDeviceList = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
- this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
+ this.GridViewDeviceList = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
this.de_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_name = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
@@ -66,35 +58,53 @@ namespace UAS_DeviceMonitor
|
|
|
this.de_address = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_wccode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.PageCommandSet = new DevExpress.XtraTab.XtraTabPage();
|
|
|
- this.GridCommandSetting = new DevExpress.XtraGrid.GridControl();
|
|
|
+ this.GridCommandSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
- this.PageDeviceKind = new DevExpress.XtraTab.XtraTabPage();
|
|
|
- this.PageDeviceStatus = new DevExpress.XtraTab.XtraTabPage();
|
|
|
- this.PagePollingSetting = new DevExpress.XtraTab.XtraTabPage();
|
|
|
- this.PagePolling = new DevExpress.XtraTab.XtraTabPage();
|
|
|
this.dc_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dc_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dc_name = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dc_command = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- this.GridPolling = new DevExpress.XtraGrid.GridControl();
|
|
|
- this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
- this.GridPollingSetting = new DevExpress.XtraGrid.GridControl();
|
|
|
- this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
+ this.PageDeviceKind = new DevExpress.XtraTab.XtraTabPage();
|
|
|
+ this.PageDeviceStatus = new DevExpress.XtraTab.XtraTabPage();
|
|
|
+ this.PagePollingSetting = new DevExpress.XtraTab.XtraTabPage();
|
|
|
+ this.GridPollingSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
+ this.GridViewPollSetting = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
+ this.dpc_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dpc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dpc_plcode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dpc_plname = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dpc_interval = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dpc_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dpc_function = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dpc_enable = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dpc_enableCheckEdit = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
+ this.dpc_status = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.dpc_remark = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.PagePolling = new DevExpress.XtraTab.XtraTabPage();
|
|
|
+ this.GridPolling = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
+ this.GridViewPolling = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
+ this.pl_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.pl_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.pl_name = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.pl_type = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.pl_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.pl_remark = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).BeginInit();
|
|
|
this.MainTabControl.SuspendLayout();
|
|
|
this.PageDeviceList.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).BeginInit();
|
|
|
this.PageCommandSet.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
|
|
|
this.PagePollingSetting.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).BeginInit();
|
|
|
this.PagePolling.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridPolling)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridView4)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// RibbonNav
|
|
|
@@ -104,13 +114,10 @@ namespace UAS_DeviceMonitor
|
|
|
this.RibbonNav.ExpandCollapseItem.Id = 0;
|
|
|
this.RibbonNav.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
|
|
this.RibbonNav.ExpandCollapseItem,
|
|
|
- this.barButtonItem1,
|
|
|
this.ButtonDeviceList,
|
|
|
this.ButtonDeviceKind,
|
|
|
- this.barButtonGroup1,
|
|
|
this.ButtonDeviceStatus,
|
|
|
this.ButtonCommandSet,
|
|
|
- this.barButtonItem5,
|
|
|
this.ButtonPollingSetting,
|
|
|
this.ButtionPolling});
|
|
|
this.RibbonNav.Location = new System.Drawing.Point(0, 0);
|
|
|
@@ -118,18 +125,8 @@ namespace UAS_DeviceMonitor
|
|
|
this.RibbonNav.Name = "RibbonNav";
|
|
|
this.RibbonNav.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
|
|
|
this.DeviceInf,
|
|
|
- this.DeviceCommandSetting,
|
|
|
- this.ribbonPage2});
|
|
|
+ this.DeviceCommandSetting});
|
|
|
this.RibbonNav.Size = new System.Drawing.Size(1033, 128);
|
|
|
- this.RibbonNav.StatusBar = this.ribbonStatusBar;
|
|
|
- //
|
|
|
- // barButtonItem1
|
|
|
- //
|
|
|
- this.barButtonItem1.Caption = "barButtonItem1";
|
|
|
- this.barButtonItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.Glyph")));
|
|
|
- this.barButtonItem1.Id = 3;
|
|
|
- this.barButtonItem1.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.LargeGlyph")));
|
|
|
- this.barButtonItem1.Name = "barButtonItem1";
|
|
|
//
|
|
|
// ButtonDeviceList
|
|
|
//
|
|
|
@@ -151,14 +148,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.ButtonDeviceKind.Tag = "PageDeviceKind";
|
|
|
this.ButtonDeviceKind.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
|
|
|
//
|
|
|
- // barButtonGroup1
|
|
|
- //
|
|
|
- this.barButtonGroup1.Caption = "barButtonGroup1";
|
|
|
- this.barButtonGroup1.Glyph = global::UAS_DeviceMonitor.Properties.Resources.Png_Device;
|
|
|
- this.barButtonGroup1.Id = 7;
|
|
|
- this.barButtonGroup1.LargeGlyph = global::UAS_DeviceMonitor.Properties.Resources.Png_Device;
|
|
|
- this.barButtonGroup1.Name = "barButtonGroup1";
|
|
|
- //
|
|
|
// ButtonDeviceStatus
|
|
|
//
|
|
|
this.ButtonDeviceStatus.Caption = "运行状态";
|
|
|
@@ -179,15 +168,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.ButtonCommandSet.Tag = "PageCommandSet";
|
|
|
this.ButtonCommandSet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
|
|
|
//
|
|
|
- // barButtonItem5
|
|
|
- //
|
|
|
- this.barButtonItem5.Caption = "故障信息维护";
|
|
|
- this.barButtonItem5.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem5.Glyph")));
|
|
|
- this.barButtonItem5.Id = 10;
|
|
|
- this.barButtonItem5.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem5.LargeGlyph")));
|
|
|
- this.barButtonItem5.Name = "barButtonItem5";
|
|
|
- this.barButtonItem5.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
|
|
|
- //
|
|
|
// ButtonPollingSetting
|
|
|
//
|
|
|
this.ButtonPollingSetting.Caption = "轮询配置";
|
|
|
@@ -239,38 +219,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.RibDeviceCommand.Name = "RibDeviceCommand";
|
|
|
this.RibDeviceCommand.Text = "ribbonPageGroup3";
|
|
|
//
|
|
|
- // ribbonPage2
|
|
|
- //
|
|
|
- this.ribbonPage2.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
|
|
|
- this.RibDeviceBadInf});
|
|
|
- this.ribbonPage2.Name = "ribbonPage2";
|
|
|
- this.ribbonPage2.Text = "设备故障监控";
|
|
|
- //
|
|
|
- // RibDeviceBadInf
|
|
|
- //
|
|
|
- this.RibDeviceBadInf.ItemLinks.Add(this.barButtonItem5);
|
|
|
- this.RibDeviceBadInf.Name = "RibDeviceBadInf";
|
|
|
- this.RibDeviceBadInf.Text = "ribbonPageGroup4";
|
|
|
- //
|
|
|
- // ribbonStatusBar
|
|
|
- //
|
|
|
- this.ribbonStatusBar.Location = new System.Drawing.Point(0, 680);
|
|
|
- this.ribbonStatusBar.Name = "ribbonStatusBar";
|
|
|
- this.ribbonStatusBar.Ribbon = this.RibbonNav;
|
|
|
- this.ribbonStatusBar.Size = new System.Drawing.Size(1033, 31);
|
|
|
- //
|
|
|
- // ribbonPageGroup1
|
|
|
- //
|
|
|
- this.ribbonPageGroup1.Name = "ribbonPageGroup1";
|
|
|
- this.ribbonPageGroup1.Text = "ribbonPageGroup1";
|
|
|
- //
|
|
|
- // ribbonPage1
|
|
|
- //
|
|
|
- this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
|
|
|
- this.ribbonPageGroup1});
|
|
|
- this.ribbonPage1.Name = "ribbonPage1";
|
|
|
- this.ribbonPage1.Text = "ribbonPage11";
|
|
|
- //
|
|
|
// MainTabControl
|
|
|
//
|
|
|
this.MainTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
@@ -311,18 +259,18 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridDeviceList.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
this.GridDeviceList.GetDataSQL = null;
|
|
|
this.GridDeviceList.Location = new System.Drawing.Point(0, 0);
|
|
|
- this.GridDeviceList.MainView = this.gridView1;
|
|
|
+ this.GridDeviceList.MainView = this.GridViewDeviceList;
|
|
|
this.GridDeviceList.MenuManager = this.RibbonNav;
|
|
|
this.GridDeviceList.Name = "GridDeviceList";
|
|
|
this.GridDeviceList.RowCount = 0;
|
|
|
this.GridDeviceList.Size = new System.Drawing.Size(1027, 546);
|
|
|
this.GridDeviceList.TabIndex = 0;
|
|
|
this.GridDeviceList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
- this.gridView1});
|
|
|
+ this.GridViewDeviceList});
|
|
|
//
|
|
|
- // gridView1
|
|
|
+ // GridViewDeviceList
|
|
|
//
|
|
|
- this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
+ this.GridViewDeviceList.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
this.de_id,
|
|
|
this.de_code,
|
|
|
this.de_name,
|
|
|
@@ -333,8 +281,8 @@ namespace UAS_DeviceMonitor
|
|
|
this.de_vendname,
|
|
|
this.de_address,
|
|
|
this.de_wccode});
|
|
|
- this.gridView1.GridControl = this.GridDeviceList;
|
|
|
- this.gridView1.Name = "gridView1";
|
|
|
+ this.GridViewDeviceList.GridControl = this.GridDeviceList;
|
|
|
+ this.GridViewDeviceList.Name = "GridViewDeviceList";
|
|
|
//
|
|
|
// de_id
|
|
|
//
|
|
|
@@ -430,10 +378,12 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridCommandSetting.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.GridCommandSetting.GetDataSQL = null;
|
|
|
this.GridCommandSetting.Location = new System.Drawing.Point(0, -1);
|
|
|
this.GridCommandSetting.MainView = this.gridView2;
|
|
|
this.GridCommandSetting.MenuManager = this.RibbonNav;
|
|
|
this.GridCommandSetting.Name = "GridCommandSetting";
|
|
|
+ this.GridCommandSetting.RowCount = 0;
|
|
|
this.GridCommandSetting.Size = new System.Drawing.Size(1027, 511);
|
|
|
this.GridCommandSetting.TabIndex = 1;
|
|
|
this.GridCommandSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
@@ -449,36 +399,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.gridView2.GridControl = this.GridCommandSetting;
|
|
|
this.gridView2.Name = "gridView2";
|
|
|
//
|
|
|
- // PageDeviceKind
|
|
|
- //
|
|
|
- this.PageDeviceKind.Name = "PageDeviceKind";
|
|
|
- this.PageDeviceKind.PageVisible = false;
|
|
|
- this.PageDeviceKind.Size = new System.Drawing.Size(1027, 546);
|
|
|
- this.PageDeviceKind.Text = "xtraTabPage2";
|
|
|
- //
|
|
|
- // PageDeviceStatus
|
|
|
- //
|
|
|
- this.PageDeviceStatus.Name = "PageDeviceStatus";
|
|
|
- this.PageDeviceStatus.PageVisible = false;
|
|
|
- this.PageDeviceStatus.Size = new System.Drawing.Size(1027, 546);
|
|
|
- this.PageDeviceStatus.Text = "xtraTabPage3";
|
|
|
- //
|
|
|
- // PagePollingSetting
|
|
|
- //
|
|
|
- this.PagePollingSetting.Controls.Add(this.GridPollingSetting);
|
|
|
- this.PagePollingSetting.Name = "PagePollingSetting";
|
|
|
- this.PagePollingSetting.PageVisible = false;
|
|
|
- this.PagePollingSetting.Size = new System.Drawing.Size(1027, 546);
|
|
|
- this.PagePollingSetting.Text = "xtraTabPage1";
|
|
|
- //
|
|
|
- // PagePolling
|
|
|
- //
|
|
|
- this.PagePolling.Controls.Add(this.GridPolling);
|
|
|
- this.PagePolling.Name = "PagePolling";
|
|
|
- this.PagePolling.PageVisible = false;
|
|
|
- this.PagePolling.Size = new System.Drawing.Size(1027, 546);
|
|
|
- this.PagePolling.Text = "xtraTabPage1";
|
|
|
- //
|
|
|
// dc_id
|
|
|
//
|
|
|
this.dc_id.FieldName = "DC_ID";
|
|
|
@@ -511,39 +431,228 @@ namespace UAS_DeviceMonitor
|
|
|
this.dc_command.VisibleIndex = 2;
|
|
|
this.dc_command.Width = 768;
|
|
|
//
|
|
|
+ // PageDeviceKind
|
|
|
+ //
|
|
|
+ this.PageDeviceKind.Name = "PageDeviceKind";
|
|
|
+ this.PageDeviceKind.PageVisible = false;
|
|
|
+ this.PageDeviceKind.Size = new System.Drawing.Size(1027, 546);
|
|
|
+ this.PageDeviceKind.Text = "xtraTabPage2";
|
|
|
+ //
|
|
|
+ // PageDeviceStatus
|
|
|
+ //
|
|
|
+ this.PageDeviceStatus.Name = "PageDeviceStatus";
|
|
|
+ this.PageDeviceStatus.PageVisible = false;
|
|
|
+ this.PageDeviceStatus.Size = new System.Drawing.Size(1027, 546);
|
|
|
+ this.PageDeviceStatus.Text = "xtraTabPage3";
|
|
|
+ //
|
|
|
+ // PagePollingSetting
|
|
|
+ //
|
|
|
+ this.PagePollingSetting.Controls.Add(this.GridPollingSetting);
|
|
|
+ this.PagePollingSetting.Name = "PagePollingSetting";
|
|
|
+ this.PagePollingSetting.PageVisible = false;
|
|
|
+ this.PagePollingSetting.Size = new System.Drawing.Size(1027, 546);
|
|
|
+ this.PagePollingSetting.Text = "xtraTabPage1";
|
|
|
+ //
|
|
|
+ // GridPollingSetting
|
|
|
+ //
|
|
|
+ this.GridPollingSetting.GetDataSQL = null;
|
|
|
+ this.GridPollingSetting.Location = new System.Drawing.Point(0, 0);
|
|
|
+ this.GridPollingSetting.MainView = this.GridViewPollSetting;
|
|
|
+ this.GridPollingSetting.MenuManager = this.RibbonNav;
|
|
|
+ this.GridPollingSetting.Name = "GridPollingSetting";
|
|
|
+ this.GridPollingSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
+ this.dpc_enableCheckEdit});
|
|
|
+ this.GridPollingSetting.RowCount = 0;
|
|
|
+ this.GridPollingSetting.Size = new System.Drawing.Size(1027, 514);
|
|
|
+ this.GridPollingSetting.TabIndex = 0;
|
|
|
+ this.GridPollingSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
+ this.GridViewPollSetting});
|
|
|
+ //
|
|
|
+ // GridViewPollSetting
|
|
|
+ //
|
|
|
+ this.GridViewPollSetting.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
+ this.dpc_id,
|
|
|
+ this.dpc_decode,
|
|
|
+ this.dpc_plcode,
|
|
|
+ this.dpc_plname,
|
|
|
+ this.dpc_interval,
|
|
|
+ this.dpc_dccode,
|
|
|
+ this.dpc_function,
|
|
|
+ this.dpc_enable,
|
|
|
+ this.dpc_status,
|
|
|
+ this.dpc_remark});
|
|
|
+ this.GridViewPollSetting.GridControl = this.GridPollingSetting;
|
|
|
+ this.GridViewPollSetting.Name = "GridViewPollSetting";
|
|
|
+ this.GridViewPollSetting.OptionsSelection.MultiSelect = true;
|
|
|
+ //
|
|
|
+ // dpc_id
|
|
|
+ //
|
|
|
+ this.dpc_id.Caption = "ID";
|
|
|
+ this.dpc_id.FieldName = "DPC_ID";
|
|
|
+ this.dpc_id.Name = "dpc_id";
|
|
|
+ //
|
|
|
+ // dpc_decode
|
|
|
+ //
|
|
|
+ this.dpc_decode.Caption = "设备编号";
|
|
|
+ this.dpc_decode.FieldName = "DPC_DECODE";
|
|
|
+ this.dpc_decode.Name = "dpc_decode";
|
|
|
+ this.dpc_decode.Visible = true;
|
|
|
+ this.dpc_decode.VisibleIndex = 0;
|
|
|
+ //
|
|
|
+ // dpc_plcode
|
|
|
+ //
|
|
|
+ this.dpc_plcode.Caption = "业务编号";
|
|
|
+ this.dpc_plcode.FieldName = "DPC_PLCODE";
|
|
|
+ this.dpc_plcode.Name = "dpc_plcode";
|
|
|
+ this.dpc_plcode.Visible = true;
|
|
|
+ this.dpc_plcode.VisibleIndex = 1;
|
|
|
+ //
|
|
|
+ // dpc_plname
|
|
|
+ //
|
|
|
+ this.dpc_plname.Caption = "业务名称";
|
|
|
+ this.dpc_plname.FieldName = "DPC_PLNAME";
|
|
|
+ this.dpc_plname.Name = "dpc_plname";
|
|
|
+ this.dpc_plname.Visible = true;
|
|
|
+ this.dpc_plname.VisibleIndex = 2;
|
|
|
+ //
|
|
|
+ // dpc_interval
|
|
|
+ //
|
|
|
+ this.dpc_interval.Caption = "轮询间隔";
|
|
|
+ this.dpc_interval.FieldName = "DPC_INTERVAL";
|
|
|
+ this.dpc_interval.Name = "dpc_interval";
|
|
|
+ this.dpc_interval.Visible = true;
|
|
|
+ this.dpc_interval.VisibleIndex = 3;
|
|
|
+ //
|
|
|
+ // dpc_dccode
|
|
|
+ //
|
|
|
+ this.dpc_dccode.Caption = "指令编号";
|
|
|
+ this.dpc_dccode.FieldName = "DPC_DCCODE";
|
|
|
+ this.dpc_dccode.Name = "dpc_dccode";
|
|
|
+ this.dpc_dccode.Visible = true;
|
|
|
+ this.dpc_dccode.VisibleIndex = 4;
|
|
|
+ //
|
|
|
+ // dpc_function
|
|
|
+ //
|
|
|
+ this.dpc_function.Caption = "解析函数";
|
|
|
+ this.dpc_function.FieldName = "DPC_FUNCTION";
|
|
|
+ this.dpc_function.Name = "dpc_function";
|
|
|
+ this.dpc_function.Visible = true;
|
|
|
+ this.dpc_function.VisibleIndex = 5;
|
|
|
+ //
|
|
|
+ // dpc_enable
|
|
|
+ //
|
|
|
+ this.dpc_enable.Caption = "是否启用";
|
|
|
+ this.dpc_enable.ColumnEdit = this.dpc_enableCheckEdit;
|
|
|
+ this.dpc_enable.FieldName = "DPC_ENABLE";
|
|
|
+ this.dpc_enable.Name = "dpc_enable";
|
|
|
+ this.dpc_enable.Visible = true;
|
|
|
+ this.dpc_enable.VisibleIndex = 6;
|
|
|
+ //
|
|
|
+ // dpc_enableCheckEdit
|
|
|
+ //
|
|
|
+ this.dpc_enableCheckEdit.AutoHeight = false;
|
|
|
+ this.dpc_enableCheckEdit.Name = "dpc_enableCheckEdit";
|
|
|
+ this.dpc_enableCheckEdit.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
|
|
|
+ this.dpc_enableCheckEdit.PictureChecked = ((System.Drawing.Image)(resources.GetObject("dpc_enableCheckEdit.PictureChecked")));
|
|
|
+ this.dpc_enableCheckEdit.PictureUnchecked = ((System.Drawing.Image)(resources.GetObject("dpc_enableCheckEdit.PictureUnchecked")));
|
|
|
+ this.dpc_enableCheckEdit.ValueChecked = "-1";
|
|
|
+ this.dpc_enableCheckEdit.ValueUnchecked = "0";
|
|
|
+ //
|
|
|
+ // dpc_status
|
|
|
+ //
|
|
|
+ this.dpc_status.Caption = "状态";
|
|
|
+ this.dpc_status.FieldName = "DPC_STATUS";
|
|
|
+ this.dpc_status.Name = "dpc_status";
|
|
|
+ this.dpc_status.Visible = true;
|
|
|
+ this.dpc_status.VisibleIndex = 7;
|
|
|
+ //
|
|
|
+ // dpc_remark
|
|
|
+ //
|
|
|
+ this.dpc_remark.Caption = "备注";
|
|
|
+ this.dpc_remark.FieldName = "DPC_REMARK";
|
|
|
+ this.dpc_remark.Name = "dpc_remark";
|
|
|
+ this.dpc_remark.Visible = true;
|
|
|
+ this.dpc_remark.VisibleIndex = 8;
|
|
|
+ //
|
|
|
+ // PagePolling
|
|
|
+ //
|
|
|
+ this.PagePolling.Controls.Add(this.GridPolling);
|
|
|
+ this.PagePolling.Name = "PagePolling";
|
|
|
+ this.PagePolling.PageVisible = false;
|
|
|
+ this.PagePolling.Size = new System.Drawing.Size(1027, 546);
|
|
|
+ this.PagePolling.Text = "xtraTabPage1";
|
|
|
+ //
|
|
|
// GridPolling
|
|
|
//
|
|
|
this.GridPolling.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
+ this.GridPolling.GetDataSQL = null;
|
|
|
this.GridPolling.Location = new System.Drawing.Point(0, 0);
|
|
|
- this.GridPolling.MainView = this.gridView3;
|
|
|
+ this.GridPolling.MainView = this.GridViewPolling;
|
|
|
this.GridPolling.MenuManager = this.RibbonNav;
|
|
|
this.GridPolling.Name = "GridPolling";
|
|
|
+ this.GridPolling.RowCount = 0;
|
|
|
this.GridPolling.Size = new System.Drawing.Size(1027, 546);
|
|
|
this.GridPolling.TabIndex = 0;
|
|
|
this.GridPolling.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
- this.gridView3});
|
|
|
+ this.GridViewPolling});
|
|
|
//
|
|
|
- // gridView3
|
|
|
+ // GridViewPolling
|
|
|
//
|
|
|
- this.gridView3.GridControl = this.GridPolling;
|
|
|
- this.gridView3.Name = "gridView3";
|
|
|
+ this.GridViewPolling.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
+ this.pl_id,
|
|
|
+ this.pl_code,
|
|
|
+ this.pl_name,
|
|
|
+ this.pl_type,
|
|
|
+ this.pl_dccode,
|
|
|
+ this.pl_remark});
|
|
|
+ this.GridViewPolling.GridControl = this.GridPolling;
|
|
|
+ this.GridViewPolling.Name = "GridViewPolling";
|
|
|
//
|
|
|
- // GridPollingSetting
|
|
|
+ // pl_id
|
|
|
//
|
|
|
- this.GridPollingSetting.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
- this.GridPollingSetting.Location = new System.Drawing.Point(0, 0);
|
|
|
- this.GridPollingSetting.MainView = this.gridView4;
|
|
|
- this.GridPollingSetting.MenuManager = this.RibbonNav;
|
|
|
- this.GridPollingSetting.Name = "GridPollingSetting";
|
|
|
- this.GridPollingSetting.Size = new System.Drawing.Size(1027, 546);
|
|
|
- this.GridPollingSetting.TabIndex = 0;
|
|
|
- this.GridPollingSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
- this.gridView4});
|
|
|
+ this.pl_id.Caption = "ID";
|
|
|
+ this.pl_id.FieldName = "pl_id";
|
|
|
+ this.pl_id.Name = "pl_id";
|
|
|
+ //
|
|
|
+ // pl_code
|
|
|
+ //
|
|
|
+ this.pl_code.Caption = "业务编号";
|
|
|
+ this.pl_code.FieldName = "PL_CODE";
|
|
|
+ this.pl_code.Name = "pl_code";
|
|
|
+ this.pl_code.Visible = true;
|
|
|
+ this.pl_code.VisibleIndex = 0;
|
|
|
+ //
|
|
|
+ // pl_name
|
|
|
+ //
|
|
|
+ this.pl_name.Caption = "业务名称";
|
|
|
+ this.pl_name.FieldName = "PL_NAME";
|
|
|
+ this.pl_name.Name = "pl_name";
|
|
|
+ this.pl_name.Visible = true;
|
|
|
+ this.pl_name.VisibleIndex = 1;
|
|
|
//
|
|
|
- // gridView4
|
|
|
+ // pl_type
|
|
|
//
|
|
|
- this.gridView4.GridControl = this.GridPollingSetting;
|
|
|
- this.gridView4.Name = "gridView4";
|
|
|
+ this.pl_type.Caption = "业务类型";
|
|
|
+ this.pl_type.FieldName = "PL_TYPE";
|
|
|
+ this.pl_type.Name = "pl_type";
|
|
|
+ this.pl_type.Visible = true;
|
|
|
+ this.pl_type.VisibleIndex = 2;
|
|
|
+ //
|
|
|
+ // pl_dccode
|
|
|
+ //
|
|
|
+ this.pl_dccode.Caption = "指令编号";
|
|
|
+ this.pl_dccode.FieldName = "PL_DCCODE";
|
|
|
+ this.pl_dccode.Name = "pl_dccode";
|
|
|
+ this.pl_dccode.Visible = true;
|
|
|
+ this.pl_dccode.VisibleIndex = 3;
|
|
|
+ //
|
|
|
+ // pl_remark
|
|
|
+ //
|
|
|
+ this.pl_remark.Caption = "备注";
|
|
|
+ this.pl_remark.FieldName = "PL_REMARK";
|
|
|
+ this.pl_remark.Name = "pl_remark";
|
|
|
+ this.pl_remark.Visible = true;
|
|
|
+ this.pl_remark.VisibleIndex = 4;
|
|
|
//
|
|
|
// Main
|
|
|
//
|
|
|
@@ -554,12 +663,10 @@ namespace UAS_DeviceMonitor
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.ClientSize = new System.Drawing.Size(1033, 711);
|
|
|
this.Controls.Add(this.MainTabControl);
|
|
|
- this.Controls.Add(this.ribbonStatusBar);
|
|
|
this.Controls.Add(this.RibbonNav);
|
|
|
this.Name = "Main";
|
|
|
this.Ribbon = this.RibbonNav;
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
- this.StatusBar = this.ribbonStatusBar;
|
|
|
this.Text = "设备监控管理平台";
|
|
|
this.Load += new System.EventHandler(this.Main_Load);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).EndInit();
|
|
|
@@ -567,16 +674,17 @@ namespace UAS_DeviceMonitor
|
|
|
this.MainTabControl.ResumeLayout(false);
|
|
|
this.PageDeviceList.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).EndInit();
|
|
|
this.PageCommandSet.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
|
|
|
this.PagePollingSetting.ResumeLayout(false);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).EndInit();
|
|
|
this.PagePolling.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridPolling)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridView4)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
|
@@ -585,23 +693,15 @@ namespace UAS_DeviceMonitor
|
|
|
#endregion
|
|
|
|
|
|
private DevExpress.XtraBars.Ribbon.RibbonControl RibbonNav;
|
|
|
- private DevExpress.XtraBars.Ribbon.RibbonStatusBar ribbonStatusBar;
|
|
|
- private DevExpress.XtraBars.BarButtonItem barButtonItem1;
|
|
|
- private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
|
|
|
- private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
|
|
|
private DevExpress.XtraBars.BarButtonItem ButtonDeviceList;
|
|
|
private DevExpress.XtraBars.Ribbon.RibbonPage DeviceInf;
|
|
|
private DevExpress.XtraBars.Ribbon.RibbonPageGroup RibDeviceInf;
|
|
|
private DevExpress.XtraBars.BarButtonItem ButtonDeviceKind;
|
|
|
- private DevExpress.XtraBars.BarButtonGroup barButtonGroup1;
|
|
|
private DevExpress.XtraTab.XtraTabControl MainTabControl;
|
|
|
private DevExpress.XtraBars.BarButtonItem ButtonDeviceStatus;
|
|
|
private DevExpress.XtraBars.Ribbon.RibbonPage DeviceCommandSetting;
|
|
|
- private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage2;
|
|
|
private DevExpress.XtraBars.BarButtonItem ButtonCommandSet;
|
|
|
private DevExpress.XtraBars.Ribbon.RibbonPageGroup RibDeviceCommand;
|
|
|
- private DevExpress.XtraBars.BarButtonItem barButtonItem5;
|
|
|
- private DevExpress.XtraBars.Ribbon.RibbonPageGroup RibDeviceBadInf;
|
|
|
private DevExpress.XtraTab.XtraTabPage PageDeviceList;
|
|
|
private DevExpress.XtraTab.XtraTabPage PageCommandSet;
|
|
|
private DevExpress.XtraTab.XtraTabPage PageDeviceKind;
|
|
|
@@ -611,7 +711,7 @@ namespace UAS_DeviceMonitor
|
|
|
private DevExpress.XtraBars.BarButtonItem ButtionPolling;
|
|
|
private DevExpress.XtraTab.XtraTabPage PagePollingSetting;
|
|
|
private DevExpress.XtraTab.XtraTabPage PagePolling;
|
|
|
- private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
|
|
|
+ private DevExpress.XtraGrid.Views.Grid.GridView GridViewDeviceList;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_id;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_code;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_name;
|
|
|
@@ -623,15 +723,32 @@ namespace UAS_DeviceMonitor
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_address;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_wccode;
|
|
|
private CustomerControl.PagingControl.PageControl pageControl1;
|
|
|
- private DevExpress.XtraGrid.GridControl GridCommandSetting;
|
|
|
+ private AutoDataGridControl GridCommandSetting;
|
|
|
private DevExpress.XtraGrid.Views.Grid.GridView gridView2;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dc_id;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dc_code;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dc_name;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dc_command;
|
|
|
- private DevExpress.XtraGrid.GridControl GridPolling;
|
|
|
- private DevExpress.XtraGrid.Views.Grid.GridView gridView3;
|
|
|
- private DevExpress.XtraGrid.GridControl GridPollingSetting;
|
|
|
- private DevExpress.XtraGrid.Views.Grid.GridView gridView4;
|
|
|
+ private AutoDataGridControl GridPolling;
|
|
|
+ private DevExpress.XtraGrid.Views.Grid.GridView GridViewPolling;
|
|
|
+ private AutoDataGridControl GridPollingSetting;
|
|
|
+ private DevExpress.XtraGrid.Views.Grid.GridView GridViewPollSetting;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn pl_id;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn pl_code;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn pl_name;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn pl_type;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn pl_dccode;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn pl_remark;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dpc_id;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dpc_decode;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dpc_plcode;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dpc_plname;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dpc_interval;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dpc_dccode;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dpc_function;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dpc_enable;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dpc_status;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn dpc_remark;
|
|
|
+ private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit dpc_enableCheckEdit;
|
|
|
}
|
|
|
}
|