From e5b2104f15ae58bd4ea033fa23263b3a19513ec2 Mon Sep 17 00:00:00 2001 From: "nodyang@aliyun.com" Date: Mon, 18 Nov 2024 09:20:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RfidWeb/FormMain.Designer.cs | 47 +++++++------------- RfidWeb/FormMain.cs | 25 ++++++++++- RfidWeb/Frm/FormAccount.Designer.cs | 8 ++-- RfidWeb/Frm/FromAlarmLog.Designer.cs | 60 ++++++++++++------------- RfidWeb/Frm/UserAlarmShow.Designer.cs | 61 ++++++++++++++++++++------ RfidWeb/Frm/UserAlarmShow.cs | 22 +++++++--- RfidWeb/H.ico | Bin 0 -> 67646 bytes RfidWeb/Program.cs | 14 ++++++ RfidWeb/RfidWeb.csproj | 4 +- RfidWeb/logo.ico | Bin 67646 -> 0 bytes Tool/Model/CacheKeyManager.cs | 2 +- 11 files changed, 154 insertions(+), 89 deletions(-) create mode 100644 RfidWeb/H.ico delete mode 100644 RfidWeb/logo.ico diff --git a/RfidWeb/FormMain.Designer.cs b/RfidWeb/FormMain.Designer.cs index 71a3870..6fa9f7d 100644 --- a/RfidWeb/FormMain.Designer.cs +++ b/RfidWeb/FormMain.Designer.cs @@ -34,11 +34,11 @@ this.panContent = new System.Windows.Forms.Panel(); this.panel9 = new System.Windows.Forms.Panel(); this.panel8 = new System.Windows.Forms.Panel(); + this.buttonUpdateLog = new System.Windows.Forms.Button(); this.hslLanternSimplePlc = new HslControls.HslLanternSimple(); this.button2 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.btnShow = new System.Windows.Forms.Button(); - this.button3 = new System.Windows.Forms.Button(); this.btnMes = new System.Windows.Forms.Button(); this.btnAccount = new System.Windows.Forms.Button(); this.btnAlarm = new System.Windows.Forms.Button(); @@ -50,7 +50,6 @@ this.labTime = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); - this.buttonUpdateLog = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.panel6.SuspendLayout(); this.panel7.SuspendLayout(); @@ -117,7 +116,6 @@ this.panel8.Controls.Add(this.button2); this.panel8.Controls.Add(this.button1); this.panel8.Controls.Add(this.btnShow); - this.panel8.Controls.Add(this.button3); this.panel8.Controls.Add(this.btnMes); this.panel8.Controls.Add(this.btnAccount); this.panel8.Controls.Add(this.btnAlarm); @@ -130,6 +128,21 @@ this.panel8.Size = new System.Drawing.Size(370, 954); this.panel8.TabIndex = 3; // + // buttonUpdateLog + // + this.buttonUpdateLog.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(182)))), ((int)(((byte)(173))))); + this.buttonUpdateLog.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.buttonUpdateLog.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.buttonUpdateLog.ForeColor = System.Drawing.SystemColors.Window; + this.buttonUpdateLog.Location = new System.Drawing.Point(22, 522); + this.buttonUpdateLog.Margin = new System.Windows.Forms.Padding(4); + this.buttonUpdateLog.Name = "buttonUpdateLog"; + this.buttonUpdateLog.Size = new System.Drawing.Size(300, 65); + this.buttonUpdateLog.TabIndex = 11; + this.buttonUpdateLog.Text = "参数修改记录"; + this.buttonUpdateLog.UseVisualStyleBackColor = false; + this.buttonUpdateLog.Click += new System.EventHandler(this.buttonUpdateLog_Click); + // // hslLanternSimplePlc // this.hslLanternSimplePlc.Location = new System.Drawing.Point(22, 641); @@ -181,18 +194,6 @@ this.btnShow.UseVisualStyleBackColor = false; this.btnShow.Click += new System.EventHandler(this.btnShow_Click); // - // button3 - // - this.button3.BackgroundImage = global::RfidWeb.Properties.Resources.消音开; - this.button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.button3.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button3.Location = new System.Drawing.Point(135, 812); - this.button3.Margin = new System.Windows.Forms.Padding(4); - this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(166, 87); - this.button3.TabIndex = 5; - this.button3.UseVisualStyleBackColor = true; - // // btnMes // this.btnMes.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(182)))), ((int)(((byte)(173))))); @@ -338,21 +339,6 @@ this.label1.TabIndex = 0; this.label1.Text = "佳通RFID层合裁切设备"; // - // buttonUpdateLog - // - this.buttonUpdateLog.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(182)))), ((int)(((byte)(173))))); - this.buttonUpdateLog.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.buttonUpdateLog.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.buttonUpdateLog.ForeColor = System.Drawing.SystemColors.Window; - this.buttonUpdateLog.Location = new System.Drawing.Point(22, 522); - this.buttonUpdateLog.Margin = new System.Windows.Forms.Padding(4); - this.buttonUpdateLog.Name = "buttonUpdateLog"; - this.buttonUpdateLog.Size = new System.Drawing.Size(300, 65); - this.buttonUpdateLog.TabIndex = 11; - this.buttonUpdateLog.Text = "参数修改记录"; - this.buttonUpdateLog.UseVisualStyleBackColor = false; - this.buttonUpdateLog.Click += new System.EventHandler(this.buttonUpdateLog_Click); - // // FormMain // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -385,7 +371,6 @@ private System.Windows.Forms.Panel panel2; private System.Windows.Forms.Label label1; private System.Windows.Forms.Button btnShow; - private System.Windows.Forms.Button button3; private System.Windows.Forms.Button button2; private System.Windows.Forms.Button button1; private HslControls.HslLanternSimple hslLanternSimplePlc; diff --git a/RfidWeb/FormMain.cs b/RfidWeb/FormMain.cs index 169ea85..744ca08 100644 --- a/RfidWeb/FormMain.cs +++ b/RfidWeb/FormMain.cs @@ -21,12 +21,15 @@ using Tool.Model; namespace RfidWeb { + public partial class FormMain : Form { private ILogNet logNet = ILogNetFactory.GetLogNet; private ICache cache; TimerX _timer; List