Browse Source

清除无用参数

章政 6 years ago
parent
commit
09072b1cbb

+ 0 - 2
UAS_AutoPass/AutoAnalysisXml.cs

@@ -218,7 +218,6 @@ namespace UAS_AutoPass
             List<string> badcode = new List<string>();
             //获取采集项目的结果
             List<string> badlocation = new List<string>();
-            int code_or_location = 0;
             while (myReader.Read())
             {
                 if (myReader.NodeType == XmlNodeType.Element && myReader.Name == "test" && myReader.IsStartElement())
@@ -532,7 +531,6 @@ namespace UAS_AutoPass
                 List<string> badcode = new List<string>();
                 //获取采集项目的结果
                 List<string> badlocation = new List<string>();
-                int code_or_location = 0;
                 while (myReader.Read())
                 {
                     if (myReader.NodeType == XmlNodeType.Element && myReader.Name == "test" && myReader.IsStartElement())

+ 0 - 2
UAS_AutoPass/AutoPassDataCollect.cs

@@ -10,8 +10,6 @@ namespace UAS_AutoPass
     {
         MESHelper helper;
 
-        DataHelper dh;
-
         List<string> Data = new List<string>();
         //Queue<string> que = new Queue<string>();
         /// <summary>

+ 0 - 2
UAS_AutoPass/Form2.cs

@@ -10,8 +10,6 @@ namespace UAS_AutoPass
     {
         int state;
 
-        private DoWorkEventArgs e;
-
         public Tip()
         {
             InitializeComponent();

+ 1 - 2
UAS_XmlAnalysor/DataHelper.cs

@@ -14,7 +14,6 @@ namespace UAS_XmlAnalysor
         public static string DBConnectionString;
         public static OracleConnection connection = null;
         OracleCommand command = null;
-        int ReconnectTime = 0;
         /// <summary>
         /// 执行构造函数的时候打开数据库的链接
         /// </summary>
@@ -29,7 +28,7 @@ namespace UAS_XmlAnalysor
                     connection = new OracleConnection(DBConnectionString);
                 connection.Open();
             }
-            catch (Exception e) {/* LogManager.DoLog(e.Message);*/ }
+            catch (Exception ) {/* LogManager.DoLog(e.Message);*/ }
         }
 
         /// <summary>

+ 0 - 1
UAS_XmlAnalysor/Form1.cs

@@ -53,7 +53,6 @@ namespace UAS_XmlAnalysor
         /// 缓存的文件夹
         /// </summary>
         public static string CachePathFolder = Environment.GetEnvironmentVariable("windir").Substring(0, 1) + @":/UAS_MES/XmlAnalysor/";
-        private string oErrMessage;
 
         public Form1()
         {

+ 0 - 2
UAS_XmlAnalysor/Form2.cs

@@ -10,8 +10,6 @@ namespace UAS_XmlAnalysor
     {
         int state;
 
-        private DoWorkEventArgs e;
-
         public Tip()
         {
             InitializeComponent();