|
|
@@ -31,19 +31,34 @@
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
|
|
|
this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
|
|
|
this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
|
|
|
- this.DeviceList = new DevExpress.XtraBars.BarButtonItem();
|
|
|
- this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
|
|
|
+ this.ButtonDeviceList = new DevExpress.XtraBars.BarButtonItem();
|
|
|
+ this.ButtonDeviceKind = new DevExpress.XtraBars.BarButtonItem();
|
|
|
this.barButtonGroup1 = new DevExpress.XtraBars.BarButtonGroup();
|
|
|
- this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
|
|
|
+ this.ButtonDeviceStatus = new DevExpress.XtraBars.BarButtonItem();
|
|
|
+ this.ButtonCommandSet = new DevExpress.XtraBars.BarButtonItem();
|
|
|
+ this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem();
|
|
|
this.DeviceInf = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
|
|
- this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
|
|
+ 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.PageCommandSet = new DevExpress.XtraTab.XtraTabPage();
|
|
|
+ this.PageDeviceKind = new DevExpress.XtraTab.XtraTabPage();
|
|
|
+ this.PageDeviceStatus = new DevExpress.XtraTab.XtraTabPage();
|
|
|
+ this.GridDeviceList = new DevExpress.XtraGrid.GridControl();
|
|
|
+ this.GridViewDeviceList = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).BeginInit();
|
|
|
+ this.MainTabControl.SuspendLayout();
|
|
|
+ this.PageDeviceList.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// ribbon
|
|
|
@@ -54,15 +69,18 @@
|
|
|
this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
|
|
this.ribbon.ExpandCollapseItem,
|
|
|
this.barButtonItem1,
|
|
|
- this.DeviceList,
|
|
|
- this.barButtonItem2,
|
|
|
+ this.ButtonDeviceList,
|
|
|
+ this.ButtonDeviceKind,
|
|
|
this.barButtonGroup1,
|
|
|
- this.barButtonItem3});
|
|
|
+ this.ButtonDeviceStatus,
|
|
|
+ this.ButtonCommandSet,
|
|
|
+ this.barButtonItem5});
|
|
|
this.ribbon.Location = new System.Drawing.Point(0, 0);
|
|
|
- this.ribbon.MaxItemId = 9;
|
|
|
+ this.ribbon.MaxItemId = 11;
|
|
|
this.ribbon.Name = "ribbon";
|
|
|
this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
|
|
|
this.DeviceInf,
|
|
|
+ this.DeviceCommandSetting,
|
|
|
this.ribbonPage2});
|
|
|
this.ribbon.Size = new System.Drawing.Size(1033, 128);
|
|
|
this.ribbon.StatusBar = this.ribbonStatusBar;
|
|
|
@@ -75,23 +93,25 @@
|
|
|
this.barButtonItem1.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.LargeGlyph")));
|
|
|
this.barButtonItem1.Name = "barButtonItem1";
|
|
|
//
|
|
|
- // DeviceList
|
|
|
+ // ButtonDeviceList
|
|
|
//
|
|
|
- this.DeviceList.Caption = "设备清单";
|
|
|
- this.DeviceList.Id = 5;
|
|
|
- this.DeviceList.LargeGlyph = global::UAS_DeviceMonitor.Properties.Resources.netstatus_tx_64px_18991_easyicon_net;
|
|
|
- this.DeviceList.Name = "DeviceList";
|
|
|
- this.DeviceList.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
|
|
|
+ this.ButtonDeviceList.Caption = "设备清单";
|
|
|
+ this.ButtonDeviceList.Id = 5;
|
|
|
+ this.ButtonDeviceList.LargeGlyph = global::UAS_DeviceMonitor.Properties.Resources.netstatus_tx_64px_18991_easyicon_net;
|
|
|
+ this.ButtonDeviceList.Name = "ButtonDeviceList";
|
|
|
+ this.ButtonDeviceList.Tag = "PageDeviceList";
|
|
|
+ this.ButtonDeviceList.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
|
|
|
//
|
|
|
- // barButtonItem2
|
|
|
+ // ButtonDeviceKind
|
|
|
//
|
|
|
- this.barButtonItem2.Caption = "设备类型维护";
|
|
|
- this.barButtonItem2.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem2.Glyph")));
|
|
|
- this.barButtonItem2.Id = 6;
|
|
|
- this.barButtonItem2.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem2.LargeGlyph")));
|
|
|
- this.barButtonItem2.Name = "barButtonItem2";
|
|
|
- this.barButtonItem2.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large;
|
|
|
- this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
|
|
|
+ this.ButtonDeviceKind.Caption = "设备类型维护";
|
|
|
+ this.ButtonDeviceKind.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceKind.Glyph")));
|
|
|
+ this.ButtonDeviceKind.Id = 6;
|
|
|
+ this.ButtonDeviceKind.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceKind.LargeGlyph")));
|
|
|
+ this.ButtonDeviceKind.Name = "ButtonDeviceKind";
|
|
|
+ this.ButtonDeviceKind.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large;
|
|
|
+ this.ButtonDeviceKind.Tag = "PageDeviceKind";
|
|
|
+ this.ButtonDeviceKind.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
|
|
|
//
|
|
|
// barButtonGroup1
|
|
|
//
|
|
|
@@ -101,35 +121,77 @@
|
|
|
this.barButtonGroup1.LargeGlyph = global::UAS_DeviceMonitor.Properties.Resources.Png_Device;
|
|
|
this.barButtonGroup1.Name = "barButtonGroup1";
|
|
|
//
|
|
|
- // barButtonItem3
|
|
|
+ // ButtonDeviceStatus
|
|
|
//
|
|
|
- this.barButtonItem3.Caption = "运行状态";
|
|
|
- this.barButtonItem3.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem3.Glyph")));
|
|
|
- this.barButtonItem3.Id = 8;
|
|
|
- this.barButtonItem3.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem3.LargeGlyph")));
|
|
|
- this.barButtonItem3.Name = "barButtonItem3";
|
|
|
- this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
|
|
|
+ this.ButtonDeviceStatus.Caption = "运行状态";
|
|
|
+ this.ButtonDeviceStatus.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceStatus.Glyph")));
|
|
|
+ this.ButtonDeviceStatus.Id = 8;
|
|
|
+ this.ButtonDeviceStatus.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonDeviceStatus.LargeGlyph")));
|
|
|
+ this.ButtonDeviceStatus.Name = "ButtonDeviceStatus";
|
|
|
+ this.ButtonDeviceStatus.Tag = "PageDeviceStatus";
|
|
|
+ this.ButtonDeviceStatus.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ButtonItem_ItemClick);
|
|
|
+ //
|
|
|
+ // ButtonCommandSet
|
|
|
+ //
|
|
|
+ this.ButtonCommandSet.Caption = "指令设置";
|
|
|
+ this.ButtonCommandSet.Glyph = ((System.Drawing.Image)(resources.GetObject("ButtonCommandSet.Glyph")));
|
|
|
+ this.ButtonCommandSet.Id = 9;
|
|
|
+ this.ButtonCommandSet.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("ButtonCommandSet.LargeGlyph")));
|
|
|
+ this.ButtonCommandSet.Name = "ButtonCommandSet";
|
|
|
+ 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);
|
|
|
//
|
|
|
// DeviceInf
|
|
|
//
|
|
|
this.DeviceInf.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
|
|
|
- this.ribbonPageGroup2});
|
|
|
+ this.RibDeviceInf});
|
|
|
this.DeviceInf.Name = "DeviceInf";
|
|
|
this.DeviceInf.Text = "设备信息";
|
|
|
//
|
|
|
- // ribbonPageGroup2
|
|
|
+ // RibDeviceInf
|
|
|
+ //
|
|
|
+ this.RibDeviceInf.AllowTextClipping = false;
|
|
|
+ this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceList);
|
|
|
+ this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceKind);
|
|
|
+ this.RibDeviceInf.ItemLinks.Add(this.ButtonDeviceStatus);
|
|
|
+ this.RibDeviceInf.Name = "RibDeviceInf";
|
|
|
+ this.RibDeviceInf.ShowCaptionButton = false;
|
|
|
+ //
|
|
|
+ // DeviceCommandSetting
|
|
|
//
|
|
|
- this.ribbonPageGroup2.AllowTextClipping = false;
|
|
|
- this.ribbonPageGroup2.ItemLinks.Add(this.DeviceList);
|
|
|
- this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItem2);
|
|
|
- this.ribbonPageGroup2.ItemLinks.Add(this.barButtonItem3);
|
|
|
- this.ribbonPageGroup2.Name = "ribbonPageGroup2";
|
|
|
- this.ribbonPageGroup2.ShowCaptionButton = false;
|
|
|
+ this.DeviceCommandSetting.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
|
|
|
+ this.RibDeviceCommand});
|
|
|
+ this.DeviceCommandSetting.Name = "DeviceCommandSetting";
|
|
|
+ this.DeviceCommandSetting.Text = "设备指令配置";
|
|
|
+ this.DeviceCommandSetting.Visible = false;
|
|
|
+ //
|
|
|
+ // RibDeviceCommand
|
|
|
+ //
|
|
|
+ this.RibDeviceCommand.ItemLinks.Add(this.ButtonCommandSet);
|
|
|
+ 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 = "ribbonPage2";
|
|
|
+ this.ribbonPage2.Text = "设备故障监控";
|
|
|
+ //
|
|
|
+ // RibDeviceBadInf
|
|
|
+ //
|
|
|
+ this.RibDeviceBadInf.ItemLinks.Add(this.barButtonItem5);
|
|
|
+ this.RibDeviceBadInf.Name = "RibDeviceBadInf";
|
|
|
+ this.RibDeviceBadInf.Text = "ribbonPageGroup4";
|
|
|
//
|
|
|
// ribbonStatusBar
|
|
|
//
|
|
|
@@ -155,9 +217,57 @@
|
|
|
this.MainTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
this.MainTabControl.Location = new System.Drawing.Point(0, 128);
|
|
|
this.MainTabControl.Name = "MainTabControl";
|
|
|
+ this.MainTabControl.SelectedTabPage = this.PageDeviceList;
|
|
|
this.MainTabControl.ShowTabHeader = DevExpress.Utils.DefaultBoolean.False;
|
|
|
this.MainTabControl.Size = new System.Drawing.Size(1033, 552);
|
|
|
this.MainTabControl.TabIndex = 3;
|
|
|
+ this.MainTabControl.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
|
|
|
+ this.PageDeviceList,
|
|
|
+ this.PageCommandSet,
|
|
|
+ this.PageDeviceKind,
|
|
|
+ this.PageDeviceStatus});
|
|
|
+ //
|
|
|
+ // PageDeviceList
|
|
|
+ //
|
|
|
+ this.PageDeviceList.Controls.Add(this.GridDeviceList);
|
|
|
+ this.PageDeviceList.Name = "PageDeviceList";
|
|
|
+ this.PageDeviceList.Size = new System.Drawing.Size(1027, 546);
|
|
|
+ this.PageDeviceList.Text = "xtraTabPage1";
|
|
|
+ //
|
|
|
+ // PageCommandSet
|
|
|
+ //
|
|
|
+ this.PageCommandSet.Name = "PageCommandSet";
|
|
|
+ this.PageCommandSet.Size = new System.Drawing.Size(1027, 546);
|
|
|
+ this.PageCommandSet.Text = "xtraTabPage1";
|
|
|
+ //
|
|
|
+ // PageDeviceKind
|
|
|
+ //
|
|
|
+ this.PageDeviceKind.Name = "PageDeviceKind";
|
|
|
+ this.PageDeviceKind.Size = new System.Drawing.Size(1027, 546);
|
|
|
+ this.PageDeviceKind.Text = "xtraTabPage2";
|
|
|
+ //
|
|
|
+ // PageDeviceStatus
|
|
|
+ //
|
|
|
+ this.PageDeviceStatus.Name = "PageDeviceStatus";
|
|
|
+ this.PageDeviceStatus.Size = new System.Drawing.Size(1027, 546);
|
|
|
+ this.PageDeviceStatus.Text = "xtraTabPage3";
|
|
|
+ //
|
|
|
+ // GridDeviceList
|
|
|
+ //
|
|
|
+ this.GridDeviceList.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
+ this.GridDeviceList.Location = new System.Drawing.Point(0, 0);
|
|
|
+ this.GridDeviceList.MainView = this.GridViewDeviceList;
|
|
|
+ this.GridDeviceList.MenuManager = this.ribbon;
|
|
|
+ this.GridDeviceList.Name = "GridDeviceList";
|
|
|
+ this.GridDeviceList.Size = new System.Drawing.Size(1027, 546);
|
|
|
+ this.GridDeviceList.TabIndex = 0;
|
|
|
+ this.GridDeviceList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
+ this.GridViewDeviceList});
|
|
|
+ //
|
|
|
+ // GridViewDeviceList
|
|
|
+ //
|
|
|
+ this.GridViewDeviceList.GridControl = this.GridDeviceList;
|
|
|
+ this.GridViewDeviceList.Name = "GridViewDeviceList";
|
|
|
//
|
|
|
// Main
|
|
|
//
|
|
|
@@ -174,8 +284,13 @@
|
|
|
this.Ribbon = this.ribbon;
|
|
|
this.StatusBar = this.ribbonStatusBar;
|
|
|
this.Text = "设备监控管理平台";
|
|
|
+ this.Load += new System.EventHandler(this.Main_Load);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).EndInit();
|
|
|
+ this.MainTabControl.ResumeLayout(false);
|
|
|
+ this.PageDeviceList.ResumeLayout(false);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
|
@@ -188,13 +303,24 @@
|
|
|
private DevExpress.XtraBars.BarButtonItem barButtonItem1;
|
|
|
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
|
|
|
private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
|
|
|
- private DevExpress.XtraBars.BarButtonItem DeviceList;
|
|
|
+ private DevExpress.XtraBars.BarButtonItem ButtonDeviceList;
|
|
|
private DevExpress.XtraBars.Ribbon.RibbonPage DeviceInf;
|
|
|
- private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup2;
|
|
|
- private DevExpress.XtraBars.BarButtonItem barButtonItem2;
|
|
|
+ private DevExpress.XtraBars.Ribbon.RibbonPageGroup RibDeviceInf;
|
|
|
+ private DevExpress.XtraBars.BarButtonItem ButtonDeviceKind;
|
|
|
private DevExpress.XtraBars.BarButtonGroup barButtonGroup1;
|
|
|
- private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage2;
|
|
|
private DevExpress.XtraTab.XtraTabControl MainTabControl;
|
|
|
- private DevExpress.XtraBars.BarButtonItem barButtonItem3;
|
|
|
+ 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;
|
|
|
+ private DevExpress.XtraTab.XtraTabPage PageDeviceStatus;
|
|
|
+ private DevExpress.XtraGrid.GridControl GridDeviceList;
|
|
|
+ private DevExpress.XtraGrid.Views.Grid.GridView GridViewDeviceList;
|
|
|
}
|
|
|
}
|