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

namespace VIZ.Framework.Connection
{
    /// <summary>
    /// 位长特性
    /// </summary>
    public class ConnBitLengthAttribute : Attribute
    {
        /// <summary>
        /// 位长特性
        /// </summary>
        /// <param name="length">位长</param>
        public ConnBitLengthAttribute(int length)
        {
            this.Length = length;
        }

        /// <summary>
        /// 位长度
        /// 1 Byte = 8bit
        /// 1 
        /// </summary>
        public int Length { get; set; }
    }
}
