eDmXioDirectorType Enumeration |
Enum used to know what type of XiO Director we have. If you have cast it to the
DmXioDirectorBase type, you can cast it
back to one of the derived types by casting it to the same classname as the enums below.
Namespace: Crestron.SimplSharpPro.DM.StreamingAssembly: Crestron.SimplSharpPro.DM (in Crestron.SimplSharpPro.DM.dll) Version: 2.21.121
Syntaxpublic enum eDmXioDirectorType
Members| Member name | Value | Description |
|---|
| Unknown | 0 |
Type of XiO Director is not known.
|
| DmXioDirector80 | 1 |
XiO Director is a DM-XIO-DIRECTOR-80.
|
| DmXioDirector160 | 2 |
XiO Director is a DM-XIO-DIRECTOR-160.
|
| DmXioDirectorEnterprise | 3 |
XiO Director is a DM-XIO-DIRECTOR-ENT (Enterprise).
|
ExampleDmXioDirectorBase _xioDirector = new DmXioDirector160(0x03, this);
if(_xioDirector.DmXioDirectorType == eDmXioDirectorType.DmXioDirector160)
{
DmXioDirector160 xio160 = (DmXioDirector160)_xioDirector;
}Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also