protected override void Start() { DetailedStatus = "GetSubscriberResItems"; { PageResult <SubscriberResItem> model = null; model = Webservice.GetDataFromArmtes <PageResult <SubscriberResItem> >("api/BillingExportApi/GetSubscriberResItems"); if (model != null && model.Count > 0) { SubscriberResItems = model.Items; RaisePropertyChanged("SubscriberResItems"); } } DetailedStatus = "GetResApps"; { PageResult <ResApp> model = null; model = Webservice.GetDataFromArmtes <PageResult <ResApp> >("api/BillingExportApi/GetResApp"); if (model != null && model.Count > 0) { ResApps = model.Items; RaisePropertyChanged("ResApps"); } } DetailedStatus = "GetUnitedReports"; { PageResult <UnitedReportViewItem> model = null; model = Webservice.GetDataFromArmtes <PageResult <UnitedReportViewItem> >("api/BillingExportApi/GetUnitedReport"); if (model != null && model.Count > 0) { UnitedReports = model.Items; RaisePropertyChanged("UnitedReports"); } } }
protected override void Start() { DetailedStatus = "Подготовка отчёта по системам"; { PageResult <CollectorDeviceViewModel> model = null; model = Webservice.GetDataFromArmtes <PageResult <CollectorDeviceViewModel> >("api/CollectorsApi/Get"); if (model != null && model.Count > 0) { CollectorDevices = model.Items; RaisePropertyChanged("CollectorDevices"); } } }
protected override void Start() { DetailedStatus = "Подготовка отчёта по системам"; if (ResId != 0) { PageResult <ConfigurationContainer> model = null; model = Webservice.GetDataFromArmtes <PageResult <ConfigurationContainer> >( string.Format("api/ConfigurationApi/GetAllConfigurations?resId={0}&resName={1}", ResId, ResName)); if (model != null && model.Count > 0) { AllConfigurations = model.Items; RaisePropertyChanged("AllConfigurations"); } } }