예제 #1
0
        public override CustomNotification Copy(CustomNotification notification)
        {
            if (notification == null)
            {
                notification = new NotificationCpu();
            }

            return(base.Copy(notification));
        }
예제 #2
0
        public override CustomNotification Copy(CustomNotification notification)
        {
            if (notification == null)
            {
                notification = new NotificationCpu();
            }

            ((HardwareNotification)notification).Configuration = this.Configuration;
            ((HardwareNotification)notification).TriggerType   = this.TriggerType;
            ((HardwareNotification)notification).AlertPercent  = this.AlertPercent;
            ((HardwareNotification)notification).CheckPeriod   = this.CheckPeriod;

            return(base.Copy(notification));
        }