public TraditionViewCardViewModel(INavigationService navigationService, ICensusService censusService, IDialogService dialogService) : base(navigationService, dialogService) { _navigationService = navigationService; _dialogService = dialogService; _censusService = censusService; _productList = new ObservableRangeCollection <SalesProduct>(); }
public TimeLinePageViewModel(INavigationService navigationService, ICensusService censusService, ICacheManager cacheManager, IDialogService dialogService) : base(navigationService, dialogService) { _navigationService = navigationService; _dialogService = dialogService; _censusService = censusService; _cacheManager = cacheManager; Title = "当前普查进度"; IsBusy = false; }
public MyTaskViewModel(INavigationService navigationService, ICensusService cnsusService, ICacheManager cacheManager, ISettingService settingService, IDialogService dialogService) : base(navigationService, dialogService) { _navigationService = navigationService; _dialogService = dialogService; _cnsusService = cnsusService; _cacheManager = cacheManager; _settingService = settingService; Title = "添加终端普查"; }
public SearchPageViewModel(INavigationService navigationService, ICensusService cnsusService, ICacheManager cacheManager, ISettingService settingService, IDialogService dialogService) : base(navigationService, dialogService) { _navigationService = navigationService; _dialogService = dialogService; _cnsusService = cnsusService; _cacheManager = cacheManager; _settingService = settingService; Title = "搜索商品"; }
public Restaurant_Card_Page1ViewModel(INavigationService navigationService, ICensusService censusService, IImageEditor imageEditor, IMediaPickerService mediaPickerService, IDialogService dialogService) : base(navigationService, dialogService) { _navigationService = navigationService; _dialogService = dialogService; _censusService = censusService; _mediaPickerService = mediaPickerService; _imageEditor = imageEditor; //普查步骤 var steps = new Dictionary <int, string> { { 0, "基础信息" }, { 1, "经营信息" }, { 2, "销售信息" } }; Steps = steps; Step = 1; Title = "添加餐饮终端普查-基本信息"; // GlobalSettings.EventDate = DateTime.Now; EndPointNumber_Tip = "请定义终端编号"; SaleRegion_Tip = "请输入所在大区"; SalesDepartment_Tip = "请输入业务部"; City_Tip = "请确定你所在城市"; DistrictOrCounty_Tip = "请输入你所在区/县"; CityOrTown_Tip = "请输入城区/乡镇"; EndPointStorsName_Tip = "请输入终端店名"; EndPointTelphone_Tip = "固话,填\"区号+号码\"(不加\"-\"),如0293248123"; EndPointAddress_Tip = "终端地址(详细街道/门牌号)"; Restaurant = new Restaurant() { UserId = Settings.UserId.ToString(), Latitude = GlobalSettings.CurrtntCoordinate != null ? GlobalSettings.CurrtntCoordinate.Latitude : 0, Longitude = GlobalSettings.CurrtntCoordinate != null ? GlobalSettings.CurrtntCoordinate.Longitude : 0, Location = GlobalSettings.CurrentAddComp != null ? GlobalSettings.CurrentAddComp.City : "" }; BaseInfo = new RestaurantBaseInfo() { EndPointNumber = string.Format("{0}_{1}", "CY", CommonHelper.GetTimeStamp(DateTime.Now, 13)), SaleRegion = Settings.SaleRegion, SalesDepartment = Settings.SalesDepartment }; }
//public ICommand ShowRecommendedRideCommand => new Command<Suggestion>(RecommendedRideAsync); public HomePageViewModel(IWeatherService weatherService, IEventsService eventsService, IRidesService ridesService, ICensusService censusService, INavigationService navigationService, ICacheManager cacheManager, IDialogService dialogService) : base(navigationService, dialogService) { _navigationService = navigationService; _dialogService = dialogService; _weatherService = weatherService; _eventsService = eventsService; _ridesService = ridesService; _censusService = censusService; _cacheManager = cacheManager; Title = "普查终端"; }
public NetworksViewModel(INavigationService navigationService, IRidesService ridesService, ICensusService censusService, ICacheManager cacheManager, IDialogService dialogService) : base(navigationService, dialogService) { _navigationService = navigationService; _dialogService = dialogService; _censusService = censusService; _ridesService = ridesService; _cacheManager = cacheManager; _myRides = new ObservableRangeCollection <Ride>(); Title = "我的网点列表"; IsBackOption = true; }
public Restaurant_Card_Page3ViewModel(INavigationService navigationService, ISaveAndLoad saveAndLoadService, ICensusService censusService, ICacheManager cacheManager, IDialogService dialogService) : base(navigationService, dialogService) { _navigationService = navigationService; _dialogService = dialogService; _saveAndLoadService = saveAndLoadService; _censusService = censusService; _cacheManager = cacheManager; //普查步骤 var steps = new Dictionary <int, string> { { 0, "基础信息" }, { 1, "经营信息" }, { 2, "销售信息" } }; Steps = steps; Step = 3; Title = "添加餐饮终端普查-销售信息"; }
public Tradition_Card_Page3ViewModel(INavigationService navigationService, ISaveAndLoad saveAndLoadService, ICensusService censusService, ICacheManager cacheManager, IDialogService dialogService) : base(navigationService, dialogService) { _navigationService = navigationService; _dialogService = dialogService; _saveAndLoadService = saveAndLoadService; _censusService = censusService; _cacheManager = cacheManager; //普查步骤 var steps = new Dictionary <int, string> { { 0, "基础信息" }, { 1, "经营信息" }, { 2, "销售信息" } }; Steps = steps; Step = 3; Title = "添加传统终端普查-销售信息"; Products = new ObservableCollection <SalesProduct>(); }
public CensusController(ICensusService censusService) { this.censusService = censusService; }