public WarehousesService(ICommonDataService dataService, IUserProvider userProvider, ITriggersService triggersService, IValidationService validationService,
                          IHistoryService historyService, IFieldDispatcherService fieldDispatcherService,
                          IFieldSetterFactory fieldSetterFactory, IChangeTrackerFactory changeTrackerFactory, IAppConfigurationService configurationService)
     : base(dataService, userProvider, triggersService, validationService, fieldDispatcherService, fieldSetterFactory, configurationService)
 {
     _mapper               = ConfigureMapper().CreateMapper();
     _historyService       = historyService;
     _changeTrackerFactory = changeTrackerFactory;
 }
 public RemoveFromShipping(ICommonDataService dataService,
                           IHistoryService historyService,
                           IShippingCalculationService shippingCalculationService,
                           IChangeTrackerFactory changeTrackerFactory)
 {
     _dataService                = dataService;
     _historyService             = historyService;
     _shippingCalculationService = shippingCalculationService;
     _changeTrackerFactory       = changeTrackerFactory;
     Color       = AppColor.Blue;
     Description = "Убрать накладную из перевозки. Если в перевозке накладных больше нет, то перевозка будет помечена как \"Отменена\"";
 }
 public UnionOrdersInExisted(ICommonDataService dataService,
                             IHistoryService historyService,
                             IShippingCalculationService shippingCalculationService,
                             IChangeTrackerFactory changeTrackerFactory,
                             IDeliveryCostCalcService calcService)
     : base(dataService, shippingCalculationService)
 {
     _historyService       = historyService;
     _changeTrackerFactory = changeTrackerFactory;
     _calcService          = calcService;
     Color       = AppColor.Orange;
     Description = "Добавить накладную в существующую перевозку";
 }
 public CreateShipping(ICommonDataService dataService,
                       IHistoryService historyService,
                       IShippingTarifficationTypeDeterminer shippingTarifficationTypeDeterminer,
                       IShippingCalculationService shippingCalculationService,
                       IChangeTrackerFactory changeTrackerFactory)
 {
     _dataService    = dataService;
     _historyService = historyService;
     _shippingTarifficationTypeDeterminer = shippingTarifficationTypeDeterminer;
     _shippingCalculationService          = shippingCalculationService;
     _changeTrackerFactory = changeTrackerFactory;
     Color       = AppColor.Blue;
     Description = "Создать одну перевозку для одной накладной";
 }
 public UnionOrders(ICommonDataService dataService,
                    IHistoryService historyService,
                    IShippingTarifficationTypeDeterminer shippingTarifficationTypeDeterminer,
                    IShippingCalculationService shippingCalculationService,
                    IChangeTrackerFactory changeTrackerFactory
                    )
     : base(dataService, shippingCalculationService)
 {
     _historyService = historyService;
     _shippingTarifficationTypeDeterminer = shippingTarifficationTypeDeterminer;
     _changeTrackerFactory = changeTrackerFactory;
     Color       = AppColor.Orange;
     Description = "Объеденить накладные в одну перевозку";
 }
示例#6
0
 public UnionOrders(ICommonDataService dataService,
                    IHistoryService historyService,
                    IShippingCalculationService shippingCalculationService,
                    IChangeTrackerFactory changeTrackerFactory,
                    IShippingGetRouteService shippingGetRouteService
                    )
     : base(dataService, shippingCalculationService, shippingGetRouteService)
 {
     _historyService          = historyService;
     _changeTrackerFactory    = changeTrackerFactory;
     _shippingGetRouteService = shippingGetRouteService;
     Color       = AppColor.Orange;
     Description = "Объеденить накладные в одну перевозку";
 }