コード例 #1
0
        private void GoBack()
        {
            if (schedulerStatus.Status && !string.IsNullOrWhiteSpace(schedulerInput.text))
            {
                JobManager.SchedulerURL = schedulerInput.text;
                schedulerPlaceholder.SetText(JobManager.SchedulerURL);
            }
            else
            {
                schedulerInput.text = null;
                schedulerPlaceholder.SetText(JobManager.DEFAULT_URL);
            }

            if (routerStatus.Status && !string.IsNullOrWhiteSpace(routerInput.text))
            {
                RouteManager.RouterURL = routerInput.text;
                routerPlaceholder.SetText(RouteManager.RouterURL);
            }
            else
            {
                routerInput.text = null;
                routerPlaceholder.SetText(RouteManager.DEFAULT_URL);
            }

            if (timeScaleStatus.Status && !string.IsNullOrWhiteSpace(syncInput.text))
            {
                TimeKeeper.SyncURL = syncInput.text;
                syncPlaceholder.SetText(TimeKeeper.SyncURL);
            }
            else
            {
                syncInput.text = null;
                syncPlaceholder.SetText(TimeKeeper.DEFAULT_URL);
            }

            StartScreen.ShowMain();
        }
コード例 #2
0
 private static void GoBack() => StartScreen.ShowMain();