Fixed to allow search of selected multiple return RO value

Added comments
This commit is contained in:
2013-12-18 18:28:11 +00:00
parent 1510f4e3e9
commit d898b0a056
2 changed files with 5 additions and 4 deletions

View File

@@ -128,7 +128,7 @@ namespace Volian.Controls.Library
}
}
//private string GetROList(ROFSTLookup.rochild[] chld)
// same function as GetROsToSearch in DisplaySearch.cs
private string GetROChildren(object roObj)
{
ROFSTLookup.rochild chld = (ROFSTLookup.rochild)roObj;
@@ -136,7 +136,8 @@ namespace Volian.Controls.Library
if (chld.children == null) // get a single ROID
{
//ROFSTLookup.rochild ro = (ROFSTLookup.rochild)roObj;
rtnstr += string.Format("{0}", chld.roid);
rtnstr += string.Format("{0}", chld.roid);
if (rtnstr.Length == 12) rtnstr += "0000"; // last four digits are used for multiple return values
}
else
{ // spin through the child list and get the ROIDs.