예제 #1
0
        public override void Serialize(Stream stream)
        {
            base.Serialize(stream);

            GarminFitnessGuid linkedWorkoutId = new GarminFitnessGuid(LinkedWorkout.Id);

            linkedWorkoutId.Serialize(stream);
            m_WorkoutStepsCopy.Serialize(stream);
        }
예제 #2
0
        public void Deserialize_V14(Stream stream, DataVersion version)
        {
            base.Deserialize(typeof(IStep), stream, version);

            GarminFitnessGuid linkedWorkoutId = new GarminFitnessGuid();

            linkedWorkoutId.Deserialize(stream, version);
            m_LinkedWorkout = GarminWorkoutManager.Instance.GetWorkout(linkedWorkoutId);
        }