示例#1
0
 public ParkCarport(MainWindowViewModel mainWindowViewModel, ICarPortAppService carPortAppService)
 {
     InitializeComponent();
     _mainWindowViewModel  = mainWindowViewModel;
     _carPortAppService    = carPortAppService;
     _parkCarportViewModel = new ParkCarportViewModel();
     this.DataContext      = _parkCarportViewModel;
 }
示例#2
0
 public AddCarports(MainWindowViewModel mainWindowViewModel, ICarPortAppService carPortAppService)
 {
     InitializeComponent();
     _mainWindowViewModel = mainWindowViewModel;
     _addPortsViewModel   = new AddPortsViewModel();
     this.DataContext     = _addPortsViewModel;
     _carPortAppService   = carPortAppService;
 }
示例#3
0
 public BatchRecord(ICarPortAppService carPortAppService, MainWindowViewModel mainWindowViewModel, UserManagerViewModel userManagerViewModel, CarPortListDto carPortListDto)
 {
     InitializeComponent();
     _carPortListDto       = carPortListDto;
     _carPortAppService    = carPortAppService;
     _mainWindowViewModel  = mainWindowViewModel;
     _userManagerViewModel = userManagerViewModel;
 }
示例#4
0
 public CarportInfo(ICarPortAppService carPortAppService, MainWindowViewModel mainWindowViewModel, UserManagerViewModel userManagerViewModel, CarPortListDto carPortListDto)
 {
     InitializeComponent();
     _carPortListDto                 = carPortListDto;
     _carPortAppService              = carPortAppService;
     _mainWindowViewModel            = mainWindowViewModel;
     _userManagerViewModel           = userManagerViewModel;
     _carPortTimeExTenstionViewModel = new CarPortTimeExTenstionViewModel();
 }
示例#5
0
 /// <summary>
 /// 构造函数
 ///</summary>
 public CarUsersAppService(
     IRepository <CarUsers, long>
     carusersRepository
     , ICarUsersManager carusersManager,
     ICarPortAppService carPortAppService
     )
 {
     _carusersRepository = carusersRepository;
     _carusersManager    = carusersManager;
     _carPortAppService  = carPortAppService;
 }
 public CarPortTimeExtension(ICarPortAppService carPortAppService, MainWindowViewModel mainWindowViewModel, UserManagerViewModel userManagerViewModel, CarPortListDto carPortListDto)
 {
     InitializeComponent();
     _carPortAppService              = carPortAppService;
     _mainWindowViewModel            = mainWindowViewModel;
     _userManagerViewModel           = userManagerViewModel;
     _carPortTimeExTenstionViewModel = new CarPortTimeExTenstionViewModel();
     _carPortTimeExTenstionViewModel.CarPortListDto = carPortListDto;
     DataContext = _carPortTimeExTenstionViewModel;
     _rechargeRecordAppService = IocManager.Resolve <IRechargeRecordAppService>();
 }
示例#7
0
 public UserManager(MainWindowViewModel mainWindowViewModel,
                    ICarUsersAppService carUsersAppService,
                    IParkAreasAppService parkAreasAppService,
                    ICarUserGroupAppService carUserGroupAppService,
                    ICarNumbersAppService carNumbersAppService,
                    ICarPortAppService carPortAppService
                    )
 {
     InitializeComponent();
     _mainWindowViewModel    = mainWindowViewModel;
     _carUsersAppService     = carUsersAppService;
     _parkAreasAppService    = parkAreasAppService;
     _carUserGroupAppService = carUserGroupAppService;
     _carNumbersAppService   = carNumbersAppService;
     _carPortAppService      = carPortAppService;
     _managerViewModel       = new UserManagerViewModel();
     DataContext             = _managerViewModel;
 }
示例#8
0
 public AddCarport(MainWindowViewModel mainWindowViewModel, ICarPortAppService carPortAppService, CarUsersListDto carUsersListDto) : this(mainWindowViewModel, carPortAppService)
 {
     this._carUsersListDto = carUsersListDto;
 }