Beispiel #1
0
        /// <summary>
        /// Constructor
        /// </summary>
        public EssentialsHuddlePanelAvFunctionsDriver(PanelDriverBase parent, CrestronTouchpanelPropertiesConfig config)
            : base(parent.TriList)
        {
            Config         = config;
            Parent         = parent;
            PopupInterlock = new JoinedSigInterlock(TriList);

            SourcesSrl        = new SubpageReferenceList(TriList, 3200, 3, 3, 3);
            ActivityFooterSrl = new SubpageReferenceList(TriList, 15022, 3, 3, 3);
            ShareButtonSig    = ActivityFooterSrl.BoolInputSig(1, 1);

            SetupActivityFooterWhenRoomOff();

            ShowVolumeGauge = true;

            // One-second pulse extender for volume gauge
            VolumeGaugeFeedback = new BoolFeedbackPulseExtender(1500);
            VolumeGaugeFeedback.Feedback
            .LinkInputSig(TriList.BooleanInput[UIBoolJoin.VolumeGaugePopupVisible]);

            VolumeButtonsPopupFeedback = new BoolFeedbackPulseExtender(4000);
            VolumeButtonsPopupFeedback.Feedback
            .LinkInputSig(TriList.BooleanInput[UIBoolJoin.VolumeButtonPopupVisible]);

            PowerOffTimeout = 30000;

            TriList.StringInput[UIStringJoin.StartActivityText].StringValue =
                "Tap Share to begin";
        }
 public EssentialsHeaderDriver(EssentialsPanelMainInterfaceDriver parent, CrestronTouchpanelPropertiesConfig config)
     : base(parent.TriList)
 {
     Config         = config;
     Parent         = parent;
     CaretInterlock = new JoinedSigInterlock(TriList);
 }