public static int GetCameraQualityInfo(CameraQuality item, ref CameraQualityInfo paramInfo) { int result = (int)Error.FAILED; result = SRWorkModule_API.GetCameraStatus((int)item, ref paramInfo.Status); if (result != (int)Error.WORK) { return(result); } result = SRWorkModule_API.GetCameraDefaultValue((int)item, ref paramInfo.DefaultValue); if (result != (int)Error.WORK) { return(result); } result = SRWorkModule_API.GetCameraMin((int)item, ref paramInfo.Min); if (result != (int)Error.WORK) { return(result); } result = SRWorkModule_API.GetCameraMax((int)item, ref paramInfo.Max); if (result != (int)Error.WORK) { return(result); } result = SRWorkModule_API.GetCameraStep((int)item, ref paramInfo.Step); if (result != (int)Error.WORK) { return(result); } result = SRWorkModule_API.GetCameraDefaultMode((int)item, ref paramInfo.DefaultMode); if (result != (int)Error.WORK) { return(result); } result = SRWorkModule_API.GetCameraValue((int)item, ref paramInfo.Value); if (result != (int)Error.WORK) { return(result); } result = SRWorkModule_API.GetCameraMode((int)item, ref paramInfo.Mode); if (result != (int)Error.WORK) { return(result); } return(result); }