mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-09 17:54:59 +00:00
EssentialsRoomconfig.cs added debug statements to GetEmergency method changed 'return null' to return the object 'e' EssentialsRoomEmergencyConfig.cs added 'PortDeviceKey' to EssentialsRoomEmergencyTrigerConfig EssentialsRoomEmergencyContactClosure.cs added debug statements to constructor to help with debugging
41 lines
965 B
C#
41 lines
965 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
|
|
namespace PepperDash.Essentials.Room.Config
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class EssentialsRoomEmergencyConfig
|
|
{
|
|
public EssentialsRoomEmergencyTriggerConfig Trigger { get; set; }
|
|
|
|
public string Behavior { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class EssentialsRoomEmergencyTriggerConfig
|
|
{
|
|
/// <summary>
|
|
/// String representing the port device used to access the type
|
|
/// </summary>
|
|
public string PortDeviceKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// contact,
|
|
/// </summary>
|
|
public string Type { get; set; }
|
|
/// <summary>
|
|
/// Input number if contact
|
|
/// </summary>
|
|
public int Number { get; set; }
|
|
|
|
public bool TriggerOnClose { get; set; }
|
|
|
|
}
|
|
} |