public UnionOrdersBase(ICommonDataService dataService, IShippingCalculationService shippingCalculationService, IShippingGetRouteService shippingGetRouteService)
     : base(dataService)
 {
     _dataService = dataService;
     _shippingCalculationService = shippingCalculationService;
     _shippingGetRouteService    = shippingGetRouteService;
 }
Exemple #2
0
 public UnionOrdersInExisted(ICommonDataService dataService,
                             IHistoryService historyService,
                             IShippingCalculationService shippingCalculationService,
                             IShippingGetRouteService shippingGetRouteService,
                             IChangeTrackerFactory changeTrackerFactory,
                             IDeliveryCostCalcService calcService)
     : base(dataService, shippingCalculationService, shippingGetRouteService)
 {
     _historyService       = historyService;
     _changeTrackerFactory = changeTrackerFactory;
     _calcService          = calcService;
     Color       = AppColor.Orange;
     Description = "Добавить накладную в существующую перевозку";
 }
Exemple #3
0
 public CreateShipping(ICommonDataService dataService,
                       IHistoryService historyService,
                       IShippingCalculationService shippingCalculationService,
                       IShippingGetRouteService shippingGetRouteService,
                       IChangeTrackerFactory changeTrackerFactory)
 {
     _dataService                = dataService;
     _historyService             = historyService;
     _shippingCalculationService = shippingCalculationService;
     _shippingGetRouteService    = shippingGetRouteService;
     _changeTrackerFactory       = changeTrackerFactory;
     Color       = AppColor.Blue;
     Description = "Создать одну перевозку для одной накладной";
 }
Exemple #4
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 = "Объеденить накладные в одну перевозку";
 }
 public RemoveFromShipping(ICommonDataService dataService,
                           IHistoryService historyService,
                           IShippingCalculationService shippingCalculationService,
                           IChangeTrackerFactory changeTrackerFactory,
                           IShippingGetRouteService shippingGetRouteService
                           )
 {
     _dataService                = dataService;
     _historyService             = historyService;
     _shippingCalculationService = shippingCalculationService;
     _changeTrackerFactory       = changeTrackerFactory;
     _shippingGetRouteService    = shippingGetRouteService;
     Color       = AppColor.Blue;
     Description =
         "Убрать накладную из перевозки. Если в перевозке накладных больше нет, то перевозка будет помечена как \"Отменена\"";
 }
Exemple #6
0
 public UpdateShippingRoute(ICommonDataService dataService, IShippingGetRouteService getRouteService)
 {
     _dataService     = dataService;
     _getRouteService = getRouteService;
 }