コード例 #1
0
 public VehicleDetailsController_002()
 {
     OperstatModel           = new FilterModel2(new OperstatRepository());
     MoveTypeModel           = new FilterModel2(new MoveTypeRepository());
     ThreeCascadeModel       = new ThreeCascadeFilterModel(new FleetEuropeActualDueCountriesRepository(), new PoolRepository(), new LocationRepository());
     OwnCountryModel         = new FilterModel2(new FleetActualEuropeOwnCountriesRepository());
     CarSegmentModel         = new FilterModel2(new CarSegmentRepository());
     CarClassModel           = new FilterModel2(new CarClassRepository());
     CarGroupModel           = new FilterModel2(new CarGroupRepository());
     VehiclePredicamentModel = new FilterModel2(new VehiclePredicamentRepository());
     NonRevDaysModel         = new NonRevFilterModel(new NonrevRepository());
     GridViewModel           = new GridviewModel(new VehicleDetailsRepository());
     _filter    = new FilterEntity();
     _carFilter = new CarFilterEntity();
     VehicleDetailsUserControlModel = new VehicleDetailsUserControlModel(new VehicleDetailsRepository());
     PagerMaxModel           = new PagerMaxRowsModel(new GridViewMaxRowsRepository());
     UnitTextBoxModel        = new TextFilterModel();
     LicenseTextBoxModel     = new TextFilterModel();
     ModelTextBoxModel       = new TextFilterModel();
     ModelDescTextBoxModel   = new TextFilterModel();
     VinTextBoxModel         = new TextFilterModel();
     CustNameTextBoxModel    = new TextFilterModel();
     ColourTextBoxModel      = new TextFilterModel();
     MileageTextBoxModel     = new TextFilterModel();
     FilterGridButtonModel   = new ButtonModel();
     ClearFiltersButtonModel = new ButtonModel();
 }
コード例 #2
0
 public FleetOverviewController()
 {
     ThreeCascadeModel       = new ThreeCascadeFilterModel(new FleetEuropeActualDueCountriesRepository(), new PoolRepository(), new LocationRepository());
     OwnCountryModel         = new FilterModel2(new FleetActualEuropeOwnCountriesRepository());
     CarSegmentModel         = new FilterModel2(new CarSegmentRepository());
     CarClassModel           = new FilterModel2(new CarClassRepository());
     CarGroupModel           = new FilterModel2(new CarGroupRepository());
     VehiclePredicamentModel = new FilterModel2(new VehiclePredicamentRepository());
     DataTableModel          = new DataTableModel(new FleetOverviewRepository());
     _filter = new FilterEntity();
 }