void HandleOnEnterExercise(ExerciseData exData)
        {
            HomeView.OnEnterExercise -= HandleOnEnterExercise;
            RemoveFramePanelVeiwEvents ();

            Debug.Log (exData.ToString ());

            DataController.OnUpdated += HandleOnDataUpdated;

            DataController.Instance.SetData (exData);
        }
        public ExerciseData(ExerciseData data)
        {
            title = data.title;
            description = data.description;
            gestureFilePath = data.gestureFilePath;
            tutorialGifName = data.tutorialGifName;
            image = data.image;

            repetition = data.repetition;
            duration = data.duration;
        }
        public ExerciseResult(User user, ExerciseData exeData)
        {
            FirstName = user.firstName;
            FamilyName = user.lastName;
            Email = user.email;

            DateTime = System.DateTime.Now.ToString();

            Exercise = exeData.title;
            Repetitions = exeData.repetition;
            Duration = Extention.SecondToMMSS (exeData.duration);
        }
        private void Init()
        {
            exeData = DataController.Instance.GetData ();
            Debug.Log (exeData.image.name);
            statusSubview.SetImage (exeData.image);

            count = exeData.repetition;
            totalTime = exeData.duration;

            popupView.gameObject.SetActive (false);

            StartTraining ();
        }