mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-30 21:04:48 +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>
|
||||
/// 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
|
||||
|
||||
Reference in New Issue
Block a user