﻿namespace Naxis.Driver.Command
{
    /// <summary>
    /// 命令基类
    /// </summary>
    public abstract class Command : ICommand
    {
        /// <summary>
        /// 标识
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="id"></param>
        protected Command(string id)
        {
            Id = id;
        }
    }
}
