private void OnMultHistoryToggleChange(bool ison)
 {
     if (ison)
     {
         LocationHistoryUITool.Show();
     }
     else
     {
         LocationHistoryUITool.Hide();
     }
 }
 /// <summary>
 /// 历史路径
 /// </summary>
 /// <param name="isOn"></param>
 private void OnHistoricalToggleChange(bool isOn)
 {
     if (ConfigButton.instance)
     {
         ConfigButton.instance.ChoseConfigView();                       //关闭打开的配置界面
     }
     //IsHistorical = true;
     ParkInformationManage.Instance.ClosePerAndDevAlarmWindow();
     ParkInformationManage.Instance.ShowParkInfoUI(!isOn);
     ChangeImage(isOn, HistoricalToggle);
     Debug.Log("OnHistoricalToggleChange:" + isOn);
     if (isOn)
     {
         AlarmPushManage.Instance.CloseAlarmPushWindow(false);
         IsHistorical = true;
         if (LocationManager.Instance.IsFocus)
         {
             LocationManager.Instance.RecoverBeforeFocusAlign(() =>
             {
                 OnHistoricalToggleTrue();
             }, false);
         }
         else
         {
             OnHistoricalToggleTrue();
         }
     }
     else
     {
         if (SceneAssetManager.Instance)
         {
             SceneAssetManager.Instance.RecoverEnableLoadBuilding();
         }
         AlarmPushManage.Instance.CloseAlarmPushWindow(true);
         //AlarmPushManage.Instance.IsShow.isOn = true ;
         ActionBarManage.Instance.Show();
         FunctionSwitchBarManage.Instance.SetWindow(true);
         MonitorRangeManager.Instance.ShowRanges(FactoryDepManager.currentDep);
         LocationHistoryUITool.Hide();
         if (BaoXinTitle.Instance)
         {
             BaoXinTitle.Instance.Show();
         }
         IsHistorical = false;
     }
     SetOtherUIStateInHistoricalMode(isOn);
 }