Пример #1
0
 public void Register()
 {
     CorrectorConfigurations.Register(_corrector);
     GeneralConfigurations.Register(_general);
     SamplingConfigurations.Register(_sampling);
     SliceConfigurations.Register(_slice);
     MiscellaneousConfigurations.Register(_miscellaneous);
 }
Пример #2
0
 public static void Register(MiscellaneousConfigurations miscellaneous)
 {
     if (_singleton == null)
     {
         _singleton = miscellaneous;
     }
     else
     {
         ConfigsHolder.CopyTo(miscellaneous, _singleton);
     }
 }
Пример #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);
 }