Dmc |
public sealed class Dmc4kzHd : Dmc4kHdBase
The Dmc4kzHd type exposes the following members.
| Name | Description | |
|---|---|---|
| Dmc4kzHd(UInt32, CrestronControlSystem) |
Card Constructor for an external DMCI version of this card.
DMInputEvents that would have triggered the Switcher's DMInputChange event will trigger the BaseEvent for this class. | |
| Dmc4kzHd(UInt32, Switch) | Card Constructor to drop on switcher |
| Name | Description | |
|---|---|---|
| Audio |
Sets the volume level at the DAC output.
"DAC" (digital-to-analog converter) refers the RCA stereo analog output (AUDIO OUT L/R).
Valid values range from 0 (-80dB) to 65535 (0dB).
On non-DSP models audio will only be heard if the format is 2-channel PCM. Otherwise the input has no effect
(Inherited from Dmc4kHdBase) | |
| ConnectedIpList |
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) | |
| Description |
Get/Set the description of this device.
(Inherited from GenericBase) | |
| Disposed |
Property to indicate if the device has been disposed.
(Inherited from GenericDevice) | |
| HdmiInput |
The Input DM Port
(Inherited from Dmc4kHdBase) | |
| HdmiOutput |
HDMI out port
(Inherited from Dmc4kHdBase) | |
| ID |
Property to get the ID of the device.
(Inherited from GenericDevice) | |
| IsOnline |
Property to get the current online state of the device.
(Inherited from GenericDevice) | |
| Name |
Get the name of this device.
(Inherited from GenericBase) | |
| OnlineFeedback |
Indicates whether the card is online or offline; that is, whether it is running properly (responding to polls) on the internal network.
The output will remain 'true' for as long as the card is online.
'true = Card online (running); 'false' = Card offline (not running)
(Inherited from Dmc4kHdBase) | |
| Parent |
The parent that a given object was added to.
(Inherited from GenericBase) | |
| PresentFeedback |
Indicates whether the card is physically plugged into the card slot on the DM switcher.
The output will remain 'true' for as long as the card is detected.
'true = Card present; 'false' = Card not installed.
(Inherited from Dmc4kHdBase) | |
| Registerable |
Property to indicate that this device can be registered.
(Inherited from GenericDevice) | |
| Registered |
Property to get the current registration state of the device.
(Inherited from GenericDevice) | |
| RegistrationFailureReason |
Property to get the Registration Failure Reason, this will match the return value from the call to register.
(Inherited from GenericDevice) | |
| SIMPLDeviceImplementation |
Internal protected member used for actual device control.
(Inherited from GenericDevice) | |
| Switcher |
Switcher this card is attached to.
(Inherited from CardDevice) | |
| SwitcherInputOutput |
Reference back to this cards corresponding switcher input or output.
(Inherited from CardDevice) | |
| Type |
The type of card created
(Inherited from CardDevice) | |
| UnRegistrationFailureReason |
Property to get the Unregistration Failure Reason, this will match the return value from the call to unregister.
(Inherited from GenericDevice) | |
| UsbPort |
Get access to the USB Out port.
(Inherited from Dmc4kHdBase) | |
| UserSpecifiedObject |
Can be assigned anything that user wants.
(Inherited from GenericBase) | |
| XioEndpointStubSIMPLDevice |
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) |
| Name | Description | |
|---|---|---|
| Dispose |
Clean up of resources.
(Inherited from GenericBase) | |
| Dispose(Boolean) |
Override of the dispose method to remove the card from the switcher.
This is only valid for Input cards and Output card modules (e.g. DmcoXX)
(Inherited from CardDevice) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
Destructor of the device.
(Inherited from GenericDevice) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| OnBaseEvent(Int32) |
Protected member used to fire the BaseEvent with the default extended information.
(Inherited from GenericBase) | |
| OnBaseEvent(Int32, UInt16) |
Protected member used to fine the BaseEvent with extended event information.
(Inherited from GenericBase) | |
| Register |
Register this device with the system.
(Inherited from GenericDevice) | |
| ToString |
String representation of this DM card.
(Inherited from CardDevice) | |
| UnRegister |
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) |
| Name | Description | |
|---|---|---|
| BaseEvent |
Generic base event, triggered when the there are no other handlers available
for a specific EventID.
(Inherited from GenericBase) | |
| IpInformationChange |
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) | |
| OnlineStatusChange |
Event triggered when the Online status of the device changes.
(Inherited from GenericDevice) |
static Dmc4kzHdDsp _dmc4kzHd; static DmMDMnxn _dmSwitcher; public ControlSystemDmc4kzHdXXX() { //Register console commands CrestronConsole.AddNewConsoleCommand(CreateDeviceAsSwitcherDmInputCmd, "CreateDevSwDmInput", "This is a DMC-4KZ-HD-XXX CreateDevSwDmInput command", ConsoleAccessLevelEnum.AccessOperator); } //Method to create the device as DM Switcher Input public void CreateDeviceAsSwitcherDmInputCmd(String args) { //For Switcher _dmSwitcher = new DmMd8x8(0x51, this); _dmc4kzHd = new Dmc4kzHdDsp(1, _dmSwitcher); _dmc4kzHd.HdmiInput.VideoAttributes.AttributeChange += HdmiInput_VideoAttributesEventHandler; _dmc4kzHd.HdmiOutput.StreamCec.CecChange += DmRmc4Kz_HdmiOutputStreamCecEventHandler; _dmSwitcher.DMInputChange += DmSwitcherDmInputEventHandler; _dmc4kzHd.HdmiOutput.ConnectedDevice.DeviceInformationChange += DmRmc4Kz_HdmiOutputDeviceInfoEventHandler; _dmc4kzHd.HdmiInput.StreamCec.CecChange += DmRmc4Kz_HdmiInputStreamCecEventHandler; _dmc4kzHd.UsbPort.UsbHidChange += DmRmc4Kz_UsbHidEventHandler; //Register the DM Switcher with the Control System _dmSwitcher.Register(); } //Method to handle the USB HID Sig Change Events static void DmRmc4Kz_UsbHidEventHandler(UsbHidPort usbHidPort, UsbHidEventArgs args) { if (args.EventId == UsbHidEventIds.DeviceDetectedEventId) { CrestronConsole.PrintLine("Device Detected event occurred for {0} device\r\n", usbHidPort.ToString()); } } //Method to handle the DM Input Sig Change Events public void DmSwitcherDmInputEventHandler(Switch device, DMInputEventArgs args) { if (args.EventId == DMInputEventIds.DacVolumeEventId) { CrestronConsole.PrintLine("{0} device DAC Volume Event occurred, Stream {1}\r\n", device.ToString(), args.Stream); } if (args.EventId == DMInputEventIds.OnlineFeedbackEventId) { CrestronConsole.PrintLine("Online Feedback event occurred for {0}, OnlineFeedback status is {1}", device.ToString(), _dmc4kzHd.OnlineFeedback.BoolValue); } if (args.EventId == DMInputEventIds.PresentFeedbackEventId) { CrestronConsole.PrintLine("Present Feedback event occurred for {0}, PresentFeedback status is {1}", device.ToString(), _dmc4kzHd.PresentFeedback.BoolValue); } } //Method to handle the HDMI Output Device Information Change Events public void DmRmc4Kz_HdmiOutputDeviceInfoEventHandler(ConnectedDeviceInformation connectedDevice, ConnectedDeviceEventArgs args) { if (args.EventId == ConnectedDeviceEventIds.ManufacturerEventId) { CrestronConsole.PrintLine("Manufacturer event occurred for {0} device of {1}\r\n", connectedDevice.ToString(), connectedDevice.Owner); CrestronConsole.PrintLine("Manufacturer Feedback Value is {0}\r\n", connectedDevice.Manufacturer.UShortValue); } } //Method to handle the HDMI Input Stream CEC Change Events public void HdmiInput_VideoAttributesEventHandler(object sender, GenericEventArgs args) { if (args.EventId == VideoAttributeEventIds.HorizontalResolutionFeedbackEventId) { CrestronConsole.PrintLine("Horizontal Resolution Feedback event occurred for {0} device of {1}\r\n", sender.ToString(), ((VideoAttributesBasic)sender).Owner); } else if (args.EventId == VideoAttributeEventIds.VerticalResolutionFeedbackEventId) { CrestronConsole.PrintLine("Vertical Resolution Feedback event occurred for {0} device\r\n", sender.ToString()); } } //Method to handle the HDMI Output Stream CEC Change Events public void DmRmc4Kz_HdmiOutputStreamCecEventHandler(Cec cecDevice, CecEventArgs args) { if (args.EventId == CecEventIds.ErrorFeedbackEventId) { CrestronConsole.PrintLine("{0} Error Feedback Event Occurred\r\n", cecDevice.ToString()); } } //Method to handle the HDMI Input Stream CEC Change Events static void DmRmc4Kz_HdmiInputStreamCecEventHandler(Cec cecDevice, CecEventArgs args) { if (args.EventId == CecEventIds.ErrorFeedbackEventId) { CrestronConsole.PrintLine("{0} Error Feedback Event Occurred\r\n", cecDevice.ToString()); } }