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