private static ScriptFormula FindScriptFormula(int powerSNO, TagKeyScript scriptTag) { TagMap tagmap = PowerTagHelper.FindTagMapWithKey(powerSNO, scriptTag); if (tagmap != null) { return(tagmap[scriptTag]); } else { return(null); } }
private TagMap _FindTagMapWithKey(TagKey key) { TagMap tagmap = PowerTagHelper.FindTagMapWithKey(PowerSNO, key); if (tagmap != null) { return(tagmap); } else { //Logger.Error("could not find tag key {0} in power {1}", key.ID, PowerSNO); return(null); } }