Beispiel #1
0
        public VoyageVM(IFuelController mainController, IFuelReportServiceWrapper serviceWrapper, IVoyageServiceWrapper voyageServiceWrapper)
            : this()
        {
            this.mainController = mainController;
            this.serviceWrapper = serviceWrapper;
            this.voyageServiceWrapper = voyageServiceWrapper;

            this.DisplayName = "سفر";
        }
        public FuelReportDetailVM(IFuelController appController, IFuelReportServiceWrapper fuelReportServiceWrapper, IGoodServiceWrapper goodServiceWrapper)
        {
            this.mainController = appController;
            this.serviceWrapper = fuelReportServiceWrapper;
            this._goodServiceWrapper = goodServiceWrapper;

            //var gg = Enum.GetValues(typeof(CorrectionTypeEnum)) as CorrectionTypeEnum[];

            this.FuelReportTransferReferenceNoDtos = new ObservableCollection<FuelReportTransferReferenceNoDto>();

            UnitDtos = new ObservableCollection<GoodUnitDto>();
            setEntity(new FuelReportDetailDto());
            DisplayName = "جزئیات گزارش ";
        }
Beispiel #3
0
 public void SetServiceWrapper(IFuelReportServiceWrapper fuelReportServiceWrapper)
 {
     this.serviceWrapper = fuelReportServiceWrapper;
 }