From 3b5e7bea9ef940163d782ec3e38f3b024e47e370 Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期六, 11 十月 2025 15:24:43 +0800
Subject: [PATCH] 更新采集提示

---
 DevApp/Gs.DevApp/UserControl/Toast.Designer.cs |   16 ++++++++--------
 DevApp/Gs.DevApp/App.config                    |    4 ++--
 DevApp/Gs.DevApp/UserControl/Toast.cs          |    3 ++-
 3 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/DevApp/Gs.DevApp/App.config b/DevApp/Gs.DevApp/App.config
index 432ab84..8cf35bf 100644
--- a/DevApp/Gs.DevApp/App.config
+++ b/DevApp/Gs.DevApp/App.config
@@ -37,8 +37,8 @@
 
 	<appSettings>
 		<!--<add key="webapiurl" value="http://localhost:5263/" />-->
-		<!--<add key="WebApiUrl" value="http://192.168.1.145:8081/" />-->
-		<add key="WebApiUrl" value="http://192.168.1.145:81/" />
+		<add key="WebApiUrl" value="http://192.168.1.145:8081/" />
+		<!--<add key="WebApiUrl" value="http://192.168.1.145:81/" />-->
 		<add key="LogPath" value="logs" />
 		<add key="ProductName" value="G-MES V2.0" />
 		<add key="PageSize" value="50" />
diff --git a/DevApp/Gs.DevApp/UserControl/Toast.Designer.cs b/DevApp/Gs.DevApp/UserControl/Toast.Designer.cs
index eaf663f..5cd82c0 100644
--- a/DevApp/Gs.DevApp/UserControl/Toast.Designer.cs
+++ b/DevApp/Gs.DevApp/UserControl/Toast.Designer.cs
@@ -63,13 +63,13 @@
             this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
             this.panel1.Location = new System.Drawing.Point(12, 12);
             this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(543, 517);
+            this.panel1.Size = new System.Drawing.Size(543, 486);
             this.panel1.TabIndex = 8;
             // 
             // testo
             // 
             this.testo.Appearance.BackColor = System.Drawing.Color.Firebrick;
-            this.testo.Appearance.Font = new System.Drawing.Font("Tahoma", 22F);
+            this.testo.Appearance.Font = new System.Drawing.Font("Tahoma", 38F);
             this.testo.Appearance.ForeColor = System.Drawing.Color.White;
             this.testo.Appearance.Options.UseBackColor = true;
             this.testo.Appearance.Options.UseFont = true;
@@ -79,9 +79,9 @@
             this.testo.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
             this.testo.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
             this.testo.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.Vertical;
-            this.testo.Location = new System.Drawing.Point(12, 533);
+            this.testo.Location = new System.Drawing.Point(12, 502);
             this.testo.Name = "testo";
-            this.testo.Size = new System.Drawing.Size(543, 45);
+            this.testo.Size = new System.Drawing.Size(543, 76);
             this.testo.StyleController = this.layoutControl1;
             this.testo.TabIndex = 7;
             this.testo.Text = "labelControl1";
@@ -101,7 +101,7 @@
             columnDefinition1});
             rowDefinition1.Height = 100D;
             rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
-            rowDefinition2.Height = 49D;
+            rowDefinition2.Height = 80D;
             rowDefinition2.SizeType = System.Windows.Forms.SizeType.AutoSize;
             this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
             rowDefinition1,
@@ -114,7 +114,7 @@
             this.layoutControlItem2.Control = this.panel1;
             this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
             this.layoutControlItem2.Name = "layoutControlItem2";
-            this.layoutControlItem2.Size = new System.Drawing.Size(547, 521);
+            this.layoutControlItem2.Size = new System.Drawing.Size(547, 490);
             this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem2.TextVisible = false;
             // 
@@ -123,10 +123,10 @@
             this.layoutControlItem1.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center;
             this.layoutControlItem1.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center;
             this.layoutControlItem1.Control = this.testo;
-            this.layoutControlItem1.Location = new System.Drawing.Point(0, 521);
+            this.layoutControlItem1.Location = new System.Drawing.Point(0, 490);
             this.layoutControlItem1.Name = "layoutControlItem1";
             this.layoutControlItem1.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem1.Size = new System.Drawing.Size(547, 49);
+            this.layoutControlItem1.Size = new System.Drawing.Size(547, 80);
             this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem1.TextVisible = false;
             // 
diff --git a/DevApp/Gs.DevApp/UserControl/Toast.cs b/DevApp/Gs.DevApp/UserControl/Toast.cs
index 9bc7254..ef9e5c4 100644
--- a/DevApp/Gs.DevApp/UserControl/Toast.cs
+++ b/DevApp/Gs.DevApp/UserControl/Toast.cs
@@ -17,7 +17,7 @@
         /// <param name="it">1鎴愬姛锛�-1澶辫触</param>
         /// <param name="messageText"></param>
         /// <param name="vanishingSeconds">鍔ㄧ敾寤堕暱鏃堕棿</param>
-        public Toast(int it, string messageText, int vanishingSeconds = 3)
+        public Toast(int it, string messageText, int vanishingSeconds = 5)
         {
             InitializeComponent();
             try
@@ -28,6 +28,7 @@
             }
             catch (Exception)
             {
+
             }
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Toast));
             if (it > 0)

--
Gitblit v1.9.3