예제 #1
0
        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    = "Выбрать файл с данными для обработки"
            };
        }
예제 #3
0
        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    = "Кадастровый номер"
            };
        }
예제 #5
0
        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;
        }
예제 #7
0
        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;
        }
예제 #8
0
        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;
        }