Explorar el Código

绑定物料标签打印,Key冻结

callm hace 1 día
padre
commit
ae67e30d9f

+ 8 - 2
UAS_MES_YDCY/FunctionCode/Make/Make_CraftMaterialLabelPrint.cs

@@ -11,6 +11,7 @@ using System.IO;
 using System.Threading;
 using UAS_MES_NEW.PublicForm;
 using Seagull.BarTender.Print;
+using HslCommunication.Profinet.Knx;
 
 namespace UAS_MES_NEW.Make
 {
@@ -178,6 +179,11 @@ namespace UAS_MES_NEW.Make
                                 return;
                             }
                         }
+                        dt = (DataTable)dh.ExecuteSql("select count(1) from craftmaterial where cm_sncode='" + sncode.Text + "' and cm_remark='返工下放自动拆解' and cm_status=-1", "select");
+                        if (dt.Rows[0][0].ToString() != "0")
+                        {
+                            PrintNum.Text = dt.Rows[0][0].ToString();
+                        }
                         //所选标签不为空
                         if (PrintLabel.SelectedValue != null)
                         {
@@ -299,8 +305,8 @@ namespace UAS_MES_NEW.Make
         {
             if (PrintLabel.SelectedValue != null && PrintLabel.SelectedValue.ToString() != "System.Data.DataRowView")
             {
-                string PrintNums = dh.getFieldDataByCondition("label", "la_printnos", "la_id='" + PrintLabel.SelectedValue.ToString() + "'").ToString();
-                PrintNum.Text = (PrintNums == "" ? "1" : PrintNums);
+                //string PrintNums = dh.getFieldDataByCondition("label", "la_printnos", "la_id='" + PrintLabel.SelectedValue.ToString() + "'").ToString();
+                //PrintNum.Text = (PrintNums == "" ? "1" : PrintNums);
             }
         }
 

+ 24 - 110
UAS_MES_YDCY/FunctionCode/Special/Special_MaterialLabel.Designer.cs → UAS_MES_YDCY/FunctionCode/Special/Special_FreezeKey.Designer.cs

@@ -1,6 +1,6 @@
 namespace UAS_MES_NEW.Special
 {
-    partial class Special_MaterialLabel
+    partial class Special_FreezeKey
     {
         /// <summary>
         /// Required designer variable.
@@ -28,8 +28,7 @@
         /// </summary>
         private void InitializeComponent()
         {
-            this.components = new System.ComponentModel.Container();
-            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Special_MaterialLabel));
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Special_FreezeKey));
             this.sn_code_label = new System.Windows.Forms.Label();
             this.pr_detail = new System.Windows.Forms.Label();
             this.label6 = new System.Windows.Forms.Label();
@@ -37,14 +36,8 @@
             this.pr_code = new UAS_MES_NEW.CustomControl.TextBoxWithIcon.EnterTextBox();
             this.Clean = new UAS_MES_NEW.CustomControl.ButtonUtil.NormalButton();
             this.OperateResult = new UAS_MES_NEW.CustomControl.RichText.RichTextAutoBottom();
-            this.Confirm = new UAS_MES_NEW.CustomControl.ButtonUtil.NormalButton();
             this.sn_code = new UAS_MES_NEW.CustomControl.TextBoxWithIcon.EnterTextBox();
-            this.PrintNum = new UAS_MES_NEW.CustomControl.TextBoxWithIcon.EnterTextBox();
-            this.label4 = new System.Windows.Forms.Label();
-            this.PrintLabel = new UAS_MES_NEW.CustomControl.ComBoxWithFocus.ComboxWithTip(this.components);
-            this.label2 = new System.Windows.Forms.Label();
-            this.PrintLabel_label = new System.Windows.Forms.Label();
-            this.Printer = new UAS_MES_NEW.CustomControl.ComBoxWithFocus.PrinterCombox();
+            this.Confirm = new UAS_MES_NEW.CustomControl.ButtonUtil.NormalButton();
             this.SuspendLayout();
             // 
             // sn_code_label
@@ -135,25 +128,6 @@
             this.OperateResult.TabIndex = 142;
             this.OperateResult.Text = "";
             // 
