diff --git a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs index f3b1313a..2ae6ba5f 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs @@ -108,6 +108,16 @@ namespace VEPROMS.CSLA.Library } } } + //C2021-065 used by Barakah Alarms so that we get ROLookUp for the Other applicability + private string _OtherChild; + public string OtherChild + { + get + { return _OtherChild;} + set + { _OtherChild = value;} + } + public ROFSTLookup(ROFst rofst, DocVersionInfo dvi) { _ROFst = rofst; @@ -312,6 +322,12 @@ namespace VEPROMS.CSLA.Library string childName = MyDocVersionInfo.DocVersionConfig.Unit_Name; string aplString = roval; string ChldValue = ""; + // C2021-065 see if we need to get the RO information for the "Other" Child applicability value + if (OtherChild != null && OtherChild != "") + { + selChldIdx = Convert.ToInt32(OtherChild); // the OTHER unit number + childName = MyDocVersionInfo.DocVersionConfig.Other_Unit_Name; + } // if the RO Value contains Parent/Child values, parse out default value and the child (slave or unit specific) value while (roval != null && roval.Contains("