Пример #1
0
 public override void Init(SubsystemConfig config)
 {
     _config = (RecognitionManagerConfig)config;
     _electionManager = Application.GetSubsystemOrThrow<IElectionManager>();
     _votingResultManager = Application.GetSubsystemOrThrow<IVotingResultManager>();
     _scannerManager = Application.GetSubsystemOrThrow<IScannerManager>();
     _fileSystemManager = Application.GetSubsystemOrThrow<IFileSystemManager>();
     CreateOcr();
     GenerateFilePaths();
     _recognitionResultLogger = new RecognitionResultLogger(LogFileFolder);
     RecognitionMode = RecognitionMode.BulletinRecognition;
 }
Пример #2
0
 public override void ApplyNewConfig(SubsystemConfig newConfig)
 {
     _config = (RecognitionManagerConfig)newConfig;
     InitRecognition();
 }