-            // Confirm
-            // 
-            this.Confirm.AllPower = null;
-            this.Confirm.BackColor = System.Drawing.Color.Transparent;
-            this.Confirm.DownImage = ((System.Drawing.Image)(resources.GetObject("Confirm.DownImage")));
-            this.Confirm.Image = ((System.Drawing.Image)(resources.GetObject("Confirm.Image")));
-            this.Confirm.IsShowBorder = true;
-            this.Confirm.Location = new System.Drawing.Point(254, 699);
-            this.Confirm.Margin = new System.Windows.Forms.Padding(8);
-            this.Confirm.MoveImage = ((System.Drawing.Image)(resources.GetObject("Confirm.MoveImage")));
-            this.Confirm.Name = "Confirm";
-            this.Confirm.NormalImage = ((System.Drawing.Image)(resources.GetObject("Confirm.NormalImage")));
-            this.Confirm.Power = null;
-            this.Confirm.Size = new System.Drawing.Size(120, 50);
-            this.Confirm.TabIndex = 141;
-            this.Confirm.Text = "确认";
-            this.Confirm.UseVisualStyleBackColor = true;
-            this.Confirm.Click += new System.EventHandler(this.Confirm_Click);
-            // 
             // sn_code
             // 
             this.sn_code.AllPower = null;
@@ -170,96 +144,42 @@
             this.sn_code.TabIndex = 140;
             this.sn_code.KeyDown += new System.Windows.Forms.KeyEventHandler(this.sn_code_KeyDown);
             // 
-            // PrintNum
-            // 
-            this.PrintNum.AllPower = null;
-            this.PrintNum.BackColor = System.Drawing.Color.White;
-            this.PrintNum.Enabled = false;
-            this.PrintNum.ID = null;
-            this.PrintNum.Location = new System.Drawing.Point(226, 620);
-            this.PrintNum.Margin = new System.Windows.Forms.Padding(6);
-            this.PrintNum.Name = "PrintNum";
-            this.PrintNum.Power = null;
-            this.PrintNum.Size = new System.Drawing.Size(260, 35);
-            this.PrintNum.Str = null;
-            this.PrintNum.Str1 = null;
-            this.PrintNum.Str2 = null;
-            this.PrintNum.TabIndex = 249;
-            // 
-            // label4
-            // 
-            this.label4.AutoSize = true;
-            this.label4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label4.Location = new System.Drawing.Point(102, 620);
-            this.label4.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
-            this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(82, 41);
-            this.label4.TabIndex = 248;
-            this.label4.Text = "份数";
-            // 
-            // PrintLabel
-            // 
-            this.PrintLabel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-            this.PrintLabel.FormattingEnabled = true;
-            this.PrintLabel.Location = new System.Drawing.Point(226, 538);
-            this.PrintLabel.Margin = new System.Windows.Forms.Padding(4, 2, 4, 2);
-            this.PrintLabel.Name = "PrintLabel";
-            this.PrintLabel.Size = new System.Drawing.Size(260, 32);
-            this.PrintLabel.TabIndex = 247;
-            // 
-            // label2
-            // 
-            this.label2.AutoSize = true;
-            this.label2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label2.Location = new System.Drawing.Point(70, 457);
-            this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
-            this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(114, 41);
-            this.label2.TabIndex = 246;
-            this.label2.Text = "打印机";
-            // 
-            // PrintLabel_label
-            // 
-            this.PrintLabel_label.AutoSize = true;
-            this.PrintLabel_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.PrintLabel_label.Location = new System.Drawing.Point(102, 538);
-            this.PrintLabel_label.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
-            this.PrintLabel_label.Name = "PrintLabel_label";
-            this.PrintLabel_label.Size = new System.Drawing.Size(82, 41);
-            this.PrintLabel_label.TabIndex = 245;
-            this.PrintLabel_label.Text = "标签";
-            // 
-            // Printer
+            // Confirm
             // 
