From 277886b092601e2c70ddaccd67285b8962a22d71 Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Mon, 31 Aug 2020 10:23:51 -0600 Subject: [PATCH] add property to get IrFile commands --- .../PepperDashEssentialsBase/Devices/IrOutputPortController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Devices/IrOutputPortController.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Devices/IrOutputPortController.cs index 12142cf4..b24991aa 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Devices/IrOutputPortController.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Devices/IrOutputPortController.cs @@ -25,6 +25,8 @@ namespace PepperDash.Essentials.Core public string DriverFilepath { get; private set; } public bool DriverIsLoaded { get; private set; } + public string[] IrFileCommands { get { return IrPort.AvailableStandardIRCmds(IrPortUid); } } + /// /// Constructor for IrDevice base class. If a null port is provided, this class will /// still function without trying to talk to a port.