using Edge.Core.Parser.BinaryParser.Attributes;
using Edge.Core.Parser.BinaryParser;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Edge.Core.Parser.BinaryParser.MessageEntity;
using static VeederRoot_ATG_Console.MessageEntity.MessageBase;

namespace VeederRoot_ATG_Console.MessageEntity
{
    /// <summary>
    /// Most underlying message base as a parent for Normal VR msg and DispenserInterface msg.
    /// </summary>
    public abstract class MessageBaseGeneric : MessageTemplateBase
    {
        [Format(1, EncodingType.BIN, -9999)]
        public byte SOH { get; set; } = 0x01;

        public override string ToLogString()
        {
            return this.GetType().Name + "    " + base.ToLogString();
        }
    }
}