-            this.Printer.Location = new System.Drawing.Point(226, 457);
-            this.Printer.Margin = new System.Windows.Forms.Padding(8);
-            this.Printer.Name = "Printer";
-            this.Printer.Size = new System.Drawing.Size(262, 50);
-            this.Printer.TabIndex = 244;
+            this.Confirm.AllPower = null;
+            this.Confirm.BackColor = System.Drawing.Color.Transparent;
+            this.Confirm.DownImage = ((System.Drawing.Image)(resources.GetObject("Confirm.DownImage")));
+            this.Confirm.Image = ((System.Drawing.Image)(resources.GetObject("Confirm.Image")));
+            this.Confirm.IsShowBorder = true;
+            this.Confirm.Location = new System.Drawing.Point(262, 453);
+            this.Confirm.Margin = new System.Windows.Forms.Padding(8);
+            this.Confirm.MoveImage = ((System.Drawing.Image)(resources.GetObject("Confirm.MoveImage")));
+            this.Confirm.Name = "Confirm";
+            this.Confirm.NormalImage = ((System.Drawing.Image)(resources.GetObject("Confirm.NormalImage")));
+            this.Confirm.Power = null;
+            this.Confirm.Size = new System.Drawing.Size(120, 50);
+            this.Confirm.TabIndex = 238;
+            this.Confirm.Text = "确认";
+            this.Confirm.UseVisualStyleBackColor = true;
+            this.Confirm.Click += new System.EventHandler(this.Confirm_Click);
             // 
-            // Special_MaterialLabel
+            // Special_FreezeKey
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.ClientSize = new System.Drawing.Size(1566, 802);
-            this.Controls.Add(this.PrintNum);
-            this.Controls.Add(this.label4);
-            this.Controls.Add(this.PrintLabel);
-            this.Controls.Add(this.label2);
-            this.Controls.Add(this.PrintLabel_label);
-            this.Controls.Add(this.Printer);
+            this.Controls.Add(this.Confirm);
             this.Controls.Add(this.pr_detail);
             this.Controls.Add(this.label6);
             this.Controls.Add(this.pr_code);
             this.Controls.Add(this.label5);
             this.Controls.Add(this.Clean);
             this.Controls.Add(this.OperateResult);
-            this.Controls.Add(this.Confirm);
             this.Controls.Add(this.sn_code);
             this.Controls.Add(this.sn_code_label);
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
             this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
-            this.Name = "Special_MaterialLabel";
+            this.Name = "Special_FreezeKey";
             this.Tag = "Special!CancelCollection";
             this.Text = "取消采集";
             this.Load += new System.EventHandler(this.Special_CancelCollection_Load);
@@ -271,18 +191,12 @@
         #endregion
         private System.Windows.Forms.Label sn_code_label;
         private CustomControl.TextBoxWithIcon.EnterTextBox sn_code;
-        private CustomControl.ButtonUtil.NormalButton Confirm;
         private CustomControl.RichText.RichTextAutoBottom OperateResult;
         private CustomControl.ButtonUtil.NormalButton Clean;
         private System.Windows.Forms.Label pr_detail;
         private System.Windows.Forms.Label label6;
         private CustomControl.TextBoxWithIcon.EnterTextBox pr_code;
         private System.Windows.Forms.Label label5;
-        private CustomControl.TextBoxWithIcon.EnterTextBox PrintNum;
-        private System.Windows.Forms.Label label4;
-        private CustomControl.ComBoxWithFocus.ComboxWithTip PrintLabel;
-        private System.Windows.Forms.Label label2;
-        private System.Windows.Forms.Label PrintLabel_label;
-        private CustomControl.ComBoxWithFocus.PrinterCombox Printer;
+        private CustomControl.ButtonUtil.NormalButton Confirm;
     }
 }

+ 83 - 0
UAS_MES_YDCY/FunctionCode/Special/Special_FreezeKey.cs

