|
@@ -1,4 +1,6 @@
|
|
|
-namespace UAS_DeviceMonitor
|
|
|
|
|
|
|
+using UAS_DeviceMonitor.CustomerControl.AutoDataGridControl;
|
|
|
|
|
+
|
|
|
|
|
+namespace UAS_DeviceMonitor
|
|
|
{
|
|
{
|
|
|
partial class Main
|
|
partial class Main
|
|
|
{
|
|
{
|
|
@@ -50,12 +52,7 @@
|
|
|
this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
|
this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
|
|
this.MainTabControl = new DevExpress.XtraTab.XtraTabControl();
|
|
this.MainTabControl = new DevExpress.XtraTab.XtraTabControl();
|
|
|
this.PageDeviceList = new DevExpress.XtraTab.XtraTabPage();
|
|
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.GridDeviceList = new AutoDataGridControl();
|
|
|
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
this.de_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.de_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.de_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
@@ -65,6 +62,14 @@
|
|
|
this.de_spec = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.de_spec = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_vendcode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.de_vendcode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_vendname = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.de_vendname = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
+ this.de_address = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
+ this.de_wccode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
+ 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 CustomerControl.PagingControl.PageControl();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).BeginInit();
|
|
|
this.MainTabControl.SuspendLayout();
|
|
this.MainTabControl.SuspendLayout();
|
|
@@ -266,54 +271,27 @@
|
|
|
//
|
|
//
|
|
|
// PageDeviceList
|
|
// PageDeviceList
|
|
|
//
|
|
//
|
|
|
|
|
+ this.PageDeviceList.Controls.Add(this.pageControl1);
|
|
|
this.PageDeviceList.Controls.Add(this.GridDeviceList);
|
|
this.PageDeviceList.Controls.Add(this.GridDeviceList);
|
|
|
this.PageDeviceList.Name = "PageDeviceList";
|
|
this.PageDeviceList.Name = "PageDeviceList";
|
|
|
|
|
+ this.PageDeviceList.PageVisible = false;
|
|
|
this.PageDeviceList.Size = new System.Drawing.Size(1027, 546);
|
|
this.PageDeviceList.Size = new System.Drawing.Size(1027, 546);
|
|
|
this.PageDeviceList.Text = "xtraTabPage1";
|
|
this.PageDeviceList.Text = "xtraTabPage1";
|
|
|
- this.PageDeviceList.VisibleChanged += new System.EventHandler(this.PageDeviceList_VisibleChanged);
|
|
|
|
|
//
|
|
//
|
|
|
// GridDeviceList
|
|
// GridDeviceList
|
|
|
//
|
|
//
|
|
|
- this.GridDeviceList.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
|
+ this.GridDeviceList.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.GridDeviceList.Location = new System.Drawing.Point(0, 0);
|
|
this.GridDeviceList.Location = new System.Drawing.Point(0, 0);
|
|
|
this.GridDeviceList.MainView = this.gridView1;
|
|
this.GridDeviceList.MainView = this.gridView1;
|
|
|
this.GridDeviceList.MenuManager = this.ribbon;
|
|
this.GridDeviceList.MenuManager = this.ribbon;
|
|
|
this.GridDeviceList.Name = "GridDeviceList";
|
|
this.GridDeviceList.Name = "GridDeviceList";
|
|
|
- this.GridDeviceList.Size = new System.Drawing.Size(1027, 546);
|
|
|
|
|
|
|
+ this.GridDeviceList.Size = new System.Drawing.Size(1027, 516);
|
|
|
this.GridDeviceList.TabIndex = 0;
|
|
this.GridDeviceList.TabIndex = 0;
|
|
|
this.GridDeviceList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
this.GridDeviceList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
this.gridView1});
|
|
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
|
|
// gridView1
|
|
|
//
|
|
//
|
|
|
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
@@ -324,73 +302,135 @@
|
|
|
this.de_indate,
|
|
this.de_indate,
|
|
|
this.de_spec,
|
|
this.de_spec,
|
|
|
this.de_vendcode,
|
|
this.de_vendcode,
|
|
|
- this.de_vendname});
|
|
|
|
|
|
|
+ this.de_vendname,
|
|
|
|
|
+ this.de_address,
|
|
|
|
|
+ this.de_wccode});
|
|
|
this.gridView1.GridControl = this.GridDeviceList;
|
|
this.gridView1.GridControl = this.GridDeviceList;
|
|
|
this.gridView1.Name = "gridView1";
|
|
this.gridView1.Name = "gridView1";
|
|
|
//
|
|
//
|
|
|
// de_id
|
|
// de_id
|
|
|
//
|
|
//
|
|
|
this.de_id.Caption = "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.Name = "de_id";
|
|
|
- this.de_id.Visible = true;
|
|
|
|
|
- this.de_id.VisibleIndex = 0;
|
|
|
|
|
//
|
|
//
|
|
|
// de_code
|
|
// de_code
|
|
|
//
|
|
//
|
|
|
this.de_code.Caption = "设备编号";
|
|
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.Name = "de_code";
|
|
|
this.de_code.Visible = true;
|
|
this.de_code.Visible = true;
|
|
|
- this.de_code.VisibleIndex = 1;
|
|
|
|
|
|
|
+ this.de_code.VisibleIndex = 0;
|
|
|
//
|
|
//
|
|
|
// de_name
|
|
// de_name
|
|
|
//
|
|
//
|
|
|
this.de_name.Caption = "设备名称";
|
|
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.Name = "de_name";
|
|
|
this.de_name.Visible = true;
|
|
this.de_name.Visible = true;
|
|
|
- this.de_name.VisibleIndex = 2;
|
|
|
|
|
|
|
+ this.de_name.VisibleIndex = 1;
|
|
|
//
|
|
//
|
|
|
// de_runstatus
|
|
// de_runstatus
|
|
|
//
|
|
//
|
|
|
this.de_runstatus.Caption = "运行状态";
|
|
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.Name = "de_runstatus";
|
|
|
this.de_runstatus.Visible = true;
|
|
this.de_runstatus.Visible = true;
|
|
|
- this.de_runstatus.VisibleIndex = 3;
|
|
|
|
|
|
|
+ this.de_runstatus.VisibleIndex = 2;
|
|
|
//
|
|
//
|
|
|
// de_indate
|
|
// de_indate
|
|
|
//
|
|
//
|
|
|
this.de_indate.Caption = "录入日期";
|
|
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.Name = "de_indate";
|
|
|
this.de_indate.Visible = true;
|
|
this.de_indate.Visible = true;
|
|
|
- this.de_indate.VisibleIndex = 4;
|
|
|
|
|
|
|
+ this.de_indate.VisibleIndex = 3;
|
|
|
//
|
|
//
|
|
|
// de_spec
|
|
// de_spec
|
|
|
//
|
|
//
|
|
|
this.de_spec.Caption = "设备规格";
|
|
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.Name = "de_spec";
|
|
|
this.de_spec.Visible = true;
|
|
this.de_spec.Visible = true;
|
|
|
- this.de_spec.VisibleIndex = 5;
|
|
|
|
|
|
|
+ this.de_spec.VisibleIndex = 4;
|
|
|
//
|
|
//
|
|
|
// de_vendcode
|
|
// de_vendcode
|
|
|
//
|
|
//
|
|
|
this.de_vendcode.Caption = "供应商编号";
|
|
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.Name = "de_vendcode";
|
|
|
this.de_vendcode.Visible = true;
|
|
this.de_vendcode.Visible = true;
|
|
|
- this.de_vendcode.VisibleIndex = 6;
|
|
|
|
|
|
|
+ this.de_vendcode.VisibleIndex = 5;
|
|
|
//
|
|
//
|
|
|
// de_vendname
|
|
// de_vendname
|
|
|
//
|
|
//
|
|
|
this.de_vendname.Caption = "供应商名称";
|
|
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.Name = "de_vendname";
|
|
|
this.de_vendname.Visible = true;
|
|
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.Name = "PageCommandSet";
|
|
|
|
|
+ this.PageCommandSet.PageVisible = false;
|
|
|
|
|
+ this.PageCommandSet.Size = new System.Drawing.Size(1027, 546);
|
|
|
|
|
+ this.PageCommandSet.Text = "xtraTabPage1";
|
|
|
|
|
+ //
|
|
|
|
|
+ // 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.Name = "PagePollingSetting";
|
|
|
|
|
+ this.PagePollingSetting.PageVisible = false;
|
|
|
|
|
+ this.PagePollingSetting.Size = new System.Drawing.Size(1027, 546);
|
|
|
|
|
+ this.PagePollingSetting.Text = "xtraTabPage1";
|
|
|
|
|
+ //
|
|
|
|
|
+ // PagePolling
|
|
|
|
|
+ //
|
|
|
|
|
+ this.PagePolling.Name = "PagePolling";
|
|
|
|
|
+ this.PagePolling.PageVisible = false;
|
|
|
|
|
+ this.PagePolling.Size = new System.Drawing.Size(1027, 546);
|
|
|
|
|
+ this.PagePolling.Text = "xtraTabPage1";
|
|
|
|
|
+ //
|
|
|
|
|
+ // pageControl1
|
|
|
|
|
+ //
|
|
|
|
|
+ this.pageControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
|
|
+ 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;
|
|
|
//
|
|
//
|
|
|
// Main
|
|
// Main
|
|
|
//
|
|
//
|
|
@@ -443,7 +483,7 @@
|
|
|
private DevExpress.XtraTab.XtraTabPage PageCommandSet;
|
|
private DevExpress.XtraTab.XtraTabPage PageCommandSet;
|
|
|
private DevExpress.XtraTab.XtraTabPage PageDeviceKind;
|
|
private DevExpress.XtraTab.XtraTabPage PageDeviceKind;
|
|
|
private DevExpress.XtraTab.XtraTabPage PageDeviceStatus;
|
|
private DevExpress.XtraTab.XtraTabPage PageDeviceStatus;
|
|
|
- private DevExpress.XtraGrid.GridControl GridDeviceList;
|
|
|
|
|
|
|
+ private AutoDataGridControl GridDeviceList;
|
|
|
private DevExpress.XtraBars.BarButtonItem ButtonPollingSetting;
|
|
private DevExpress.XtraBars.BarButtonItem ButtonPollingSetting;
|
|
|
private DevExpress.XtraBars.BarButtonItem ButtionPolling;
|
|
private DevExpress.XtraBars.BarButtonItem ButtionPolling;
|
|
|
private DevExpress.XtraTab.XtraTabPage PagePollingSetting;
|
|
private DevExpress.XtraTab.XtraTabPage PagePollingSetting;
|
|
@@ -457,5 +497,8 @@
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_spec;
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_spec;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_vendcode;
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_vendcode;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn de_vendname;
|
|
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;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|