Esempio n. 1
0
 public void Register()
 {
     CorrectorConfigurations.Register(_corrector);
     GeneralConfigurations.Register(_general);
     SamplingConfigurations.Register(_sampling);
     SliceConfigurations.Register(_slice);
     MiscellaneousConfigurations.Register(_miscellaneous);
 }
Esempio n. 2
0
 public static void Register(MiscellaneousConfigurations miscellaneous)
 {
     if (_singleton == null)
     {
         _singleton = miscellaneous;
     }
     else
     {
         ConfigsHolder.CopyTo(miscellaneous, _singleton);
     }
 }
Esempio n. 3
0
 public static void Initialize(int waitEmptyProducerMsTimeout, int minFlatPhasePtsNumCnt, double maxPhaseStd,
                               string pythonPath, bool autoFlip, double lockDipScanRadiusInMHz)
 {
     _singleton = new MiscellaneousConfigurations(waitEmptyProducerMsTimeout, minFlatPhasePtsNumCnt, maxPhaseStd,
                                                  pythonPath, autoFlip, lockDipScanRadiusInMHz);
 }