@@ -0,0 +1,83 @@
+using System;
+using System.Data;
+using System.Drawing;
+using System.Windows.Forms;
+using UAS_MES_NEW.DataOperate;
+using UAS_MES_NEW.Entity;
+using UAS_MES_NEW.PublicMethod;
+
+namespace UAS_MES_NEW.Special
+{
+    public partial class Special_FreezeKey : Form
+    {
+
+        DataHelper dh = SystemInf.dh;
+
+
+        LogStringBuilder sql = new LogStringBuilder();
+
+        public Special_FreezeKey()
+        {
+            InitializeComponent();
+        }
+
+
+        private void Confirm_Click(object sender, EventArgs e)
+        {
+            //获取序列号的途程
+            DataTable dt = (DataTable)dh.ExecuteSql("select mil_netcode,mil_id,pr_detail,ms_outboxcode,ms_sncode,ms_firstsn,ms_id,ms_nextstepcode,ms_currentstepcode,ms_makecode,ms_status,ms_checkno,ms_craftcode,ms_prodcode,ms_stepcode,nvl(ms_qccheck,0)ms_qccheck from makeserial left join makeimeilist on mil_sncode=ms_sncode  left join product on pr_code=ms_prodcode where (ms_sncode='" + sn_code.Text + "'  or ms_imei1='" + sn_code.Text + "' and ms_imei2='" + sn_code.Text + "')  order by ms_id desc", "select");
+            if (dt.Rows.Count > 0)
+            {
+                string ms_makecode = dt.Rows[0]["ms_makecode"].ToString();
+                pr_code.Text = dt.Rows[0]["ms_prodcode"].ToString();
+                pr_detail.Text = dt.Rows[0]["pr_detail"].ToString();
+                string mil_id = dt.Rows[0]["mil_id"].ToString();
+                string mil_netcode = dt.Rows[0]["mil_netcode"].ToString();
+                if (mil_netcode == "")
+                {
+                    OperateResult.AppendText(">>序列号" + sn_code.Text + "不存在Key\n", Color.Red, sn_code);
+                    return;
+                }
+                dh.ExecuteSql("update makeimeilist set mil_status=-2,MIL_REMARK='主动冻结' where mil_id='" + mil_id + "'", "update");
+                LogicHandler.DoCommandLog(Tag.ToString(), User.UserCode, ms_makecode, User.UserLineCode, User.UserSourceCode, "Key冻结成功", "Key冻结成功", sn_code.Text, "");
+                OperateResult.AppendText(">>序列号" + sn_code.Text + "Key[" + mil_netcode + "]冻结成功\n", Color.Green, sn_code);
+            }
+            else OperateResult.AppendText(">>序列号" + sn_code.Text + "不存在\n", Color.Red, sn_code);
+        }
+
+        private void Clean_Click(object sender, EventArgs e)
+        {
+            OperateResult.Clear();
+        }
+
+        private void Special_CancelCollection_Load(object sender, EventArgs e)
+        {
+
+        }
+
+        private void pr_code_DbChange(object sender, EventArgs e)
+        {
+
+        }
+
+        private void sn_code_KeyDown(object sender, KeyEventArgs e)
+        {
+            if (e.KeyCode == Keys.Enter)
+            {
+                DataTable dt = (DataTable)dh.ExecuteSql("select mil_netcode,mil_id,pr_detail,ms_outboxcode,ms_sncode,ms_firstsn,ms_id,ms_nextstepcode,ms_currentstepcode,ms_makecode,ms_status,ms_checkno,ms_craftcode,ms_prodcode,ms_stepcode,nvl(ms_qccheck,0)ms_qccheck from makeserial left join makeimeilist on mil_sncode=ms_sncode and ms_makecode=mil_makecode left join product on pr_code=ms_prodcode where (ms_sncode='" + sn_code.Text + "'  or ms_imei1='" + sn_code.Text + "' and ms_imei2='" + sn_code.Text + "')  order by ms_id desc", "select");
+                if (dt.Rows.Count > 0)
+                {
+                    pr_code.Text = dt.Rows[0]["ms_prodcode"].ToString();
+                    pr_detail.Text = dt.Rows[0]["pr_detail"].ToString();
+
+                }
+                else OperateResult.AppendText(">>序列号" + sn_code.Text + "不存在\n", Color.Red, sn_code);
+            }
+        }
+
+        private void pr_code_TextChanged(object sender, EventArgs e)
+        {
+
+        }
+    }
+}

