55using OSPSuite . Assets ;
66using OSPSuite . Core ;
77using OSPSuite . Core . Domain ;
8+ using static InstallationValidator . Core . Constants . Tools ;
9+ using static OSPSuite . Core . Domain . Constants . RegistryPaths ;
810
911namespace InstallationValidator . Core
1012{
@@ -38,17 +40,17 @@ public InstallationValidatorConfiguration() : base(Assembly.GetExecutingAssembly
3840 public override string WatermarkOptionLocation { get ; } = "Options -> Settings -> Application" ;
3941 public override string ApplicationFolderPathName { get ; } = Constants . APPLICATION_FOLDER_PATH ;
4042
41- public string PKSimBinaryExecutablePath => getRegistryValueForRegistryPathAndKey ( OSPSuite . Core . Domain . Constants . RegistryPaths . PKSIM_REG_PATH , OSPSuite . Core . Domain . Constants . RegistryPaths . INSTALL_PATH ) ;
43+ public string PKSimBinaryExecutablePath => getRegistryValueForRegistryPathAndKey ( PKSIM_REG_PATH , INSTALL_PATH ) ;
4244
43- public string MoBiBinaryExecutablePath => getRegistryValueForRegistryPathAndKey ( OSPSuite . Core . Domain . Constants . RegistryPaths . MOBI_REG_PATH , OSPSuite . Core . Domain . Constants . RegistryPaths . INSTALL_PATH ) ;
45+ public string MoBiBinaryExecutablePath => getRegistryValueForRegistryPathAndKey ( MOBI_REG_PATH , INSTALL_PATH ) ;
4446
45- public string PKSimInstallFolderPath => getRegistryValueForRegistryPathAndKey ( OSPSuite . Core . Domain . Constants . RegistryPaths . PKSIM_REG_PATH , OSPSuite . Core . Domain . Constants . RegistryPaths . INSTALL_DIR ) ;
47+ public string PKSimInstallFolderPath => getRegistryValueForRegistryPathAndKey ( PKSIM_REG_PATH , INSTALL_DIR ) ;
4648
47- public string BatchInputsFolderPath => AllUsersFile ( Constants . Tools . BATCH_INPUTS ) ;
49+ public string BatchInputsFolderPath => AllUsersFile ( BATCH_INPUTS ) ;
4850
49- public string BatchOutputsFolderPath => AllUsersFile ( Constants . Tools . BATCH_OUTPUTS ) ;
51+ public string BatchOutputsFolderPath => AllUsersFile ( BATCH_OUTPUTS ) ;
5052
51- public string PKSimCLIPath => Path . Combine ( PKSimInstallFolderPath , Constants . Tools . PKSIM_CLI ) ;
53+ public string PKSimCLIPath => Path . Combine ( PKSimInstallFolderPath , PKSIM_CLI ) ;
5254
5355 private string getRegistryValueForRegistryPathAndKey ( string openSystemsPharmacology , string installDir )
5456 {
@@ -62,6 +64,6 @@ private string getRegistryValueForRegistryPathAndKey(string openSystemsPharmacol
6264 }
6365 }
6466
65- public string DefaultOutputPath => Path . Combine ( CurrentUserFolderPath , Constants . Tools . CALCULATION_OUTPUTS ) ;
67+ public string DefaultOutputPath => Path . Combine ( CurrentUserFolderPath , CALCULATION_OUTPUTS ) ;
6668 }
6769}
0 commit comments