Use total seconds of TimeSpan for reset period

This fixes a bug where setting `resetfailure` to something like "1 day" resulted in 0 seconds being passed to dwResetPeriod. This was because the `Seconds` property only contains the seconds component of the `TimeSpan`, while `TotalSeconds` contains the total seconds in the entire `TimeSpan`.