Click or drag to resize

C2nCbdPKpScene Class

Professional Cresnet-based wall-mounted keypad with auto-dimmable backlit text and enhanced LED feedback with 4 Scene buttons.

This class will trigger ButtonStateChange, LightSensorChange, ThresholdStateChange and VersiportChange events.

Inheritance Hierarchy

Namespace: Crestron.SimplSharpPro.Keypads
Assembly: Crestron.SimplSharpPro.Keypads (in Crestron.SimplSharpPro.Keypads.dll) Version: 2.21.121
Syntax
C#
public sealed class C2nCbdPKpScene : C2nCbdPBaseWithVersiport

The C2nCbdPKpScene type exposes the following members.

Constructors
 NameDescription
Public methodC2nCbdPKpScene(UInt32, CrestronControlSystem) Constructor to generate a new C2N-CBD-P-KP-SCENE Cameo Professional Keypad device connected to Control System.
Public methodC2nCbdPKpScene(UInt32, IDeviceBranch) Constructor to generate a new C2N-CBD-P-KP-SCENE Cameo Professional Keypad device on IDeviceBranch.
Top
Properties
 NameDescription
Public propertyAboveThreshold This input is driven by the AboveThreshold_FB output on the master keypad. This input is only active when EnableExtThreshold is set to true, which signifies that the current button is operating in slave mode. When the input goes true, this sets the backlight to the specified Day level (either custom or preset). When the input goes false, it goes to the specified Night level (custom or preset).
(Inherited from C2nCbdPBase)
Public propertyAboveThresholdFeedback Updated to indicate the level of the ambient light in relation to the threshold. This field is only updated when EnableExtThreshold is set to false.
(Inherited from C2nCbdPBase)
Public propertyBacklightIntensity Property that returns a reference to the BacklightIntensity UShortInputSig.
(Inherited from C2nCbdPBase)
Public propertyBargraphValue Property to get or set the current bargraph value of the device. On the C2niCb this property is the same as the LeftBargraphValue
(Inherited from InetCbdex)
Public propertyBrightnessSettings Returns a BrightnessSettings instance that can be used to get and set brightness settings.
(Inherited from C2nCbdPBase)
Public propertyButton Collection of buttons supported by the device.
(Inherited from KeypadBase)
Public propertyConnectedIpList A property containing the list of the ConnectedIpInformation objects which contain information about the devices that are connected to this IP ID. This property is only valid for an ethernet device. If this is not an ethernet device, then this property will return null. If this is an ethernet device, the list will be non-null. It will be empty if no devices are connected. The order of items in this list is not guaranteed.
(Inherited from GenericDevice)
Public propertyCode exampleDescription Get/Set the description of this device.
(Inherited from GenericBase)
Public propertyDisposed Property to indicate if the device has been disposed.
(Inherited from GenericDevice)
Public propertyEnableExtThreshold When EnableExtThreshold is true, this puts the keypad into slave mode.
(Inherited from C2nCbdPBase)
Public propertyFeedbackOff Get the Feedback object corresponding to the Off feedback for this C2nCbdPKpScene device.
Public propertyFeedbackRaise Get the Feedback object corresponding to the Raise feedback for this C2nCbdPKpScene device.
Public propertyFeedbacks Property to get the collection of feedbacks on the device.
(Inherited from InetCbdex)
Public propertyFeedbackScene1 Get the Feedback object corresponding to the Scene1 button for this C2nCbdPKpScene device.
Public propertyFeedbackScene2 Get the Feedback object corresponding to the Scene2 feedback for this C2nCbdPKpScene device.
Public propertyFeedbackScene3 Get the Feedback object corresponding to the Scene3 feedback for this C2nCbdPKpScene device.
Public propertyFeedbackScene4 Get the Feedback object corresponding to the Scene4 feedback for this C2nCbdPKpScene device.
Public propertyID Property to get the ID of the device.
(Inherited from GenericDevice)
Public propertyIndicatorIntensity Property to get or set the current intensity of the bargraph on the device.
(Inherited from InetCbdex)
Public propertyIsOnline Property to get the current online state of the device.
(Inherited from GenericDevice)
Public propertyLightSensorValue Updated with the ambient light level. ReportLightLevel must be set to true.
(Inherited from C2nCbdPBase)
Public propertyLower Get the Button object corresponding to the Off button for this C2nCbdPKpScene device.

The ButtonStateChange event will trigger with Lower and eButtonState.

Public propertyManualBacklight Enables manual adjustment of the backlight via the BacklightIntensity input for as long as the input is true.
(Inherited from C2nCbdPBase)
Public propertyManualIndicatorIntensity Enables manual adjustment of the LED brightness via the IndicatorIntensity input for as long as the input is true.
(Inherited from C2nCbdPBase)
Public propertyName Get the name of this device.
(Inherited from GenericBase)
Public propertyNumberOfVersiPorts Number of versiports this device supports.
(Inherited from C2nCbdPBaseWithVersiport)
Public propertyOff Get the Button object corresponding to the Off button for this C2nCbdPKpScene device.

The ButtonStateChange event will trigger with Off and eButtonState.

