mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-14 12:15:01 +00:00
fixes to get it to load
This commit is contained in:
@@ -31,7 +31,7 @@ namespace PepperDash.Essentials.Room.Config
|
||||
{
|
||||
return new EssentialsHuddleVtc1Room(roomConfig);
|
||||
}
|
||||
if (typeName == "ddvc01Bridge")
|
||||
if (typeName == "ddvc01bridge")
|
||||
{
|
||||
return new Device(roomConfig.Key, roomConfig.Name); // placeholder device that does nothing.
|
||||
}
|
||||
@@ -40,7 +40,7 @@ namespace PepperDash.Essentials.Room.Config
|
||||
return new EssentialsDualDisplayRoom(roomConfig);
|
||||
}
|
||||
|
||||
return typeName != "techRoom" ? null : new EssentialsTechRoom(roomConfig);
|
||||
return typeName != "techroom" ? null : new EssentialsTechRoom(roomConfig);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -1,22 +1,33 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace PepperDash.Essentials.Room.Config
|
||||
{
|
||||
public class EssentialsTechRoomConfig
|
||||
{
|
||||
[JsonProperty("displays")]
|
||||
public List<string> Displays;
|
||||
|
||||
[JsonProperty("tuners")]
|
||||
public List<string> Tuners;
|
||||
public string ScheduleProviderKey;
|
||||
|
||||
[JsonProperty("userPin")]
|
||||
public string UserPin;
|
||||
|
||||
[JsonProperty("techPin")]
|
||||
public string TechPin;
|
||||
|
||||
[JsonProperty("presetFileName")]
|
||||
public string PresetsFileName;
|
||||
public List<ScheduledEventConfig> RoomScheduledEvents;
|
||||
|
||||
[JsonProperty("scheduledEvents")]
|
||||
public List<ScheduledEventConfig> ScheduledEvents;
|
||||
|
||||
public EssentialsTechRoomConfig()
|
||||
{
|
||||
Displays = new List<string>();
|
||||
Tuners = new List<string>();
|
||||
RoomScheduledEvents = new List<ScheduledEventConfig>();
|
||||
ScheduledEvents = new List<ScheduledEventConfig>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user