Beispiel #1
0
 public XMLRepository(
     IEntityQuery entityQuery,
     IVETSEntityManagerView entityManagerView,
     IEntityCreate entityCreate,
     ITestExecution testExecution,
     ITestStatus testStatus,
     ITestEvents testEvents,
     ISystemLogManager logger,
     IReportService resportService,
     IApplication application,
     IVETSEntityManagerViewModelView entityManagerViewModelView,
     VTS vts
     )
 {
     _entityQuery       = entityQuery;
     _entityManagerView = entityManagerView;
     _entityCreate      = entityCreate;
     _testExecution     = testExecution;
     _testStatus        = testStatus;
     _testEvents        = testEvents;
     _logger            = logger;
     _resportService    = resportService;
     _vts         = vts;
     _application = application;
     _entityManagerViewModelView = entityManagerViewModelView;
 }
        public UpdateSystemStateTestStart
        (
            IStarsApplication starsApplication,
            ILocalResourceSupport localResourceSupport,
            ITestStatus testStatus,
            IEntityQuery entityQuery,
            IVETSEntityManagerView entityManagerView,
            IDialogService dialogService,
            ISystemLogManager systemLogManager

        )
        {
            _starsApplication     = starsApplication;
            _localResourceSupport = localResourceSupport;
            _testStatus           = testStatus;
            _entityQuery          = entityQuery;
            _entityManagerView    = entityManagerView;
            _dialogService        = dialogService;
            _systemLogManager     = systemLogManager;
        }
Beispiel #3
0
        public HomeViewModel(IDialogService dialogService, IImageManager imageManager, IShellViewModel shellViewModel, IEntityQuery entityQuery, IVETSEntityManagerView entityManager, ISystemLogManager logger, ShiftTableCalculator shiftTableCalculator)
        {
            _shellViewModel                = shellViewModel;
            _entityQuery                   = entityQuery;
            _entityManager                 = entityManager;
            SystemLogService.Logger        = logger;
            SystemLogService.DialogService = dialogService;

            CalculateShiftTableCommand = new CalculateShiftTableCommand(this, imageManager, shiftTableCalculator);

            var imagePathPattern = "/STARS.Applications.VETS.Plugins.ShiftTableCalculator;component/Images/{0}.png";

            DisplayInfo = new ExplorerDisplayInfo
            {
                Description     = Resources.DisplayName,
                Image16         = string.Format(imagePathPattern, "color_image_16"),
                ExplorerImage16 = string.Format(imagePathPattern, "white_image_16"),
            };
            DisplayName = Resources.DisplayName;
        }
 public BoundVehicle(HomeViewModel homeView, IVETSEntityManagerView entityManager, string engineCapacity, string ratedPower, string kerbMass, string maxSpeed,
                     string ratedEngineSpeed, string idlingSpeed, string numberOfGears, string gear1, string gear2, string gear3, string gear4, string gear5, string gear6)
 {
     _homeView             = homeView;
     _entityManager        = entityManager;
     this.engineCapacity   = engineCapacity;
     this.ratedPower       = ratedPower;
     this.kerbMass         = kerbMass;
     this.maxSpeed         = maxSpeed;
     this.ratedEngineSpeed = ratedEngineSpeed;
     this.idlingSpeed      = idlingSpeed;
     this.numberOfGears    = numberOfGears;
     this.gear1            = gear1;
     this.gear2            = gear2;
     this.gear3            = gear3;
     this.gear4            = gear4;
     this.gear5            = gear5;
     this.gear6            = gear6;
     Gears = new List <string>(new string[] { gear1, gear2, gear3, gear4, gear5, gear6 });
     SetClass();
 }
Beispiel #5
0
 public MEF
 (
     ISystemLogManager logger,
     IApplication application,
     IEntityQuery entityQuery,
     IEntityCreate entityCreate,
     ILiveResource liveResources,
     IProvideValues provideValues,
     IDialogService dialogService,
     IStarsApplication starsApplication,
     IVETSEntityManagerView entityManagerView
 )
 {
     Logger            = logger;
     Application       = application;
     EntityQuery       = entityQuery;
     EntityCreate      = entityCreate;
     LiveResources     = liveResources;
     ProvideValues     = provideValues;
     DialogService     = dialogService;
     StarsApplication  = starsApplication;
     EntityManagerView = entityManagerView;
 }
 public BoundVehicle(HomeViewModel homeView, IVETSEntityManagerView entityManager)
 {
     _homeView      = homeView;
     _entityManager = entityManager;
     Gears          = new List <string>(new string[6]);
 }