public static IVarTable ToIVarTable(this ICoreObject ico)
        {
            IBusinessLogicConnector iblc = ico as IBusinessLogicConnector;
            IBusinessLogicObject    iblo = iblc.GetBusinessLogic("PlcLanguages.VatService");
            IVarTable ivt = iblo as IVarTable;

            return(ivt);
        }
Example #2
0
        protected override IEnumerable <string> getListOfVarKeys(IVarTable table)
        {
            var filteredTypes = (attribute as FilterVarTableTypeAttribute).FilterTypes;

            return(table.Variables.Where((ivar) => filteredTypes.Contains(ivar.Data.GetType())).Select((ivar) => ivar.Key));
        }
 protected virtual IEnumerable <string> getListOfVarKeys(IVarTable table)
 {
     return(table.Variables.Select((ivar) => ivar.Key));
 }
 internal static VarTable ToVarTable(this IVarTable ivt)
 {
     return(ivt as VarTable);
 }