mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-17 13:45:01 +00:00
Progress on header call status label
This commit is contained in:
@@ -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)
|
||||
{
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user