Public propertyParameterBargraphTimeout Sets and gets the BargraphTimeout parameter. Valid values are between 0 to 10 seconds Use the SimplSharpDeviceHelper.SecondsToUShort to convert the time to a ushort value or the SimplSharpDeviceHelper.UShortToSeconds to convert the ushort value to seconds
(Inherited from InetCbdex)
Public propertyParameterDblTapSpeed Returns and sets the time between the end of the first tap and the start of the second tap for a "DblTap" to be recognized. Use the SimplSharpDeviceHelper.SecondsToUShort to convert the seconds to a ushort value or the SimplSharpDeviceHelper.UShortToSeconds to convert the ushort value to seconds.
(Inherited from InetCbdex)
Public propertyParameterHoldTime Returns and sets the time in seconds that a button must be held before it is recognized as a "Hold" instead of a "Tap". Use the SimplSharpDeviceHelper.SecondsToUShort to convert the seconds to a ushort value or the SimplSharpDeviceHelper.UShortToSeconds to convert the ushort value to seconds.
(Inherited from InetCbdex)
Public propertyParameterWaitForDoubleTap Returns and sets the setting that determines whether a "Tap" should be sent immediately on the release of the button, or if the unit should wait until a "DblTap" event occurs.
(Inherited from InetCbdex)
Public propertyParent The parent that a given object was added to.
(Inherited from GenericBase)
Public propertyRaise Get the Button object corresponding to the Off button for this C2nCbdPKpScene device.

The ButtonStateChange event will trigger with Raise and eButtonState.

Public propertyRegisterable Property to indicate that this device can be registered.
(Inherited from GenericDevice)
Public propertyRegistered Property to get the current registration state of the device.
(Inherited from GenericDevice)
Public propertyRegistrationFailureReason Property to get the Registration Failure Reason, this will match the return value from the call to register.
(Inherited from GenericDevice)
Public propertyReportLightLevel Enables the LightSensorValue property and the LightSensorChange event output to report the current light level for as long as the input is true. When the input is false the light level isn't reported.
(Inherited from C2nCbdPBase)
Public propertyScene1 Get the Button object corresponding to the On button for this C2nCbdPKpScene device.

The ButtonStateChange event will trigger with Scene1 and eButtonState.

Public propertyScene2 Get the Button object corresponding to the Off button for this C2nCbdPKpScene device.

The ButtonStateChange event will trigger with Scene2 and eButtonState.

Public propertyScene3 Get the Button object corresponding to the Off button for this C2nCbdPKpScene device.

The ButtonStateChange event will trigger with Scene3 and eButtonState.

Public propertyScene4 Get the Button object corresponding to the Scene4 button for this C2nCbdPKpScene device.

The ButtonStateChange event will trigger with Scene4 and eButtonState.

Protected propertySIMPLDeviceImplementation Internal protected member used for actual device control.
(Inherited from GenericDevice)
Public propertyType Property to determine to type of device this is.
(Inherited from GenericDevice)
Public propertyUnRegistrationFailureReason Property to get the Unregistration Failure Reason, this will match the return value from the call to unregister.
(Inherited from GenericDevice)
Public propertyUserSpecifiedObject Can be assigned anything that user wants.
(Inherited from GenericBase)
Public propertyVersiPorts Collection of versiports on the control system.
(Inherited from C2nCbdPBaseWithVersiport)
Protected propertyXioEndpointStubSIMPLDevice The SIMPL "stub" Device that the XiO Director creates for an endpoint to send the 1C/0E to the correct place in hierarchy.
(Inherited from GenericDevice)
Top
Methods
 NameDescription
Public methodCancelActiveBargraph Cancels active bargraph.
(Inherited from InetCbdex)
Public methodDisableBargraph Disables the bargraph functionality.
(Inherited from InetCbdex)
Public methodDispose Clean up of resources.
(Inherited from GenericBase)
Protected methodDispose(Boolean) Method to perform the actual disposing of the device.
(Inherited from GenericDevice)
Public methodEnableBargraph Enables the bargraph functionality.
(Inherited from InetCbdex)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Destructor of the device.
(Inherited from GenericDevice)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodOnBaseEvent(Int32) Protected member used to fire the BaseEvent with the default extended information.
(Inherited from GenericBase)
Protected methodOnBaseEvent(Int32, UInt16) Protected member used to fine the BaseEvent with extended event information.
(Inherited from GenericBase)
Public methodRegister Register this device with the system.
(Inherited from GenericDevice)
Public methodSendParameters This will send the parameters fields (if any) to the device. It allows the parameters to be modified and resent without unregistering and re-registering a device. It requires firmware support on the device. Not Currently implemented. This will throw a NotSupportedException
(Inherited from InetCbdex)
Public methodToString Return the name of the device.
(Inherited from GenericDevice)
Public methodUnRegister Unregister this device with the system. This function can not be called from the device's own SigChange event handler.

On successful unregistration, if this device supports the OnlineStatusChange event, it will trigger indicating the device when offline.


(Inherited from GenericDevice)
Top
Events
 NameDescription
Public eventBaseEvent Generic base event, triggered when the there are no other handlers available for a specific EventID.
(Inherited from GenericBase)
Public eventButtonStateChange Event fired when a button state change was received from the device.
(Inherited from KeypadBase)
Public eventIpInformationChange Event that tells what IP Address is connected/disconnected from an IP ID for a non-UDP device. This is only valid for an Ethernet device. An exception will be thrown if it is not.
(Inherited from GenericDevice)
Public eventLightSensorChange Event triggered when the LightSensorValue is reported as a percentage from 0% to 100%, as determined by the internal light sensor. ReportLightLevel must be true.
(Inherited from C2nCbdPBase)
Public eventOnlineStatusChange Event triggered when the Online status of the device changes.
(Inherited from GenericDevice)
Public eventThresholdStateChange Event triggered when the C2nCbdPBase reports ambient light is at or below or above the threshold, this event is only raised when EnableExtThreshold is set to false.
(Inherited from C2nCbdPBase)
Top
Fields
 NameDescription
Protected field_Buttons Collection that contains button objects.
(Inherited from KeypadBase)
Top
Example
Refer example code for C2nCbdP.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also