Exemplo n.º 1
0
        public static int ChangeDepthCase(DepthCase depthCase)
        {
            int result = SRWorkModule_API.SetDepthParameterInt((int)DepthCmd.CHANGE_DEPTH_CASE, (int)depthCase);

            if (result == (int)Error.WORK)
            {
                DepthCase = depthCase;
            }
            return(result);
        }
Exemplo n.º 2
0
        public static int SetDefaultDepthCase(DepthCase depthCase)
        {
            int result = SRWorkModule_API.SetDepthParameterInt((int)DepthParam.DEPTH_USING_CASE, (int)depthCase);

            if (result == (int)Error.WORK)
            {
                DepthCase = depthCase;
            }
            return(result);
        }