public override CustomNotification Copy(CustomNotification notification) { if (notification == null) { notification = new NotificationCpu(); } return(base.Copy(notification)); }
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)); }