Example #1
0
        private void ProcessDevice(dynamic deviceDescriptor)
        {
            Console.WriteLine("processing device " + deviceDescriptor.DeviceMacAddress);
            var pageCount = dal.GetRulePageCount();

            for (var page = 0; page < pageCount; page++)
            {
                ProcessPageWithRules(dal.GetRules(page), deviceDescriptor);
            }
        }
Example #2
0
 protected virtual CommandProcessorResponse <int> GetPageCount()
 {
     return(WrapResponse(dal.GetRulePageCount()));
 }