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

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

            if (info == null)
            {
                return(false);
            }
            info.FCIsConnectCommPort = FCIsConnectCommPort;
            info.SenderAddr          = SenderAddr;
            info.PortAddr            = PortAddr;
            info.FuncCardAddr        = FuncCardAddr;
            info.FCName   = FCName;
            info.CommPort = CommPort;
            return(true);
        }
 public CtrlPowerAddrInfo()
 {
     FCAddrInfo = new CtrlFCAddr();
 }
 /// <summary>
 /// Clone
 /// </summary>
 /// <returns></returns>
 public object Clone()
 {
     CtrlFCAddr newObj = new CtrlFCAddr();
     CopyTo(newObj);
     return newObj;
 }
 public CtrlPowerAddrInfo()
 {
     FCAddrInfo = new CtrlFCAddr();
 }