+ 0 - 0
UAS_MES_YDCY/FunctionCode/Special/Special_MaterialLabel.resx → UAS_MES_YDCY/FunctionCode/Special/Special_FreezeKey.resx


+ 0 - 117
UAS_MES_YDCY/FunctionCode/Special/Special_MaterialLabel.cs

@@ -1,117 +0,0 @@
-using Seagull.BarTender.Print;
-using System;
-using System.Data;
-using System.Drawing;
-using System.Threading;
-using System.Windows.Forms;
-using UAS_MES_NEW.DataOperate;
-using UAS_MES_NEW.Entity;
-using UAS_MES_NEW.PublicForm;
-using UAS_MES_NEW.PublicMethod;
-
-namespace UAS_MES_NEW.Special
-{
-    public partial class Special_MaterialLabel : Form
-    {
-        Engine engine;
-
-        DataHelper dh = SystemInf.dh;
-
-        Thread InitPrint;
-
-        LogStringBuilder sql = new LogStringBuilder();
-
-        public Special_MaterialLabel()
-        {
-            InitializeComponent();
-        }
-
-        private void InPrint()
-        {
-            try
-            {
-                engine = new Engine(true);
-                BaseUtil.WriteLbl();
-            }
-            catch (Exception)
-            {
-                OperateResult.AppendText("未正确安装BarTender软件\n", Color.Red);
-            }
-        }
-
-        private void Confirm_Click(object sender, EventArgs e)
-        {
-            //获取序列号的途程
-            DataTable dt = (DataTable)dh.ExecuteSql("select pr_detail,ms_outboxcode,ms_sncode,ms_firstsn,ms_id,ms_nextstepcode,ms_currentstepcode,ms_makecode,ms_status,ms_checkno,ms_craftcode,ms_prodcode,ms_stepcode,nvl(ms_qccheck,0)ms_qccheck from makeserial left join product on pr_code=ms_prodcode where (ms_sncode='" + sn_code.Text + "'  or ms_imei1='" + sn_code.Text + "' and ms_imei2='" + sn_code.Text + "')  order by ms_id desc", "select");
-            if (dt.Rows.Count > 0)
-            {
-                pr_code.Text = dt.Rows[0]["ms_prodcode"].ToString();
-                string ms_makecode = dt.Rows[0]["ms_makecode"].ToString();
-                string ms_qccheck = dt.Rows[0]["ms_qccheck"].ToString();
-                pr_detail.Text = dt.Rows[0]["pr_detail"].ToString();
-                string ErrorMessage = "";
-                if (!Print.BarTender(Tag.ToString(), ref engine, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), Printer.Text, sn_code.Text, int.Parse(PrintNum.Text), ms_makecode, pr_code.Text, "关键物料标", "0", out ErrorMessage))
-                {
-                    OperateResult.AppendText(ErrorMessage + "\n", Color.Red);
-                }
-                LogicHandler.DoCommandLog(Tag.ToString(), User.UserCode, ms_makecode, User.UserLineCode, User.UserSourceCode, "关键物料标签打印,份数" + PrintNum.Text, "关键物料标签打印", sn_code.Text, "");
-                OperateResult.AppendText(">>序列号" + sn_code.Text + "打印标签成功\n", Color.Green, sn_code);
-            }
-            else OperateResult.AppendText(">>序列号" + sn_code.Text + "不存在\n", Color.Red, sn_code);
-        }
-
-        private void Clean_Click(object sender, EventArgs e)
-        {
-            OperateResult.Clear();
-        }
-
-        private void Special_CancelCollection_Load(object sender, EventArgs e)
-        {
-            InitPrint = new Thread(InPrint);
-            SetLoadingWindow stw = new SetLoadingWindow(InitPrint, "初始化打印程序");
-            BaseUtil.SetFormCenter(stw);
-            stw.ShowDialog();
-        }
-
-        DataTable Dbfind;
-        private void pr_code_DbChange(object sender, EventArgs e)
-        {
-
-        }
-
-        private void sn_code_KeyDown(object sender, KeyEventArgs e)
-        {
-            if (e.KeyCode == Keys.Enter)
-            {
-                DataTable dt = (DataTable)dh.ExecuteSql("select pr_detail,ms_outboxcode,nvl(ms_edistatus,0)ms_edistatus,ms_sncode,ms_firstsn,ms_id,ms_nextstepcode,ms_currentstepcode,ms_makecode,ms_status,ms_checkno,ms_craftcode,ms_prodcode,ms_stepcode,nvl(ms_qccheck,0)ms_qccheck from makeserial left join product on pr_code=ms_prodcode where (ms_sncode='" + sn_code.Text + "'  or ms_imei1='" + sn_code.Text + "' and ms_imei2='" + sn_code.Text + "')  order by ms_id desc", "select");
-                if (dt.Rows.Count > 0)
-                {
-                    pr_code.Text = dt.Rows[0]["ms_prodcode"].ToString();
-                    string ms_makecode = dt.Rows[0]["ms_makecode"].ToString();
-                    string ms_edistatus = dt.Rows[0]["ms_edistatus"].ToString();
-                    if (ms_edistatus == "0")
-                    {
-                        OperateResult.AppendText(">>序列号" + sn_code.Text + "未召回,不允许打印\n", Color.Red, sn_code);
-                        PrintNum.Text = "";
-                        return;
-                    }
-                    pr_detail.Text = dt.Rows[0]["pr_detail"].ToString();
-                    dt = (DataTable)dh.ExecuteSql("select count(1) from craftmaterial where cm_sncode='" + sn_code.Text + "' and cm_remark='返工下放自动拆解' and cm_status=-1", "select");
-                    if (dt.Rows[0][0].ToString() != "0")
-                    {
-                        PrintNum.Text = dt.Rows[0][0].ToString();
-                    }
-                }
-                else OperateResult.AppendText(">>序列号" + sn_code.Text + "不存在\n", Color.Red, sn_code);
-            }
-        }
-
-        private void pr_code_TextChanged(object sender, EventArgs e)
-        {
-            DataTable _dt = (DataTable)dh.ExecuteSql("select la_id,la_url,la_isdefault from label where la_prodcode='" + pr_code.Text + "' and la_templatetype='关键物料标' and la_statuscode='AUDITED' order by la_isdefault", "select");
-            PrintLabel.DataSource = _dt;
-            PrintLabel.DisplayMember = "la_url";
-            PrintLabel.ValueMember = "la_id";
-        }
-    }
-}

