feature:Converted PduOutlets Dictionary to ReadOnlyDictionary

feature:Removed redundant OutletCount property
This commit is contained in:
Trevor Payne
2022-06-02 11:17:54 -05:00
parent 86dfc395ec
commit 1cc37b7521
3 changed files with 3 additions and 7 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using Crestron.SimplSharp;
using PepperDash.Core;
using PepperDash.Essentials.Core;
@@ -28,12 +29,7 @@ namespace PepperDash_Essentials_Core.Devices
/// <summary>
/// Collection of IPduOutlets
/// </summary>
Dictionary<int, IHasPowerCycle> PduOutlets { get; }
/// <summary>
/// Count of PduOutlets
/// </summary>
int PduOutletsCount { get; }
ReadOnlyDictionary<int, IHasPowerCycle> PduOutlets { get; }
}
}