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); }
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); }