using System;
using System.Collections.Generic;
using Crestron.SimplSharp;
using PepperDash.Core;
using PepperDash.Essentials.Core;
namespace PepperDash_Essentials_Core.Devices
{
///
/// Interface for any device that is able to control it'spower and has a configurable reboot time
///
[Obsolete("PepperDash_Essentials_Core.Devices is Deprecated - use PepperDash.Essentials.Core")]
public interface IHasPowerCycle : IKeyName, IHasPowerControlWithFeedback
{
///
/// Delay between power off and power on for reboot
///
int PowerCycleTimeMs { get;}
///
/// Reboot outlet
///
void PowerCycle();
}
///
/// Interface for any device that contains a collection of IHasPowerReboot Devices
///
[Obsolete("PepperDash_Essentials_Core.Devices is Deprecated - use PepperDash.Essentials.Core")]
public interface IHasControlledPowerOutlets : IKeyName
{
///
/// Collection of IPduOutlets
///
ReadOnlyDictionary PduOutlets { get; }
}
}