using System;
using System.Collections.Generic;

namespace Modbus.Net.FBox
{
    public class FBoxMachine : BaseMachine
    {
        public FBoxMachine(FBoxType fBoxType, string connectionString, string localSequence, SignalRSigninMsg msg,
            IEnumerable<AddressUnit> getAddresses, bool keepConnect) : base(getAddresses, keepConnect)
        {
            AddressFormater = new AddressFormaterFBox();
            AddressCombiner = new AddressCombinerFBox();
            BaseUtility = new FBoxUtility(fBoxType, connectionString, localSequence, CommunicateAddresses, msg);
        }
    }
}
