//using System; //using System.Collections.Generic; //using System.Linq; //using System.Text; //using Crestron.SimplSharp; //using Crestron.SimplSharpPro; //using Crestron.SimplSharpPro.DeviceSupport; //using PepperDash.Core; //using PepperDash.Essentials.Core; //using PepperDash.Essentials.Core.Presets; //namespace PepperDash.Essentials //{ // /// // /// // /// // public abstract class DevicePageControllerBase // { // protected BasicTriListWithSmartObject TriList; // protected List FixedObjectSigs; // public DevicePageControllerBase(BasicTriListWithSmartObject triList) // { // TriList = triList; // } // public void SetVisible(bool state) // { // foreach (var sig in FixedObjectSigs) // { // Debug.Console(2, "set visible {0}={1}", sig.Number, state); // sig.BoolValue = state; // } // CustomSetVisible(state); // } // /// // /// Add any specialized show/hide logic here - beyond FixedObjectSigs. Overriding // /// methods do not need to call this base method // /// // protected virtual void CustomSetVisible(bool state) // { // } // } //}