public void Lock(string studyInstanceUid)
 {
     try
     {
         if (!_lockedStudyUIDList.Contains(studyInstanceUid))
         {
             _dbWrapper.Lock(studyInstanceUid, FilmingLockOwner, DBLockLevel.Study, "filming locking");
             Logger.LogInfo("has locked study " + studyInstanceUid + " by " + FilmingLockOwner);
             _lockedStudyUIDList.Add(studyInstanceUid);
         }
     }
     catch (Exception ex)
     {
         Logger.LogFuncException(ex.Message + ex.StackTrace);
     }
 }