General interface for system control on a DM Switcher. The SystemControlType can be examined and then the object can be cast accordingly to the class
that has the same name as the enum type. For example:
| Copy |
---|
void TurnOnSystem(ISystemControl MySystemControl)
{
if(MySystemControl.SystemControlType == eSystemControlType.Dmps3SystemControl)
{
((Dmps3SystemControl)MySystemControl).SystemPowerOn();
}
} |
Namespace: Crestron.SimplSharpPro.DMAssembly: SimplSharpPro (in SimplSharpPro.exe)
Syntax
C# |
---|
public interface ISystemControl |
See Also