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

            if (info == null)
            {
                return(false);
            }
            info.CtrlMonitorReason   = CtrlMonitorReason;
            info.CtrlThreshold       = CtrlThreshold;
            info.CtrlTime            = CtrlTime;
            info.DisplayName         = DisplayName;
            info.CtrlThreshold       = CtrlThreshold;
            info.IsSendNotifyEmail   = IsSendNotifyEmail;
            info.SecondCtrlThreshold = SecondCtrlThreshold;
            info.DesTempType         = DesTempType;
            if (PowerCtrlResList == null)
            {
                info.PowerCtrlResList = null;
            }
            else
            {
                info.PowerCtrlResList = new List <OnePowerCtrlRes>();
                for (int i = 0; i < PowerCtrlResList.Count; i++)
                {
                    info.PowerCtrlResList.Add((OnePowerCtrlRes)PowerCtrlResList[i].Clone());
                }
            }
            return(true);
        }
        /// Clone
        /// </summary>
        /// <returns></returns>
        public object Clone()
        {
            CtrlPowerOffRes newObj = new CtrlPowerOffRes();

            CopyTo(newObj);
            return(newObj);
        }
 /// Clone
 /// </summary>
 /// <returns></returns>
 public object Clone()
 {
     CtrlPowerOffRes newObj = new CtrlPowerOffRes();
     CopyTo(newObj);
     return newObj;
 }