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

            if (info == null)
            {
                return(false);
            }
            info.FCAddrInfo = (CtrlFCAddr)FCAddrInfo.Clone();
            info.PowerIndex = PowerIndex;
            return(true);
        }
示例#2
0
        /// <summary>
        /// 拷贝
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public bool CopyTo(object obj)
        {
            CtrlFuncCardPowerInfo info = (CtrlFuncCardPowerInfo)obj;

            if (info == null)
            {
                return(false);
            }
            info.FCAddrInfo    = (CtrlFuncCardInfo)FCAddrInfo.Clone();
            info.PowerIndex    = PowerIndex;
            info.PowerName     = PowerName;
            info.AliaPowerName = AliaPowerName;
            return(true);
        }