Started working on Room Occupancy

This commit is contained in:
Neil Dorin 2017-10-03 23:34:23 -06:00
parent e6eafdaf14
commit c3c7948990
9 changed files with 157 additions and 7 deletions

View file

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Crestron.SimplSharpPro.GeneralIO;
namespace PepperDash.Essentials.Devices.Common.Occupancy
{
public class EssentialsGlsOirCsmExBatt : GlsOccupancySensorBase, IOccupancyStatusProvider
{
public GlsOirCsmExBatt OccSensor { get; set; }
}
}

View file

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
namespace PepperDash.Essentials.Devices.Common.Occupancy
{
public interface IOccupancyStatusProvider
{
// Need to define a common interface that can be applied to Crestron Occ sensor as well as 3rd party devices. How to accomplish?
}
}