Updated format for Westinghouse Alarm Procedures

Allow the user to change which Multiple Return value is selected for a n RO.
Allow user to select an RO for MEL including Room #
This commit is contained in:
Rich
2013-02-14 17:38:55 +00:00
parent 452159bf60
commit 32765615c6
3 changed files with 11 additions and 3 deletions

View File

@@ -171,8 +171,11 @@ namespace Volian.Controls.Library
if (index > -1)
{
MyAvailableROs.Add(((ROFSTLookup.rochild)roc).children[index].roid, ((ROFSTLookup.rochild)roc).children[index].value.Replace(@"\u160?", " "));
if(accPageID.StartsWith("MEL") && index == 0) // If equipment and 1st return value, then add option to add 4th Return Value
if (accPageID.StartsWith("MEL") && index == 0) // If equipment and 1st return value, then add option to add 4th Return Value
{
MyAvailableROs.Add(((ROFSTLookup.rochild)roc).children[3].roid, ((ROFSTLookup.rochild)roc).children[3].value.Replace(@"\u160?", " "));
MyAvailableROs.Add(((ROFSTLookup.rochild)roc).children[4].roid, ((ROFSTLookup.rochild)roc).children[4].value.Replace(@"\u160?", " "));
}
rv = true;
}
}