Example #1
0
        /// <summary>
        /// Responds to time zone changes and updates the appropriate feedbacks
        /// </summary>
        /// <param name="args"></param>
        private void TimeZoneInformation_TimeZoneChange(TimeZoneEventArgs args)
        {
            Debug.Console(2, this, "Time Zone Change Detected.");
            TimeZoneFeedback.FireUpdate();
            TimeZoneTextFeedback.FireUpdate();

            OnSystemMonitorPropertiesChanged();
        }
Example #2
0
        private void UpdateFeedback(object o)
        {
            TimeZoneFeedback.FireUpdate();
            TimeZoneTextFeedback.FireUpdate();
            IoControllerVersionFeedback.FireUpdate();
            SnmpVersionFeedback.FireUpdate();
            BaCnetAppVersionFeedback.FireUpdate();
            ControllerVersionFeedback.FireUpdate();
            SerialNumberFeedback.FireUpdate();
            ModelFeedback.FireUpdate();

            OnSystemMonitorPropertiesChanged();
        }
        /// <summary>
        /// Gets data in separate thread
        /// </summary>
        /// <param name="command"></param>
        void RefreshSystemMonitorData(string command)
        {
            // this takes a while, launch a new thread
            CrestronInvoke.BeginInvoke((o) =>
            {
                TimeZoneFeedback.FireUpdate();
                TimeZoneTextFeedback.FireUpdate();
                IOControllerVersionFeedback.FireUpdate();
                SnmpVersionFeedback.FireUpdate();
                BACnetAppVersionFeedback.FireUpdate();
                ControllerVersionFeedback.FireUpdate();

                OnSystemMonitorPropertiesChanged();
            }
                                       );
        }