Reset Selected Slave after processing
Added and Commented-out some debug output Use GetTranslatedROValue to get the correct RO value when text is restored Fix logic to attempt to use existing DocVersionInfo rather than creating a new instance Base lookup on ROFSTID and Selected Slave
This commit is contained in:
@@ -170,12 +170,13 @@ namespace VEPROMS.CSLA.Library
|
||||
// return _ROFSTLookup;
|
||||
// }
|
||||
//}
|
||||
private Dictionary<int, ROFSTLookup> dicLookups = new Dictionary<int, ROFSTLookup>();
|
||||
private Dictionary<string, ROFSTLookup> dicLookups = new Dictionary<string, ROFSTLookup>();
|
||||
public ROFSTLookup GetROFSTLookup(DocVersionInfo dvi)
|
||||
{
|
||||
if (!dicLookups.ContainsKey(dvi.VersionID))
|
||||
dicLookups.Add(dvi.VersionID, new ROFSTLookup(this, dvi));
|
||||
return dicLookups[dvi.VersionID];
|
||||
string key = string.Format("{0}.{1}",dvi.DocVersionAssociations[0].ROFstID,dvi.DocVersionConfig.SelectedSlave);
|
||||
if (!dicLookups.ContainsKey(key))
|
||||
dicLookups.Add(key, new ROFSTLookup(this, dvi));
|
||||
return dicLookups[key];
|
||||
}
|
||||
#endregion
|
||||
#region AppSupport
|
||||
|
Reference in New Issue
Block a user