示例#1
0
        private void GetViolationData()
        {
            var callTask = client.GetViolationsStaticsticalWeeklyAsync(YearValue, (ServiceLayerReference.MonthOfYear)(MonthValue + 1));
            var obs      = callTask.ToObservable();

            obs.Subscribe((x) => Add_ViolationsDetails(x));
        }