mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 04:34:56 +00:00
Rename IHasPowerReboot to IHasPowerCycle
Update naming scheme to Cycle from Reboot
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user