public void Write(OmaReaderDoubleResult OmaReaderDoubleResult, computeLensResponseDTO leftComputeLensResponseDTO, computeLensResponseDTO rightComputeLensResponseDTO)
        {
            SurfaceFiles tmpSurfaceFiles = TempSurfaceFilesPath(OmaReaderDoubleResult);
            string       leftTmpPath     = tmpSurfaceFiles.LeftSurfaceFile;
            string       rightTmpPath    = tmpSurfaceFiles.RightSurfaceFile;

            File.Delete(leftTmpPath);
            File.Delete(rightTmpPath);
            Write(rightTmpPath, rightComputeLensResponseDTO, side.RIGHT);
            Write(leftTmpPath, leftComputeLensResponseDTO, side.LEFT);
            SurfaceFiles surfaceFiles  = SurfaceFilesPath(OmaReaderDoubleResult);
            string       leftFilePath  = surfaceFiles.LeftSurfaceFile;
            string       rightFilePath = surfaceFiles.RightSurfaceFile;

            File.Delete(leftFilePath);
            File.Delete(rightFilePath);
            if (File.Exists(leftTmpPath))
            {
                File.Move(leftTmpPath, leftFilePath);
            }
            if (File.Exists(rightTmpPath))
            {
                File.Move(rightTmpPath, rightFilePath);
            }
        }
        public SurfaceFiles SurfaceFilesPath(OmaReaderDoubleResult OmaReaderDoubleResult)
        {
            SurfaceFiles tmpSurfaceFiles = TempSurfaceFilesPath(OmaReaderDoubleResult);
            SurfaceFiles surfaceFiles    = new SurfaceFiles(Path.ChangeExtension(tmpSurfaceFiles.RightSurfaceFile, Extension), Path.ChangeExtension(tmpSurfaceFiles.LeftSurfaceFile, Extension));

            return(surfaceFiles);
        }
        public SurfaceFiles TempSurfaceFilesPath(OmaReaderDoubleResult OmaReaderDoubleResult)
        {
            string       leftTmpPath     = Path.Combine(SurfaceDirectory, GetFileName(OmaReaderDoubleResult.Left, side.LEFT));
            string       rightTmpPath    = Path.Combine(SurfaceDirectory, GetFileName(OmaReaderDoubleResult.Right, side.RIGHT));
            SurfaceFiles tmpSurfaceFiles = new SurfaceFiles(rightTmpPath, leftTmpPath);

            return(tmpSurfaceFiles);
        }