|
|
@@ -33,6 +33,7 @@ namespace UAS_DeviceMonitor
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
+ this.components = new System.ComponentModel.Container();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
|
|
|
DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup1 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
|
|
|
this.RibbonNav = new DevExpress.XtraBars.Ribbon.RibbonControl();
|
|
|
@@ -138,6 +139,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.PageWorkCenterStatus = new DevExpress.XtraTab.XtraTabPage();
|
|
|
this.GridWorkCenterStatus = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
this.GridViewWorkCenterStatus = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
|
+ this.TimerDeviceStatus = new System.Windows.Forms.Timer(this.components);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).BeginInit();
|
|
|
this.MainTabControl.SuspendLayout();
|
|
|
@@ -1198,33 +1200,33 @@ namespace UAS_DeviceMonitor
|
|
|
//
|
|
|
// GalleryDeviceStatus
|
|
|
//
|
|
|
- this.GalleryDeviceStatus.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.GalleryDeviceStatus.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D;
|
|
|
this.GalleryDeviceStatus.Controls.Add(this.galleryControlClient1);
|
|
|
this.GalleryDeviceStatus.DesignGalleryGroupIndex = 0;
|
|
|
this.GalleryDeviceStatus.DesignGalleryItemIndex = 0;
|
|
|
+ this.GalleryDeviceStatus.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
//
|
|
|
//
|
|
|
//
|
|
|
galleryItemGroup1.Caption = "Group9";
|
|
|
galleryItemGroup1.CaptionAlignment = DevExpress.XtraBars.Ribbon.GalleryItemGroupCaptionAlignment.Center;
|
|
|
galleryItemGroup1.CaptionControlSize = new System.Drawing.Size(200, 200);
|
|
|
+ galleryItemGroup1.Visible = true;
|
|
|
this.GalleryDeviceStatus.Gallery.Groups.AddRange(new DevExpress.XtraBars.Ribbon.GalleryItemGroup[] {
|
|
|
galleryItemGroup1});
|
|
|
this.GalleryDeviceStatus.Gallery.ImageSize = new System.Drawing.Size(100, 100);
|
|
|
this.GalleryDeviceStatus.Gallery.ShowItemText = true;
|
|
|
- this.GalleryDeviceStatus.Location = new System.Drawing.Point(0, 31);
|
|
|
+ this.GalleryDeviceStatus.Location = new System.Drawing.Point(0, 0);
|
|
|
this.GalleryDeviceStatus.Name = "GalleryDeviceStatus";
|
|
|
- this.GalleryDeviceStatus.Size = new System.Drawing.Size(1027, 546);
|
|
|
+ this.GalleryDeviceStatus.Size = new System.Drawing.Size(1027, 577);
|
|
|
this.GalleryDeviceStatus.TabIndex = 0;
|
|
|
this.GalleryDeviceStatus.Text = "GalleryDeviceStatus";
|
|
|
//
|
|
|
// galleryControlClient1
|
|
|
//
|
|
|
this.galleryControlClient1.GalleryControl = this.GalleryDeviceStatus;
|
|
|
- this.galleryControlClient1.Location = new System.Drawing.Point(2, 2);
|
|
|
- this.galleryControlClient1.Size = new System.Drawing.Size(1006, 542);
|
|
|
+ this.galleryControlClient1.Location = new System.Drawing.Point(3, 3);
|
|
|
+ this.galleryControlClient1.Size = new System.Drawing.Size(1004, 571);
|
|
|
//
|
|
|
// PageWorkCenterStatus
|
|
|
//
|
|
|
@@ -1261,6 +1263,11 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridViewWorkCenterStatus.Name = "GridViewWorkCenterStatus";
|
|
|
this.GridViewWorkCenterStatus.OptionsView.ShowGroupPanel = false;
|
|
|
//
|
|
|
+ // TimerDeviceStatus
|
|
|
+ //
|
|
|
+ this.TimerDeviceStatus.Interval = 10000;
|
|
|
+ this.TimerDeviceStatus.Tick += new System.EventHandler(this.TimerDeviceStatus_Tick);
|
|
|
+ //
|
|
|
// Main
|
|
|
//
|
|
|
this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.False;
|
|
|
@@ -1398,8 +1405,6 @@ namespace UAS_DeviceMonitor
|
|
|
private GridViewWithSerialNum GridViewDeviceNetSetting;
|
|
|
private DevExpress.XtraTab.XtraTabPage PageDeviceStatus;
|
|
|
private DevExpress.XtraTab.XtraTabPage PageWorkCenterStatus;
|
|
|
- private AutoDataGridControl GridWorkCenterStatus;
|
|
|
- private GridViewWithSerialNum GridViewWorkCenterStatus;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dnc_id;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dnc_decode;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn dnc_getway;
|
|
|
@@ -1418,5 +1423,8 @@ namespace UAS_DeviceMonitor
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemComboBox CommandSetRepositoryItemComboBox1;
|
|
|
private DevExpress.XtraBars.Ribbon.GalleryControl GalleryDeviceStatus;
|
|
|
private DevExpress.XtraBars.Ribbon.GalleryControlClient galleryControlClient1;
|
|
|
+ private System.Windows.Forms.Timer TimerDeviceStatus;
|
|
|
+ private AutoDataGridControl GridWorkCenterStatus;
|
|
|
+ private GridViewWithSerialNum GridViewWorkCenterStatus;
|
|
|
}
|
|
|
}
|