-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]-UserInterface Extensions Switch Changed Event not supported #7
Comments
@cdenig - is there any way I could convince you to gather those same examples with JSON terminal type turned on, since we're using that for control in this instance? Sometimes the responses are different enough that we can't directly infer the data. |
feat: add bool and ushort bridge outputs for ui events Resolves: #7
There is a branch working on this so to avoid git conflicts here is what would be needed to add a change event:
in UI_ExtensionsHandler.cs update ParseStatus:
|
I already pushed up something to account for this, I believe.
I'll check in the morning.
On Dec 11, 2022 9:20 PM, Rodney Driscoll ***@***.***> wrote:
There is a branch working on this so to avoid git conflicts here is what would be needed to add a change event:
in xEvent.cs update UiEvent:
public class UiEvent // /Event/UserInterface/Extensions/Event
{
...
[JsonProperty("Changed")]
public UiEventType Changed { get; set; }
...
}
in UI_ExtensionsHandler.cs update ParseStatus:
public void ParseStatus(CiscoCodecEvents.UiEvent val)
{
...
else if (val.Changed != null)
{
action_.Type = "Changed";
action_.Value = val.Changed.Signal.Value;
}
...
—
Reply to this email directly, view it on GitHub<#7 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKQSYORLPUF7QCM6ABI5PC3WM2DWBANCNFSM6AAAAAASXFA4VQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Describe the bug
Switch Widgets produce Extension 'Changed' Events and the ParseStatus function in UIExtensionsHandler.cs is not processing 'Changed' Action Types.
Stacktrace
List of Available UserInterface Extensions Events
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect to see event strings sent to SIMPL when Switch events changes occur.
Screenshots
N/A, but below are Text Console and SSH Console snippets showing events produced
Example 1. Widget Actions and Events registered feedback for Switch toggle on and off events
Example 2. Widget Actions and Events registered feedback for Button press event
Example 3. Widget Actions and Events registered feedback for Group Button press event
Example 4. Widget Actions and Events registered feedback for Direction Pad press event
The text was updated successfully, but these errors were encountered: