コード例 #1
0
        public static BackgroundParameters GetCurrentBackgroundParams(Detector det)
        {
            BackgroundParameters bp = new BackgroundParameters();

            if ((det != null) && (CentralizedState.App.DB.BackgroundParameters.Get(det.Id.DetectorName) != null))
            {
                bp.Copy(CentralizedState.App.DB.BackgroundParameters.Map[det]);
            }
            return(bp);
        }
コード例 #2
0
ファイル: Central.cs プロジェクト: hnordquist/INCC6
 public static BackgroundParameters GetCurrentBackgroundParams(Detector det)
 {
     BackgroundParameters bp = new BackgroundParameters();
     if ((det != null) && (CentralizedState.App.DB.BackgroundParameters.Get(det.Id.DetectorName) != null))
         bp.Copy(CentralizedState.App.DB.BackgroundParameters.Map[det]);
     return bp;
 }