using IOB_UT_NEXT;
using IOB_UT_NEXT.Config;
using MapoSDK;
using System.Collections.Generic;

namespace IOB_WIN_OPC_UA.IobOpc
{
    public class OpcUaEwonBLM : OpcUaEwon
    {
        #region Public Constructors

        /// <summary>
        /// Estende l'init della classe base, impiegando il pacchetto Nuget OPC-UA foundation con la
        /// gestione specifica per EWON (es Monti, Tenditalia) 
        /// https://github.com/OPCFoundation/UA-.NETStandard
        /// </summary>
        /// <param name="caller">Form chiamante</param>
        /// <param name="IOBConf">Configurazione (legacy)</param>
        /// <param name="IobConfFull">Configurazione (v 4.x)</param>
        public OpcUaEwonBLM(AdapterFormNext caller, IobConfTree IobConfFull) : base(caller, IobConfFull)
        {
            lgInfo("Init Ewon versione BLM (Mecart)");
            sendKeyRichiesta = true;
        }

        #endregion Public Constructors

        #region Protected Methods

        /// <summary>
        /// Effettua vera scrittura parametri
        /// </summary>
        /// <param name="updatedPar"></param>
        protected override void plcWriteParams(ref List<objItem> updatedPar)
        {
            base.plcWriteParams(ref updatedPar);
        }

        #endregion Protected Methods
    }
}