This commit is contained in:
@@ -175,6 +175,20 @@ namespace VEPROMS.CSLA.Library
|
||||
if (ROID.StartsWith("FFFF")) return string.Format("Invalid Unit RO '{0}'", ROID);
|
||||
return string.Format("Invalid RO '{0}'",ROID);
|
||||
}
|
||||
public rochild GetRoChild12(string ROID16)
|
||||
{
|
||||
string ROID = ROID16.Substring(0, 12);
|
||||
if (dicRos == null) ParseIntoDictionary(_ROFst != null ? _ROFst.ROLookup : _ROFstInfo.ROLookup);
|
||||
// Use the ROID to get the value from the dictionary
|
||||
if (dicRos.ContainsKey(ROID))
|
||||
{
|
||||
rochild rochld = (rochild)dicRos[ROID];
|
||||
return rochld;
|
||||
}
|
||||
rochild tmp = new rochild();
|
||||
tmp.ID = -1;
|
||||
return tmp;
|
||||
}
|
||||
public rochild GetRoChild(string ROID)
|
||||
{
|
||||
if (dicRos == null) ParseIntoDictionary(_ROFst != null ? _ROFst.ROLookup : _ROFstInfo.ROLookup);
|
||||
|
Reference in New Issue
Block a user