mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 12:37:07 +00:00
Combining repos
This commit is contained in:
parent
e196ad0419
commit
b5444e3544
358 changed files with 17256 additions and 10215 deletions
|
|
@ -0,0 +1,31 @@
|
|||
using System.Collections.Generic;
|
||||
using Crestron.SimplSharpPro.DeviceSupport;
|
||||
using PepperDash.Essentials.Core;
|
||||
|
||||
namespace PepperDash.Essentials.Core.PageManagers
|
||||
{
|
||||
/// <summary>
|
||||
/// A simple class that hides and shows the default subpage for a given source type
|
||||
/// </summary>
|
||||
public class SinglePageManager : PageManager
|
||||
{
|
||||
BasicTriList TriList;
|
||||
uint BackingPageJoin;
|
||||
|
||||
public SinglePageManager(uint pageJoin, BasicTriList trilist)
|
||||
{
|
||||
TriList = trilist;
|
||||
BackingPageJoin = pageJoin;
|
||||
}
|
||||
|
||||
public override void Show()
|
||||
{
|
||||
TriList.BooleanInput[BackingPageJoin].BoolValue = true;
|
||||
}
|
||||
|
||||
public override void Hide()
|
||||
{
|
||||
TriList.BooleanInput[BackingPageJoin].BoolValue = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue