/// Clone /// </summary> /// <returns></returns> public object Clone() { DecreaseBrightConfigInfo newObj = new DecreaseBrightConfigInfo(); CopyTo(newObj); return(newObj); }
/// <summary> /// 拷贝 /// </summary> /// <param name="obj"></param> /// <returns></returns> public bool CopyTo(object obj) { DecreaseBrightConfigInfo info = (DecreaseBrightConfigInfo)obj; if (info == null) { return(false); } info.CtrlMonitorReason = CtrlMonitorReason; info.DecreaseBright = DecreaseBright; info.CtrlThreshold = CtrlThreshold; info.DisplayIndex = DisplayIndex; info.RestoreTempThreshold = RestoreTempThreshold; info.IsRestoreBright = IsRestoreBright; info.SecondCtrlThreshold = SecondCtrlThreshold; info.DesTempType = DesTempType; return(true); }
/// Clone /// </summary> /// <returns></returns> public object Clone() { DecreaseBrightConfigInfo newObj = new DecreaseBrightConfigInfo(); CopyTo(newObj); return newObj; }