mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-26 19:04:47 +00:00
41 lines
1.0 KiB
C#
41 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
|
|
using PepperDash.Core;
|
|
using PepperDash.Essentials.Core;
|
|
|
|
namespace PepperDash.Essentials
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class VolumeDeviceChangeEventArgs : EventArgs
|
|
{
|
|
public IBasicVolumeControls OldDev { get; private set; }
|
|
public IBasicVolumeControls NewDev { get; private set; }
|
|
public ChangeType Type { get; private set; }
|
|
|
|
public VolumeDeviceChangeEventArgs(IBasicVolumeControls oldDev, IBasicVolumeControls newDev, ChangeType type)
|
|
{
|
|
OldDev = oldDev;
|
|
NewDev = newDev;
|
|
Type = type;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// The handler type for a Room's SourceInfoChange
|
|
/// </summary>
|
|
public delegate void SourceInfoChangeHandler(EssentialsRoomBase room, SourceListItem info, ChangeType type);
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public enum ChangeType
|
|
{
|
|
WillChange, DidChange
|
|
}
|
|
} |