mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +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>
|
/// <returns></returns>
|
||||||
public override bool CustomActivate()
|
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(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(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);
|
CrestronConsole.AddNewConsoleCommand(GetBookings, "GetCodecBookings", "Triggers a refresh of the booking data for today", ConsoleAccessLevelEnum.AccessOperator);
|
||||||
|
|||||||
@@ -447,11 +447,11 @@ namespace PepperDash.Essentials
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 15024
|
/// 15024
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const uint HeaderCallRightButtonVisible = 15024;
|
public const uint HeaderCallStatusRightPositionVisible = 15024;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 15025
|
/// 15025
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const uint HeaderCallLeftButtonVisible = 15025;
|
public const uint HeaderCallStatusLeftPositionVisible = 15025;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 15026
|
/// 15026
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -459,7 +459,7 @@ namespace PepperDash.Essentials
|
|||||||
/// <summary>[-
|
/// <summary>[-
|
||||||
/// 15027
|
/// 15027
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const uint HeaderCallButtonPress = 15027;
|
public const uint HeaderCallStatusButtonPress = 15027;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 15028 The gear button in header
|
/// 15028 The gear button in header
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -66,6 +66,8 @@ namespace PepperDash.Essentials
|
|||||||
public HeaderListButton HeaderCallButton { get; private set; }
|
public HeaderListButton HeaderCallButton { get; private set; }
|
||||||
public HeaderListButton HeaderGearButton { get; private set; }
|
public HeaderListButton HeaderGearButton { get; private set; }
|
||||||
|
|
||||||
|
StringFeedback HeaderCallLabelTextFeedback { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The parent driver for this
|
/// The parent driver for this
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -961,6 +963,10 @@ namespace PepperDash.Essentials
|
|||||||
blankBut.ClearIcon();
|
blankBut.ClearIcon();
|
||||||
blankBut.OutputSig.SetSigFalseAction(() => { });
|
blankBut.OutputSig.SetSigFalseAction(() => { });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Call Status Label/Button
|
||||||
|
|
||||||
|
//HeaderCallLabel = new S
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -508,6 +508,8 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||||||
|
|
||||||
CurrentDirectoryResult = (Codec as IHasDirectory).DirectoryRoot;
|
CurrentDirectoryResult = (Codec as IHasDirectory).DirectoryRoot;
|
||||||
|
|
||||||
|
SearchKeypadClear();
|
||||||
|
|
||||||
DirectoryBackButtonVisibleFeedback.FireUpdate();
|
DirectoryBackButtonVisibleFeedback.FireUpdate();
|
||||||
|
|
||||||
RefreshDirectory();
|
RefreshDirectory();
|
||||||
@@ -580,7 +582,8 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||||||
void RefreshDirectory()
|
void RefreshDirectory()
|
||||||
{
|
{
|
||||||
Debug.Console(0, "****** RefreshDirectory!");
|
Debug.Console(0, "****** RefreshDirectory!");
|
||||||
|
if (CurrentDirectoryResult.DirectoryResults.Count > 0)
|
||||||
|
{
|
||||||
ushort i = 0;
|
ushort i = 0;
|
||||||
foreach (var r in CurrentDirectoryResult.DirectoryResults)
|
foreach (var r in CurrentDirectoryResult.DirectoryResults)
|
||||||
{
|
{
|
||||||
@@ -626,6 +629,14 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||||||
}
|
}
|
||||||
DirectoryList.Count = i;
|
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)
|
void RefreshContactMethodsModalList(DirectoryContact contact)
|
||||||
{
|
{
|
||||||
@@ -907,6 +918,7 @@ namespace PepperDash.Essentials.UIDrivers.VC
|
|||||||
SearchStringFeedback.FireUpdate();
|
SearchStringFeedback.FireUpdate();
|
||||||
SearchStringKeypadCheckEnables();
|
SearchStringKeypadCheckEnables();
|
||||||
|
|
||||||
|
if(CurrentDirectoryResult != (Codec as IHasDirectory).DirectoryRoot)
|
||||||
SetCurrentDirectoryToRoot();
|
SetCurrentDirectoryToRoot();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user