B2021-024: For Working Draft, Report All Procedures Inconsistencies gives Argument Exception in report
This commit is contained in:
parent
b679829508
commit
fc938fa76b
@ -368,7 +368,10 @@ namespace Volian.Print.Library
|
|||||||
string trtitle = "From Procedure " + newValue;
|
string trtitle = "From Procedure " + newValue;
|
||||||
if (trs.ContainsKey(trtitle))
|
if (trs.ContainsKey(trtitle))
|
||||||
{
|
{
|
||||||
trs[trtitle].Add(string.Format("According to {0} the destination is: {1}", pi.DisplayNumber, ItemInfo.ConvertToDisplayText(trc.TransitionValue)), ItemInfo.ConvertToDisplayText(trc.TransitionValue) == fromText);
|
// B2021-024: : For Working Draft, Report All Procedures Inconsistencies gives Argument Exception in report
|
||||||
|
// If the value is already in the dictionary, don't add it.
|
||||||
|
if (!trs[trtitle].ContainsValue(ItemInfo.ConvertToDisplayText(trc.TransitionValue) == fromText))
|
||||||
|
trs[trtitle].Add(string.Format("According to {0} the destination is: {1}", pi.DisplayNumber, ItemInfo.ConvertToDisplayText(trc.TransitionValue)), ItemInfo.ConvertToDisplayText(trc.TransitionValue) == fromText);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user