public static void initLtePopup()
        {
            try
            {
                if (SpeedportHybridAPI.getInstance().checkLogin().Equals(false))
                {
                    return;
                }

                ltepopupModel lte = Application.Current.FindResource("ltepopupModel") as ltepopupModel;

                string response = SpeedportHybridAPI.getInstance().sendEnryptedRequest("data/lteinfo.json");
                if (response.IsNullOrEmpty())
                {
                    return;
                }

                LteInfoModel obj = JsonConvert.DeserializeObject <LteInfoModel>(response);
                response = null;

                lte.phycellid = obj.phycellid;
                lte.cellid    = obj.cellid;
                lte.rsrp      = obj.rsrp;
                lte.rsrp_bg   = util.getRSRPColor(obj.rsrp.ToInt());
                lte.rsrq      = obj.rsrq;
                lte.rsrq_bg   = util.getRSRQColor(obj.rsrq.ToInt());

                DateTime time   = DateTime.Now;
                string   format = "dd.MM.yyyy HH:mm:ss";
                lte.datetime = time.ToString(format);

                obj = null;
            }
            catch (Exception ex)
            {
                LogManager.WriteToLog(ex.ToString());
            }
        }
        // quick & dirty
        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            ltepopupModel lm = Application.Current.FindResource("ltepopupModel") as ltepopupModel;

            lm.StopTimer();
        }