B2019-075: Incorrect Point Name in Westinghouse Alarms

This commit is contained in:
Kathy Ruffing 2019-05-16 11:19:03 +00:00
parent b766f9c868
commit 5d7258145b

View File

@ -1361,7 +1361,8 @@ i = 0;
}
string[] parts = parms.Split(",".ToCharArray());// split on comma
// B2019-031 Support commas embedded in Alarm ID (Procedure Number)
if (parts.Length > 3)// If extra commas combine first part to account for it
// B2019-075: Added the check for commas in the procedure number - this code was causing a bug in other alarms.
if (parts.Length > 3 && MySection.MyProcedure.DisplayNumber.IndexOf(",") > 0)// If extra commas combine first part to account for it
{
int n = parts.Length - 3;
string part0 = parts[0];