using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using skyscraper5.Skyscraper;

namespace skyscraper5.T2MI.Packets.AdressingFunctions
{
    public abstract class AddressingFunction : Validatable
    {
        public byte Tag { get; }
        public bool ApplicableToT { get; }
        public bool ApplicableToT2 { get; }
        public ushort TxIdentifier { get; set; }

        protected AddressingFunction(byte tag, bool applicableToT, bool applicableToT2)
        {
            Tag = tag;
            ApplicableToT = applicableToT;
            ApplicableToT2 = applicableToT2;
        }
    }
}
