Click or drag to resize

DmRmc4kz100C Class

The DM-RMC-4KZ-100-C is a 4K capable DigitalMedia room controller and receiver designed for mounting behind flat panel displays or above ceiling-mounted projectors.

This class will trigger CecChange and OutputStreamChange events.

Inheritance Hierarchy

Namespace: Crestron.SimplSharpPro.DM.Endpoints.Receivers
Assembly: Crestron.SimplSharpPro.DM (in Crestron.SimplSharpPro.DM.dll) Version: 2.21.121
Syntax
C#
public sealed class DmRmc4kz100C : DmRmc100C

The DmRmc4kz100C type exposes the following members.

Constructors
 NameDescription
Public methodDmRmc4kz100C(DMOutput) Constructor to generate a new DM-RMC-4KZ-100-C DM receiver that is connected to a DMPS3-4K or DM Blade.
Public methodDmRmc4kz100C(UInt32, CrestronControlSystem) Constructor to generate a new DM-RMC-4KZ-100-C DM receiver that is controlled separately from a DM switcher.
Public methodDmRmc4kz100C(UInt32, DMOutput) Constructor to generate a new DM-RMC-4KZ-100-C DM receiver that is connected to a switcher's DM Output.
Top
Properties
 NameDescription
Public propertyComPorts Collection of serial COM ports on the device.

This property will trigger PropertyChanged with Property.


(Inherited from DmRmc100C)
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 propertyDmInputStreamCec Get access to the room controller's ability to send and receive CEC messages over the DM Input port.

The CecChange event will trigger with CecEventIds.

Public propertyDMOutput Reference back to the DM Output this receiver is attached to.
(Inherited from EndpointReceiverBase)
Public propertyHDBaseTDevice Get the current HDBaseTBase attached to this DM Input/Output
(Inherited from DMEndpointBase)
Public propertyHdmiOutput Get the HDMI Output port for this Endpoint.

The OutputStreamChange event will trigger with EndpointOutputStreamEventIds.

Public propertyID Property to get the ID of the device.
(Inherited from GenericDevice)
Public propertyIROutputPorts Collection of IR output ports on the device.
(Inherited from DmRmc100C)
Public propertyIsOnline Property to get the current online state of the device.
(Inherited from GenericDevice)
Public propertyName Get the name of this device.
(Inherited from GenericBase)
Public propertyNumberOfComPorts Number of serial COM ports this device supports.
(Inherited from DmRmc100C)
Public propertyNumberOfIROutputPorts Number of IR output ports this device supports.
(Inherited from DmRmc100C)
Public propertyParent The parent that a given object was added to.
(Inherited from GenericBase)
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)
Protected propertySIMPLDeviceImplementation Internal protected member used for actual device control.
(Inherited from GenericDevice)
Public propertyStreamCec Get access to the room controller's ability to send and receive CEC messages over the HDMI port.

This property will trigger CecChange with CecEventIds.


(Inherited from DmRmc100C)
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)
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 methodDispose Clean up of resources.
(Inherited from GenericBase)
Protected methodDispose(Boolean) Method to dispose the endpoint.
(Inherited from EndpointReceiverBase)
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 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 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 eventOnlineStatusChange Event triggered when the Online status of the device changes.
(Inherited from GenericDevice)
Top
Example
C#
static DmRmc4kz100C _dmRmc4kz100C;
static DmMDMnxn _dmswitcher;

//ControlSystemDmRmc4kz100C class constructor
public ControlSystemDmRmc4kz100C()
{
    //Register console commands
    CrestronConsole.AddNewConsoleCommand(CreateDeviceCmd, "CreateDevice", "This is a DM-RMC-4KZ-100-C CreateDevice command", ConsoleAccessLevelEnum.AccessOperator);
}

//Method to create the device
public void CreateDeviceCmd(String args)
{
    _dmRmc4kz100C = new DmRmc4kz100C(0x18, this);

    //Register the device with the Control System
    _dmRmc4kz100C.Register();

    _dmRmc4kz100C.DmInputStreamCec.CecChange += DmInput_StreamCecEventHandler;
    _dmRmc4kz100C.StreamCec.CecChange += DmRmc4Kz_HdmiStreamCecEventHandler;
}

//Method to handle the HDMI Out Stream CEC Events
public void DmRmc4Kz_HdmiStreamCecEventHandler(Cec cecdevice, CecEventArgs args)
{
    if (args.EventId == CecEventIds.ErrorFeedbackEventId)
    {
        CrestronConsole.PrintLine("{0} Error Feedback Event Occurred\r\n", _dmRmc4kz100C.StreamCec.ToString());
    }
    else if (args.EventId == CecEventIds.CecMessageReceivedEventId)
    {
        CrestronConsole.PrintLine("{0} Message Received Event Occurred\r\n", _dmRmc4kz100C.StreamCec.ToString());
    }
}

//Method to handle the DM In Stream CEC Events
static void DmInput_StreamCecEventHandler(Cec cecdevice, CecEventArgs args)
{
    if (args.EventId == CecEventIds.ErrorFeedbackEventId)
    {
        CrestronConsole.PrintLine("{0} Error Feedback Event Occurred\r\n", _dmRmc4kz100C.DmInputStreamCec.ToString());
    }
    else if (args.EventId == CecEventIds.CecMessageReceivedEventId)
    {
        CrestronConsole.PrintLine("{0} Message Received Event Occurred\r\n", _dmRmc4kz100C.DmInputStreamCec.ToString());
    }
}

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also