public MainViewModelVK(IServiceVK service) { _service = service; FoundHeader = new Common.Data.FoundHeader() { CommandFound = new RelayCommand(() => OpenFile()), FoundFast = false, Header = "Обработка списков", Watermark = "Выбрать файл с данными для обработки" }; }
public FoundListRosreestrViewModel(IFoundRosreestrService foundService, ISettingsService settings) { _foundService = foundService; FoundHeader = new Common.Data.FoundHeader() { CommandFound = new RelayCommand(() => OpenFile()), FoundFast = false, Header = "Обработка списков", Watermark = "Выбрать файл с данными для обработки" }; }
public FoundListIfnsViewModel(IFoundIfnsService foundService) { _foundService = foundService; FoundHeader = new Common.Data.FoundHeader() { CommandFound = new RelayCommand(() => OpenFile()), FoundFast = false, Header = "Обработка списков", Watermark = "Выбрать файл с данными для обработки", }; CollectionIfns = _foundService.CollectionIfns; }
public FoundNumberRosreestrViewModel(IFoundRosreestrService foundService, ISettingsService settings) { TypeGrid = settings?.GetSettings().TypeGrid; _foundService = foundService; FoundHeader = new Common.Data.FoundHeader() { CommandFound = new RelayCommand(() => Found(), () => !string.IsNullOrEmpty(FoundHeader.FoundText)), FoundFast = false, Header = "Поиск объектов недвижимости", Watermark = "Кадастровый номер" }; }
public FoundCompanySparkViewModel(IFoundCompanySparkService foundSpark, ISettingsService settings) { Header = "Поиск в базе данных СПАРК"; FoundHeader = new Common.Data.FoundHeader() { CommandFound = new RelayCommand(() => Found(), () => !string.IsNullOrEmpty(FoundHeader.FoundText)), FoundFast = true, Header = "Поиск компаний", Watermark = "СПАРК ID, ИНН, ОГРН, ФИО" }; TypeGrid = settings?.GetSettings().TypeGrid; _foundService = foundSpark; }
public FoundCompanyEgrulViewModel(IFoundCompanyEgrulService foundEgrul, ISettingsService settings) { Header = "Предоставление сведений из ЕГРЮЛ/ЕГРИП"; FoundHeader = new Common.Data.FoundHeader() { CommandFound = new RelayCommand(() => Found(), () => !string.IsNullOrEmpty(FoundHeader.FoundText)), FoundFast = false, Header = "Поисковый запрос", Watermark = "Укажите ИНН или ОГРН (ОГРНИП) или наименование ЮЛ, ФИО ИП" }; TypeGrid = settings?.GetSettings().TypeGrid; _foundService = foundEgrul; }
public FoundListFsspViewModel(IFoundFsspService foundervice, ISettingsService settings) { TypeGrid = settings?.GetSettings().TypeGrid; _serviceFound = foundervice; FoundHeader = new Common.Data.FoundHeader() { CommandFound = new RelayCommand(() => OpenFile()), FoundFast = false, Header = "Обработка списков", Watermark = "Выбрать файл с данными для обработки" }; CollectionRequest = _serviceFound?.CollectionRequest; }
public FoundNumberFsspViewModel(IFoundFsspService foundService, ISettingsService settings) { TypeGrid = settings?.GetSettings().TypeGrid; _serviceFound = foundService; FoundHeader = new Common.Data.FoundHeader() { CommandFound = new RelayCommand(() => Found(), () => !string.IsNullOrEmpty(FoundHeader.FoundText)), FoundFast = false, Header = "Поиск номера исполнительного производства", Watermark = "Номер исполнительного производства в формате n…n/yy/dd/rr или n…n/yy/ddddd-ИП" }; CollectionRequest = _serviceFound?.CollectionRequest; }