Beispiel #1
0
 public MeasureService(CamService camService)
 {
     this.camService = camService;
     logger          = MainWindow.ServiceContainer.Resolve <Logger>();
     drawService     = MainWindow.ServiceContainer.Resolve <DrawService>();
     throwService    = MainWindow.ServiceContainer.Resolve <ThrowService>();
     configService   = MainWindow.ServiceContainer.Resolve <ConfigService>();
     minContourArc   = configService.Read <int>(SettingsType.MinContourArc);
     camFovAngle     = configService.Read <double>(SettingsType.CamFovAngle);
 }
 public DetectionService(DrawService drawService,
                         ConfigService configService,
                         ThrowService throwService,
                         Logger logger,
                         CamsDetectionBoard camsDetectionBoard)
 {
     this.drawService        = drawService;
     this.configService      = configService;
     this.throwService       = throwService;
     this.logger             = logger;
     this.camsDetectionBoard = camsDetectionBoard;
 }
 public DetectionService(MainWindow mainWindow,
                         DrawService drawService,
                         ConfigService configService,
                         ThrowService throwService,
                         Logger logger)
 {
     this.mainWindow    = mainWindow;
     this.drawService   = drawService;
     this.configService = configService;
     this.throwService  = throwService;
     this.logger        = logger;
 }