using System;
using System.Collections.Generic;
using System.Linq;
using iSTP_Embedded;

namespace iSTP_DataProcessing
{
    /// <summary>
    /// Interface for all BatchX classes
    /// </summary>
    public interface ICompensatoryMode
    {
        /// <summary>
        /// From incoming data packet calculates new values
        /// </summary>
        /// <param name="packet">Incoming data packet</param>
        /// <returns>Array with new values</returns>
        float[] GetCompValues(EmbeddedPacket packet);
        /// <summary>
        /// Compare current configuration with internal database
        /// </summary>
        /// <param name="packet">Current configuration</param>
        /// <returns>Array of results of compare</returns>
        bool[] SensorsVerification(ISTPConfiguration packet);
    }
}
