Added code to handle Table ROs.
Used generic (static) VlnFlexGrid.ROTableUpdate to determine if the table contents are updated. Added Error Handling around the code that shuts down PROMs Added function to ROFSTLookup to retrieve the Accessory Page ID. Corrected code to handle value changes for Table ROs Created generic (static) VlnFlexGrid.ROTableUpdate to determine if the table contents are updated.
This commit is contained in:
@@ -161,6 +161,22 @@ namespace VEPROMS.CSLA.Library
|
||||
if (dicRos != null)dicRos.Clear();
|
||||
dicRos = null;
|
||||
}
|
||||
private Dictionary<string, string> _dicROAPIDLookup;
|
||||
public string GetAccPageID(string roid)
|
||||
{
|
||||
if(_dicROAPIDLookup==null)
|
||||
{
|
||||
_dicROAPIDLookup = new Dictionary<string,string>();
|
||||
if (_dicROAPID == null)
|
||||
BuildROAPIDDictionary();
|
||||
foreach (string appid in _dicROAPID.Keys)
|
||||
_dicROAPIDLookup.Add(_dicROAPID[appid].roid,appid);
|
||||
}
|
||||
String roidkey = roid.Substring(0, 12).ToUpper();
|
||||
if(_dicROAPIDLookup.ContainsKey(roidkey))
|
||||
return _dicROAPIDLookup[roidkey];
|
||||
return null;
|
||||
}
|
||||
public List<string> GetValueDifferences(ROFSTLookup origROFst, ref List<string> delList)
|
||||
{
|
||||
// use this list to see what differences are between it and the original
|
||||
|
Reference in New Issue
Block a user