﻿namespace OpenProtocolInterpreter.MotorTuning
{
    /// <summary>
    /// Motor tuning result data subscribe
    /// <para>
    ///     Sets the subscription for the motor tuning result. 
    ///     The result of this command will be the transmission of the motor 
    ///     tuning result after the motor tuning is performed. The MID revision in 
    ///     the header is used to subscribe to different revisions of MID 0501 Motor 
    ///     tuning result data upload reply.
    /// </para>
    /// <para>Message sent by: Integrator</para>
    /// <para>Answer: <see cref="Communication.Mid0004"/> Command error, Motor Tuning subscription already exists or MID revision not supported</para>
    /// </summary>
    public class Mid0500 : Mid, IMotorTuning, IIntegrator
    {
        private const int LAST_REVISION = 1;
        public const int MID = 500;

        public Mid0500() : base(MID, LAST_REVISION) { }
    }
}
