Corrected logic for processing multiple return values for conditional ROs.
Replaced xFF hex value with xA0 hex value in ProcessROReturnValue method.
This commit is contained in:
parent
2618a37dba
commit
6dfd259d42
@ -693,10 +693,10 @@ namespace VEPROMS.CSLA.Library
|
|||||||
for (int i = 0; i < lstROVals.Count; i++)
|
for (int i = 0; i < lstROVals.Count; i++)
|
||||||
{
|
{
|
||||||
string tsts = Convert.ToInt32(multiRoValues[i][0]).ToString("X4");
|
string tsts = Convert.ToInt32(multiRoValues[i][0]).ToString("X4");
|
||||||
myGrp.children[i].value = lstROVals[i];
|
myGrp.children[i].value = lstROVals[i].Replace("\xFF", "\xa0");
|
||||||
myGrp.children[i].roid = TableID.ToString("X4") + myGrp.ID.ToString("X8") + tsts;
|
myGrp.children[i].roid = TableID.ToString("X4") + myGrp.ID.ToString("X8") + tsts;
|
||||||
myGrp.children[i].type = -1; // Multiple return value inherit type from parent
|
myGrp.children[i].type = -1; // Multiple return value inherit type from parent
|
||||||
myGrp.children[i].title = lstROVals[i];
|
myGrp.children[i].title = lstROVals[i].Replace("\xFF", "\xa0");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -923,6 +923,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
if (!DictROVar.ContainsKey(str.Substring(0, nxt))) // need a try/catch here.
|
if (!DictROVar.ContainsKey(str.Substring(0, nxt))) // need a try/catch here.
|
||||||
{
|
{
|
||||||
DictROVar.Add(str.Substring(0, nxt), tmpval);
|
DictROVar.Add(str.Substring(0, nxt), tmpval);
|
||||||
|
if(nxt == 1)
|
||||||
multiRoValues.Add(str.Substring(0, nxt));
|
multiRoValues.Add(str.Substring(0, nxt));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user