/// Clone
        /// </summary>
        /// <returns></returns>
        public object Clone()
        {
            OnePowerCtrlRes newObj = new OnePowerCtrlRes();

            CopyTo(newObj);
            return(newObj);
        }
        /// <summary>
        /// 拷贝
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public bool CopyTo(object obj)
        {
            OnePowerCtrlRes info = (OnePowerCtrlRes)obj;

            if (info == null)
            {
                return(false);
            }
            info.CtrlResult       = CtrlResult;
            info.CurCtrlPowerAddr = (CtrlPowerAddrInfo)CurCtrlPowerAddr.Clone();
            return(true);
        }
 /// Clone
 /// </summary>
 /// <returns></returns>
 public object Clone()
 {
     OnePowerCtrlRes newObj = new OnePowerCtrlRes();
     CopyTo(newObj);
     return newObj;
 }