Rename IHasPowerReboot to IHasPowerCycle

Update naming scheme to Cycle from Reboot
This commit is contained in:
Trevor Payne
2022-05-31 17:48:18 -05:00
parent 05f3a7eb2c
commit 86dfc395ec

View File

@@ -7,17 +7,17 @@ namespace PepperDash_Essentials_Core.Devices
/// <summary> /// <summary>
/// Interface for any device that is able to control it'spower and has a configurable reboot time /// Interface for any device that is able to control it'spower and has a configurable reboot time
/// </summary> /// </summary>
public interface IHasPowerReboot : IKeyName, IHasPowerControlWithFeedback public interface IHasPowerCycle : IKeyName, IHasPowerControlWithFeedback
{ {
/// <summary> /// <summary>
/// Delay between power off and power on for reboot /// Delay between power off and power on for reboot
/// </summary> /// </summary>
int PowerRebootTimeMs { get;} int PowerCycleTimeMs { get;}
/// <summary> /// <summary>
/// Reboot outlet /// Reboot outlet
/// </summary> /// </summary>
void PowerReboot(); void PowerCycle();
} }
/// <summary> /// <summary>
@@ -28,7 +28,7 @@ namespace PepperDash_Essentials_Core.Devices
/// <summary> /// <summary>
/// Collection of IPduOutlets /// Collection of IPduOutlets
/// </summary> /// </summary>
Dictionary<int, IHasPowerReboot> PduOutlets { get; } Dictionary<int, IHasPowerCycle> PduOutlets { get; }
/// <summary> /// <summary>
/// Count of PduOutlets /// Count of PduOutlets