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