|
|
@@ -1,4 +1,6 @@
|
|
|
-namespace UAS_DeviceMonitor
|
|
|
+using UAS_DeviceMonitor.CustomerControl.AutoDataGridControl;
|
|
|
+
|
|
|
+namespace UAS_DeviceMonitor
|
|
|
{
|
|
|
partial class Main
|
|
|
{
|
|
|
@@ -29,7 +31,7 @@
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
|
|
|
- this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
|
|
|
+ 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();
|
|
|
@@ -50,12 +52,8 @@
|
|
|
this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
|
|
this.MainTabControl = new DevExpress.XtraTab.XtraTabControl();
|
|
|
this.PageDeviceList = new DevExpress.XtraTab.XtraTabPage();
|
|
|
- this.GridDeviceList = new DevExpress.XtraGrid.GridControl();
|
|
|
- this.PageCommandSet = new DevExpress.XtraTab.XtraTabPage();
|
|
|
- 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.pageControl1 = new UAS_DeviceMonitor.CustomerControl.PagingControl.PageControl();
|
|
|
+ this.GridDeviceList = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
this.de_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
@@ -65,21 +63,47 @@
|
|
|
this.de_spec = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_vendcode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_vendname = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
|
|
|
+ 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.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();
|
|
|
+ ((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();
|
|
|
+ this.PageCommandSet.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
|
|
|
+ this.PagePollingSetting.SuspendLayout();
|
|
|
+ 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();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
- // ribbon
|
|
|
+ // RibbonNav
|
|
|
//
|
|
|
- this.ribbon.ApplicationIcon = global::UAS_DeviceMonitor.Properties.Resources.U_Letter_72px_1121581_easyicon_net;
|
|
|
- this.ribbon.DrawGroupCaptions = DevExpress.Utils.DefaultBoolean.False;
|
|
|
- this.ribbon.ExpandCollapseItem.Id = 0;
|
|
|
- this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
|
|
- this.ribbon.ExpandCollapseItem,
|
|
|
+ this.RibbonNav.ApplicationIcon = global::UAS_DeviceMonitor.Properties.Resources.U_Letter_72px_1121581_easyicon_net;
|
|
|
+ this.RibbonNav.DrawGroupCaptions = DevExpress.Utils.DefaultBoolean.False;
|
|
|
+ this.RibbonNav.ExpandCollapseItem.Id = 0;
|
|
|
+ this.RibbonNav.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
|
|
+ this.RibbonNav.ExpandCollapseItem,
|
|
|
this.barButtonItem1,
|
|
|
this.ButtonDeviceList,
|
|
|
this.ButtonDeviceKind,
|
|
|
@@ -89,15 +113,15 @@
|
|
|
this.barButtonItem5,
|
|
|
this.ButtonPollingSetting,
|
|
|
this.ButtionPolling});
|
|
|
- this.ribbon.Location = new System.Drawing.Point(0, 0);
|
|
|
- this.ribbon.MaxItemId = 13;
|
|
|
- this.ribbon.Name = "ribbon";
|
|
|
- this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
|
|
|
+ this.RibbonNav.Location = new System.Drawing.Point(0, 0);
|
|
|
+ this.RibbonNav.MaxItemId = 13;
|
|
|
+ this.RibbonNav.Name = "RibbonNav";
|
|
|
+ this.RibbonNav.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;
|
|
|
+ this.RibbonNav.Size = new System.Drawing.Size(1033, 128);
|
|
|
+ this.RibbonNav.StatusBar = this.ribbonStatusBar;
|
|
|
//
|
|
|
// barButtonItem1
|
|
|
//
|
|
|
@@ -210,8 +234,8 @@
|
|
|
// RibDeviceCommand
|
|
|
//
|
|
|
this.RibDeviceCommand.ItemLinks.Add(this.ButtonCommandSet);
|
|
|
- this.RibDeviceCommand.ItemLinks.Add(this.ButtonPollingSetting);
|
|
|
this.RibDeviceCommand.ItemLinks.Add(this.ButtionPolling);
|
|
|
+ this.RibDeviceCommand.ItemLinks.Add(this.ButtonPollingSetting);
|
|
|
this.RibDeviceCommand.Name = "RibDeviceCommand";
|
|
|
this.RibDeviceCommand.Text = "ribbonPageGroup3";
|
|
|
//
|
|
|
@@ -232,7 +256,7 @@
|
|
|
//
|
|
|
this.ribbonStatusBar.Location = new System.Drawing.Point(0, 680);
|
|
|
this.ribbonStatusBar.Name = "ribbonStatusBar";
|
|
|
- this.ribbonStatusBar.Ribbon = this.ribbon;
|
|
|
+ this.ribbonStatusBar.Ribbon = this.RibbonNav;
|
|
|
this.ribbonStatusBar.Size = new System.Drawing.Size(1033, 31);
|
|
|
//
|
|
|
// ribbonPageGroup1
|
|
|
@@ -266,54 +290,36 @@
|
|
|
//
|
|
|
// PageDeviceList
|
|
|
//
|
|
|
+ this.PageDeviceList.Controls.Add(this.pageControl1);
|
|
|
this.PageDeviceList.Controls.Add(this.GridDeviceList);
|
|
|
this.PageDeviceList.Name = "PageDeviceList";
|
|
|
+ this.PageDeviceList.PageVisible = false;
|
|
|
this.PageDeviceList.Size = new System.Drawing.Size(1027, 546);
|
|
|
this.PageDeviceList.Text = "xtraTabPage1";
|
|
|
- this.PageDeviceList.VisibleChanged += new System.EventHandler(this.PageDeviceList_VisibleChanged);
|
|
|
+ //
|
|
|
+ // pageControl1
|
|
|
+ //
|
|
|
+ this.pageControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
+ this.pageControl1.Gridcontrol = null;
|
|
|
+ this.pageControl1.Location = new System.Drawing.Point(0, 517);
|
|
|
+ this.pageControl1.Name = "pageControl1";
|
|
|
+ this.pageControl1.Size = new System.Drawing.Size(1027, 29);
|
|
|
+ this.pageControl1.TabIndex = 1;
|
|
|
//
|
|
|
// GridDeviceList
|
|
|
//
|
|
|
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.MenuManager = this.ribbon;
|
|
|
+ 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});
|
|
|
//
|
|
|
- // 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";
|
|
|
- //
|
|
|
- // PagePollingSetting
|
|
|
- //
|
|
|
- this.PagePollingSetting.Name = "PagePollingSetting";
|
|
|
- this.PagePollingSetting.Size = new System.Drawing.Size(1027, 546);
|
|
|
- this.PagePollingSetting.Text = "xtraTabPage1";
|
|
|
- //
|
|
|
- // PagePolling
|
|
|
- //
|
|
|
- this.PagePolling.Name = "PagePolling";
|
|
|
- this.PagePolling.Size = new System.Drawing.Size(1027, 546);
|
|
|
- this.PagePolling.Text = "xtraTabPage1";
|
|
|
- //
|
|
|
// gridView1
|
|
|
//
|
|
|
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
@@ -324,73 +330,220 @@
|
|
|
this.de_indate,
|
|
|
this.de_spec,
|
|
|
this.de_vendcode,
|
|
|
- this.de_vendname});
|
|
|
+ this.de_vendname,
|
|
|
+ this.de_address,
|
|
|
+ this.de_wccode});
|
|
|
this.gridView1.GridControl = this.GridDeviceList;
|
|
|
this.gridView1.Name = "gridView1";
|
|
|
//
|
|
|
// de_id
|
|
|
//
|
|
|
this.de_id.Caption = "de_id";
|
|
|
- this.de_id.FieldName = "de_id";
|
|
|
+ this.de_id.FieldName = "DE_ID";
|
|
|
this.de_id.Name = "de_id";
|
|
|
- this.de_id.Visible = true;
|
|
|
- this.de_id.VisibleIndex = 0;
|
|
|
//
|
|
|
// de_code
|
|
|
//
|
|
|
this.de_code.Caption = "设备编号";
|
|
|
- this.de_code.FieldName = "de_code";
|
|
|
+ this.de_code.FieldName = "DE_CODE";
|
|
|
this.de_code.Name = "de_code";
|
|
|
this.de_code.Visible = true;
|
|
|
- this.de_code.VisibleIndex = 1;
|
|
|
+ this.de_code.VisibleIndex = 0;
|
|
|
//
|
|
|
// de_name
|
|
|
//
|
|
|
this.de_name.Caption = "设备名称";
|
|
|
- this.de_name.FieldName = "de_name";
|
|
|
+ this.de_name.FieldName = "DE_NAME";
|
|
|
this.de_name.Name = "de_name";
|
|
|
this.de_name.Visible = true;
|
|
|
- this.de_name.VisibleIndex = 2;
|
|
|
+ this.de_name.VisibleIndex = 1;
|
|
|
//
|
|
|
// de_runstatus
|
|
|
//
|
|
|
this.de_runstatus.Caption = "运行状态";
|
|
|
- this.de_runstatus.FieldName = "de_runstatus";
|
|
|
+ this.de_runstatus.FieldName = "DE_RUNSTATUS";
|
|
|
this.de_runstatus.Name = "de_runstatus";
|
|
|
this.de_runstatus.Visible = true;
|
|
|
- this.de_runstatus.VisibleIndex = 3;
|
|
|
+ this.de_runstatus.VisibleIndex = 2;
|
|
|
//
|
|
|
// de_indate
|
|
|
//
|
|
|
this.de_indate.Caption = "录入日期";
|
|
|
- this.de_indate.FieldName = "de_indate";
|
|
|
+ this.de_indate.DisplayFormat.FormatString = "yyyy-MM-dd";
|
|
|
+ this.de_indate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
|
|
|
+ this.de_indate.FieldName = "DE_INDATE";
|
|
|
+ this.de_indate.FilterMode = DevExpress.XtraGrid.ColumnFilterMode.DisplayText;
|
|
|
this.de_indate.Name = "de_indate";
|
|
|
this.de_indate.Visible = true;
|
|
|
- this.de_indate.VisibleIndex = 4;
|
|
|
+ this.de_indate.VisibleIndex = 3;
|
|
|
//
|
|
|
// de_spec
|
|
|
//
|
|
|
this.de_spec.Caption = "设备规格";
|
|
|
- this.de_spec.FieldName = "de_spec";
|
|
|
+ this.de_spec.FieldName = "DE_SPEC";
|
|
|
this.de_spec.Name = "de_spec";
|
|
|
this.de_spec.Visible = true;
|
|
|
- this.de_spec.VisibleIndex = 5;
|
|
|
+ this.de_spec.VisibleIndex = 4;
|
|
|
//
|
|
|
// de_vendcode
|
|
|
//
|
|
|
this.de_vendcode.Caption = "供应商编号";
|
|
|
- this.de_vendcode.FieldName = "de_vendcode";
|
|
|
+ this.de_vendcode.FieldName = "DE_VENDCODE";
|
|
|
this.de_vendcode.Name = "de_vendcode";
|
|
|
this.de_vendcode.Visible = true;
|
|
|
- this.de_vendcode.VisibleIndex = 6;
|
|
|
+ this.de_vendcode.VisibleIndex = 5;
|
|
|
//
|
|
|
// de_vendname
|
|
|
//
|
|
|
this.de_vendname.Caption = "供应商名称";
|
|
|
- this.de_vendname.FieldName = "de_vendname";
|
|
|
+ this.de_vendname.FieldName = "DE_VENDNAME";
|
|
|
this.de_vendname.Name = "de_vendname";
|
|
|
this.de_vendname.Visible = true;
|
|
|
- this.de_vendname.VisibleIndex = 7;
|
|
|
+ this.de_vendname.VisibleIndex = 6;
|
|
|
+ //
|
|
|
+ // de_address
|
|
|
+ //
|
|
|
+ this.de_address.Caption = "设备地点";
|
|
|
+ this.de_address.FieldName = "DE_ADDRESS";
|
|
|
+ this.de_address.Name = "de_address";
|
|
|
+ this.de_address.Visible = true;
|
|
|
+ this.de_address.VisibleIndex = 7;
|
|
|
+ //
|
|
|
+ // de_wccode
|
|
|
+ //
|
|
|
+ this.de_wccode.Caption = "工作中心";
|
|
|
+ this.de_wccode.FieldName = "DE_WCCODE";
|
|
|
+ this.de_wccode.Name = "de_wccode";
|
|
|
+ this.de_wccode.Visible = true;
|
|
|
+ this.de_wccode.VisibleIndex = 8;
|
|
|
+ //
|
|
|
+ // PageCommandSet
|
|
|
+ //
|
|
|
+ this.PageCommandSet.Controls.Add(this.GridCommandSetting);
|
|
|
+ this.PageCommandSet.Name = "PageCommandSet";
|
|
|
+ this.PageCommandSet.PageVisible = false;
|
|
|
+ this.PageCommandSet.Size = new System.Drawing.Size(1027, 546);
|
|
|
+ this.PageCommandSet.Text = "xtraTabPage1";
|
|
|
+ //
|
|
|
+ // GridCommandSetting
|
|
|
+ //
|
|
|
+ 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.Location = new System.Drawing.Point(0, -1);
|
|
|
+ this.GridCommandSetting.MainView = this.gridView2;
|
|
|
+ this.GridCommandSetting.MenuManager = this.RibbonNav;
|
|
|
+ this.GridCommandSetting.Name = "GridCommandSetting";
|
|
|
+ this.GridCommandSetting.Size = new System.Drawing.Size(1027, 511);
|
|
|
+ this.GridCommandSetting.TabIndex = 1;
|
|
|
+ this.GridCommandSetting.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
+ this.gridView2});
|
|
|
+ //
|
|
|
+ // gridView2
|
|
|
+ //
|
|
|
+ this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
+ this.dc_id,
|
|
|
+ this.dc_code,
|
|
|
+ this.dc_name,
|
|
|
+ this.dc_command});
|
|
|
+ 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";
|
|
|
+ this.dc_id.Name = "dc_id";
|
|
|
+ //
|
|
|
+ // dc_code
|
|
|
+ //
|
|
|
+ this.dc_code.Caption = "指令编号";
|
|
|
+ this.dc_code.FieldName = "DC_CODE";
|
|
|
+ this.dc_code.Name = "dc_code";
|
|
|
+ this.dc_code.Visible = true;
|
|
|
+ this.dc_code.VisibleIndex = 0;
|
|
|
+ this.dc_code.Width = 118;
|
|
|
+ //
|
|
|
+ // dc_name
|
|
|
+ //
|
|
|
+ this.dc_name.Caption = "指令名称";
|
|
|
+ this.dc_name.FieldName = "DC_NAME";
|
|
|
+ this.dc_name.Name = "dc_name";
|
|
|
+ this.dc_name.Visible = true;
|
|
|
+ this.dc_name.VisibleIndex = 1;
|
|
|
+ this.dc_name.Width = 123;
|
|
|
+ //
|
|
|
+ // dc_command
|
|
|
+ //
|
|
|
+ this.dc_command.Caption = "发送指令";
|
|
|
+ this.dc_command.FieldName = "DC_COMMAND";
|
|
|
+ this.dc_command.Name = "dc_command";
|
|
|
+ this.dc_command.Visible = true;
|
|
|
+ this.dc_command.VisibleIndex = 2;
|
|
|
+ this.dc_command.Width = 768;
|
|
|
+ //
|
|
|
+ // GridPolling
|
|
|
+ //
|
|
|
+ this.GridPolling.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
+ this.GridPolling.Location = new System.Drawing.Point(0, 0);
|
|
|
+ this.GridPolling.MainView = this.gridView3;
|
|
|
+ this.GridPolling.MenuManager = this.RibbonNav;
|
|
|
+ this.GridPolling.Name = "GridPolling";
|
|
|
+ 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});
|
|
|
+ //
|
|
|
+ // gridView3
|
|
|
+ //
|
|
|
+ this.gridView3.GridControl = this.GridPolling;
|
|
|
+ this.gridView3.Name = "gridView3";
|
|
|
+ //
|
|
|
+ // GridPollingSetting
|
|
|
+ //
|
|
|
+ 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});
|
|
|
+ //
|
|
|
+ // gridView4
|
|
|
+ //
|
|
|
+ this.gridView4.GridControl = this.GridPollingSetting;
|
|
|
+ this.gridView4.Name = "gridView4";
|
|
|
//
|
|
|
// Main
|
|
|
//
|
|
|
@@ -402,18 +555,28 @@
|
|
|
this.ClientSize = new System.Drawing.Size(1033, 711);
|
|
|
this.Controls.Add(this.MainTabControl);
|
|
|
this.Controls.Add(this.ribbonStatusBar);
|
|
|
- this.Controls.Add(this.ribbon);
|
|
|
+ this.Controls.Add(this.RibbonNav);
|
|
|
this.Name = "Main";
|
|
|
- this.Ribbon = this.ribbon;
|
|
|
+ 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.ribbon)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).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.gridView1)).EndInit();
|
|
|
+ this.PageCommandSet.ResumeLayout(false);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
|
|
|
+ this.PagePollingSetting.ResumeLayout(false);
|
|
|
+ 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();
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
|
@@ -421,7 +584,7 @@
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
- private DevExpress.XtraBars.Ribbon.RibbonControl ribbon;
|
|
|
+ private DevExpress.XtraBars.Ribbon.RibbonControl RibbonNav;
|
|
|
private DevExpress.XtraBars.Ribbon.RibbonStatusBar ribbonStatusBar;
|
|
|
private DevExpress.XtraBars.BarButtonItem barButtonItem1;
|
|
|
private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
|
|
|
@@ -443,7 +606,7 @@
|
|
|
private DevExpress.XtraTab.XtraTabPage PageCommandSet;
|
|
|
private DevExpress.XtraTab.XtraTabPage PageDeviceKind;
|
|
|
private DevExpress.XtraTab.XtraTabPage PageDeviceStatus;
|
|
|
- private DevExpress.XtraGrid.GridControl GridDeviceList;
|
|
|
+ private AutoDataGridControl GridDeviceList;
|
|
|
private DevExpress.XtraBars.BarButtonItem ButtonPollingSetting;
|
|
|
private DevExpress.XtraBars.BarButtonItem ButtionPolling;
|
|
|
private DevExpress.XtraTab.XtraTabPage PagePollingSetting;
|
|
|
@@ -457,5 +620,18 @@
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_spec;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_vendcode;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_vendname;
|
|
|
+ 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 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;
|
|
|
}
|
|
|
}
|