feat: updates to Room combiner for use with mobile control

This commit is contained in:
Neil Dorin
2024-05-02 17:27:34 -06:00
parent 65369606a4
commit 2b6f79b68f
4 changed files with 39 additions and 13 deletions

View File

@@ -1,11 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using PepperDash.Core;
using Serilog.Events;
using Newtonsoft.Json;
namespace PepperDash.Essentials.Core
{

View File

@@ -30,6 +30,7 @@ namespace PepperDash.Essentials.Core
[JsonProperty("isInAutoMode")]
bool IsInAutoMode { get; }
[JsonProperty("rooms")]
List<IKeyName> Rooms { get; }
/// <summary>
@@ -77,6 +78,7 @@ namespace PepperDash.Essentials.Core
/// <summary>
/// When true, indicates that this room combination scenario is active
/// </summary>
[JsonIgnore]
BoolFeedback IsActiveFeedback { get; }
[JsonProperty("isActive")]
@@ -101,6 +103,7 @@ namespace PepperDash.Essentials.Core
/// <summary>
/// The mapping of UIs by key to rooms by key
/// </summary>
[JsonProperty("uiMap")]
Dictionary<string, string> UiMap { get; set; }
}