Esempio n. 1
0
        // Get Lock Status
        void switcher_DMSystemChange(Switch device, DMSystemEventArgs args)
        {
            switch (args.EventId)
            {
            case DMSystemEventIds.FrontPanelLockOnEventId:
                SwitcherLockPanelEvent(isLocked);
                break;

            case DMSystemEventIds.FrontPanelLockOffEventId:
                SwitcherLockPanelEvent(isLocked);
                break;
            }
        }
Esempio n. 2
0
 void TxRxPair_DMSystemChange(Switch device, DMSystemEventArgs args)
 {
     if (args.EventId == DMSystemEventIds.RemoteEndDetectedEventId)
     {
         RemoteEndDetectedFeedback.FireUpdate();
     }
     else if (args.EventId == DMSystemEventIds.TransmitterAutoModeOnEventId)
     {
         AutoRouteOnFeedback.FireUpdate();
     }
     else if (args.EventId == DMSystemEventIds.PriorityRoutingOnEventId)
     {
         PriorityRoutingOnFeedback.FireUpdate();
     }
     else if (args.EventId == DMSystemEventIds.OnScreenDisplayEnabledEventId)
     {
         InputOnScreenDisplayEnabledFeedback.FireUpdate();
     }
 }
        //public void SetInputHdcpSupport(uint input, ePdtHdcpSupport hdcpSetting)
        //{

        //}

        void Chassis_DMSystemChange(Switch device, DMSystemEventArgs args)
        {
            switch (args.EventId)
            {
            case DMSystemEventIds.SystemIdEventId:
            {
                Debug.Console(2, this, "SystemIdEvent Value: {0}", (Chassis as DmMDMnxn).SystemIdFeedback.UShortValue);
                SystemIdFeebdack.FireUpdate();
                break;
            }

            case DMSystemEventIds.SystemIdBusyEventId:
            {
                Debug.Console(2, this, "SystemIdBusyEvent State: {0}", (Chassis as DmMDMnxn).SystemIdBusy.BoolValue);
                SystemIdBusyFeedback.FireUpdate();
                break;
            }
            }
        }
        //Methods

        void device_DMSystemChange(Switch device, DMSystemEventArgs args)
        {
            switch (args.EventId)
            {
            case DMSystemEventIds.FrontPanelLockOnEventId:
                CrestronConsole.PrintLine("Dmps General DM System Change FrontpanelLockOn ID");
                DMPS3FrontpanelChange(IsLocked);
                break;

            case DMSystemEventIds.FrontPanelLockOffEventId:
                CrestronConsole.PrintLine("Dmps General DM System Change FrontpanelLockOff ID");
                DMPS3FrontpanelChange(IsLocked);
                break;

            case DMSystemEventIds.SystemPowerOnEventId:
                DMPS3PowerEventChange(true);
                break;

            case DMSystemEventIds.SystemPowerOffEventId:
                DMPS3PowerEventChange(false);
                break;
            }
        }
Esempio n. 5
0
 public void DMSystemChange(Switch device, DMSystemEventArgs args)
 {
 }