Beispiel #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);
            }
        }
Beispiel #2
0
 protected virtual CommandProcessorResponse <Rule[]> GetRules(int PageNumber)
 {
     return(WrapResponse(dal.GetRules(PageNumber)));
 }