+ 5 - 5
UAS_MES_YDCY/UAS_MES_YDCY.csproj

@@ -1361,11 +1361,11 @@
     <Compile Include="FunctionCode\Special\Special_QCForce.Designer.cs">
       <DependentUpon>Special_QCForce.cs</DependentUpon>
     </Compile>
-    <Compile Include="FunctionCode\Special\Special_MaterialLabel.cs">
+    <Compile Include="FunctionCode\Special\Special_FreezeKey.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="FunctionCode\Special\Special_MaterialLabel.Designer.cs">
-      <DependentUpon>Special_MaterialLabel.cs</DependentUpon>
+    <Compile Include="FunctionCode\Special\Special_FreezeKey.Designer.cs">
+      <DependentUpon>Special_FreezeKey.cs</DependentUpon>
     </Compile>
     <Compile Include="FunctionCode\Special\Special_QCRecheck.cs">
       <SubType>Form</SubType>
@@ -2110,8 +2110,8 @@
     <EmbeddedResource Include="FunctionCode\Special\Special_QCForce.resx">
       <DependentUpon>Special_QCForce.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="FunctionCode\Special\Special_MaterialLabel.resx">
-      <DependentUpon>Special_MaterialLabel.cs</DependentUpon>
+    <EmbeddedResource Include="FunctionCode\Special\Special_FreezeKey.resx">
+      <DependentUpon>Special_FreezeKey.cs</DependentUpon>
     </EmbeddedResource>
     <EmbeddedResource Include="FunctionCode\Special\Special_QCRecheck.resx">
       <DependentUpon>Special_QCRecheck.cs</DependentUpon>