/// <summary>完成文件下载</summary>
 private void TurnToMainWindows(bool recreate = true)
 {
     Count++;
     IrAdvanced.InitClass();             //初始本软件变量类
     if (IrAdvanced.ObjJsonData == null) //检查JSON对象
     {
         WelcomeText.Text = "没有找到可用的数据或节目配置错误\n请与供应商联系!...\n\n设备号:" + IrAdvanced.StrDeviceId;
     }
     else
     {
         Hide();
         if (recreate)
         {
             var frmNew = new MainWindow(Count == 1);
             frmNew.Show();
         }
         else
         {
             if (IrAdvanced.WinMain != null)
             {
                 IrAdvanced.WinMain.Show();
             }
         }
     }
 }