using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using PepperDash.Essentials.Core;
using PepperDash.Core;
using Newtonsoft.Json.Linq;
namespace PepperDash.Essentials.Core.Config
{
public class ConfigPropertiesHelpers
{
///
/// Returns the value of properties.hasAudio, or false if not defined
///
public static bool GetHasAudio(DeviceConfig deviceConfig)
{
return deviceConfig.Properties.Value("hasAudio");
}
///
/// Returns the value of properties.hasControls, or false if not defined
///
public static bool GetHasControls(DeviceConfig deviceConfig)
{
return deviceConfig.Properties.Value("hasControls");
}
}
}