mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-14 04:57:15 +00:00
Progress on header call status label
This commit is contained in:
parent
41b42dbc8f
commit
bff6d9e68d
4 changed files with 63 additions and 45 deletions
|
|
@ -303,7 +303,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
|||
/// <returns></returns>
|
||||
public override bool CustomActivate()
|
||||
{
|
||||
CrestronConsole.AddNewConsoleCommand(SendText, "send" + Key, "", ConsoleAccessLevelEnum.AccessOperator);
|
||||
//CrestronConsole.AddNewConsoleCommand(SendText, "send" + Key, "", ConsoleAccessLevelEnum.AccessOperator);
|
||||
CrestronConsole.AddNewConsoleCommand(SetCommDebug, "SetCodecCommDebug", "0 for Off, 1 for on", ConsoleAccessLevelEnum.AccessOperator);
|
||||
CrestronConsole.AddNewConsoleCommand(GetPhonebook, "GetCodecPhonebook", "Triggers a refresh of the codec phonebook", ConsoleAccessLevelEnum.AccessOperator);
|
||||
CrestronConsole.AddNewConsoleCommand(GetBookings, "GetCodecBookings", "Triggers a refresh of the booking data for today", ConsoleAccessLevelEnum.AccessOperator);
|
||||
|
|
|
|||
|
|
@ -447,11 +447,11 @@ namespace PepperDash.Essentials
|
|||
/// <summary>
|
||||
/// 15024
|
||||
/// </summary>
|
||||
public const uint HeaderCallRightButtonVisible = 15024;
|
||||
public const uint HeaderCallStatusRightPositionVisible = 15024;
|
||||
/// <summary>
|
||||
/// 15025
|
||||
/// </summary>
|
||||
public const uint HeaderCallLeftButtonVisible = 15025;
|
||||
public const uint HeaderCallStatusLeftPositionVisible = 15025;
|
||||
/// <summary>
|
||||
/// 15026
|
||||
/// </summary>
|
||||
|
|
@ -459,7 +459,7 @@ namespace PepperDash.Essentials
|
|||
/// <summary>[-
|
||||
/// 15027
|
||||
/// </summary>
|
||||
public const uint HeaderCallButtonPress = 15027;
|
||||
public const uint HeaderCallStatusButtonPress = 15027;
|
||||
/// <summary>
|
||||
/// 15028 The gear button in header
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ namespace PepperDash.Essentials
|
|||
public HeaderListButton HeaderCallButton { get; private set; }
|
||||
public HeaderListButton HeaderGearButton { get; private set; }
|
||||
|
||||
StringFeedback HeaderCallLabelTextFeedback { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// The parent driver for this
|
||||
/// </summary>
|
||||
|
|
@ -961,6 +963,10 @@ namespace PepperDash.Essentials
|
|||
blankBut.ClearIcon();
|
||||
blankBut.OutputSig.SetSigFalseAction(() => { });
|
||||
}
|
||||
|
||||
// Call Status Label/Button
|
||||
|
||||
//HeaderCallLabel = new S
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -508,6 +508,8 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||
|
||||
CurrentDirectoryResult = (Codec as IHasDirectory).DirectoryRoot;
|
||||
|
||||
SearchKeypadClear();
|
||||
|
||||
DirectoryBackButtonVisibleFeedback.FireUpdate();
|
||||
|
||||
RefreshDirectory();
|
||||
|
|
@ -580,7 +582,8 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||
void RefreshDirectory()
|
||||
{
|
||||
Debug.Console(0, "****** RefreshDirectory!");
|
||||
|
||||
if (CurrentDirectoryResult.DirectoryResults.Count > 0)
|
||||
{
|
||||
ushort i = 0;
|
||||
foreach (var r in CurrentDirectoryResult.DirectoryResults)
|
||||
{
|
||||
|
|
@ -591,7 +594,7 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||
|
||||
i++;
|
||||
|
||||
if(r is DirectoryContact)
|
||||
if (r is DirectoryContact)
|
||||
{
|
||||
DirectoryList.SetItemMainText(i, r.Name);
|
||||
|
||||
|
|
@ -626,6 +629,14 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||
}
|
||||
DirectoryList.Count = i;
|
||||
}
|
||||
else // No results in directory, display message to user
|
||||
{
|
||||
DirectoryList.Count = 1;
|
||||
|
||||
DirectoryList.SetItemMainText(1, "No Results Found");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void RefreshContactMethodsModalList(DirectoryContact contact)
|
||||
{
|
||||
|
|
@ -907,6 +918,7 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||
SearchStringFeedback.FireUpdate();
|
||||
SearchStringKeypadCheckEnables();
|
||||
|
||||
if(CurrentDirectoryResult != (Codec as IHasDirectory).DirectoryRoot)
|
||||
SetCurrentDirectoryToRoot();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue