using System; using System.Collections.Generic; using System.Linq; using System.Text; using Crestron.SimplSharp; namespace PepperDash.Core.JsonStandardObjects { /// /// Constants for simpl modules /// public class JsonStandardDeviceConstants { /// /// Json object evaluated constant /// public const ushort JsonObjectEvaluated = 2; /// /// Json object changed constant /// public const ushort JsonObjectChanged = 104; } /// /// /// public class DeviceChangeEventArgs : EventArgs { /// /// Device change event args object /// public DeviceConfig Device { get; set; } /// /// Gets or sets the Type /// public ushort Type { get; set; } /// /// Gets or sets the Index /// public ushort Index { get; set; } /// /// Default constructor /// public DeviceChangeEventArgs() { } /// /// Constructor overload /// /// /// public DeviceChangeEventArgs(DeviceConfig device, ushort type) { Device = device; Type = type; } /// /// Constructor overload /// /// /// /// public DeviceChangeEventArgs(DeviceConfig device, ushort type, ushort index) { Device = device; Type = type; Index = index; } } }