Exemple #1
0
 public string GetAnalyzerModuleName(IEmgSignalAnalyzer analyzer)
 {
     foreach (string moduleName in _emgAnalyzers.Keys)
     {
         if (_emgAnalyzers[moduleName].GetType().Equals(analyzer.GetType()))
         {
             return(moduleName.ToLower());
         }
     }
     throw new ApplicationException("Module is not in the loaded modules. Something went seriously wrong, please, contact the support department!");
 }
Exemple #2
0
 public static string GetAnalyzerModuleName(IEmgSignalAnalyzer analyzer)
 {
     return(Instance.GetAnalyzerModuleName(analyzer));
 }
Exemple #3
0
 public string GetAnalyzerModuleName(IEmgSignalAnalyzer analyzer)
 {
     _emgAnalysisModules.UpdateModules(ANALYZERS_PATH);
     return(_emgAnalysisModules.GetModuleName(analyzer));
 }