|
@@ -403,7 +403,7 @@ namespace OTSPartA_STDEditor
|
|
|
|
|
|
|
|
|
//forth_elem干扰or分隔符,故先行去掉
|
|
|
- str_RemoveBlank = str_RemoveBlank.Replace("forth_elem", "");
|
|
|
+ //str_RemoveBlank = str_RemoveBlank.Replace("fourth_elem", "");
|
|
|
|
|
|
string[] str_Removeand = System.Text.RegularExpressions.Regex.Split(str_RemoveBlank, "and", System.Text.RegularExpressions.RegexOptions.None);
|
|
|
List<string> str_Removeandor = new List<string>();
|
|
@@ -645,12 +645,12 @@ namespace OTSPartA_STDEditor
|
|
|
List<string> UsingOtherPropertyL = new List<string>();
|
|
|
|
|
|
string str_RemoveBlank = kv.Value.Expression;
|
|
|
- //forth_elem干扰or分隔符,故先行去掉
|
|
|
- if (str_RemoveBlank.Contains("forth_elem"))
|
|
|
- {
|
|
|
- str_RemoveBlank = str_RemoveBlank.Replace("forth_elem", "");
|
|
|
- UsingOtherPropertyList = "forth_elem";
|
|
|
- }
|
|
|
+ ////forth_elem干扰or分隔符,故先行去掉
|
|
|
+ //if (str_RemoveBlank.Contains("fourth_elem"))
|
|
|
+ //{
|
|
|
+ // str_RemoveBlank = str_RemoveBlank.Replace("fourth_elem", "");
|
|
|
+ // UsingOtherPropertyList = "fourth_elem";
|
|
|
+ //}
|
|
|
|
|
|
str_RemoveBlank = str_RemoveBlank.Replace(" ", "");
|
|
|
string[] str_Removeand = System.Text.RegularExpressions.Regex.Split(str_RemoveBlank, "and", System.Text.RegularExpressions.RegexOptions.None);
|
|
@@ -796,12 +796,12 @@ namespace OTSPartA_STDEditor
|
|
|
List<string> UsingOtherPropertyL = new List<string>();
|
|
|
|
|
|
string str_RemoveBlank = kv.Value.Expression;
|
|
|
- //forth_elem干扰or分隔符,故先行去掉
|
|
|
- if (str_RemoveBlank.Contains("forth_elem"))
|
|
|
- {
|
|
|
- str_RemoveBlank = str_RemoveBlank.Replace("forth_elem", "");
|
|
|
- UsingOtherPropertyList = "forth_elem,";
|
|
|
- }
|
|
|
+ ////forth_elem干扰or分隔符,故先行去掉
|
|
|
+ //if (str_RemoveBlank.Contains("fourth_elem"))
|
|
|
+ //{
|
|
|
+ // str_RemoveBlank = str_RemoveBlank.Replace("fourth_elem", "");
|
|
|
+ // UsingOtherPropertyList = "fourth_elem,";
|
|
|
+ //}
|
|
|
|
|
|
str_RemoveBlank = str_RemoveBlank.Replace(" ", "");
|
|
|
string[] str_Removeand = System.Text.RegularExpressions.Regex.Split(str_RemoveBlank, "and", System.Text.RegularExpressions.RegexOptions.None);
|
|
@@ -1173,9 +1173,9 @@ namespace OTSPartA_STDEditor
|
|
|
this.Text = this.Text.Split(' ')[0] + " " + STDDBAddress;
|
|
|
IsModified = false;
|
|
|
}
|
|
|
- catch
|
|
|
+ catch(Exception ex)
|
|
|
{
|
|
|
- MessageBox.Show("The selected standard library is formatted incorrectly, please open the correct standard library!", "Tip");
|
|
|
+ MessageBox.Show(ex.ToString(), "Tip");
|
|
|
}
|
|
|
}
|
|
|
}
|