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

namespace Mesnac.Action.ChemicalWeighing
{
    /// <summary>
    /// PlCSchema.xml文件配存盘数据项分组类  -- 对应add的父级节点
    /// </summary>
    public class PlcRecipeReader
    {
        public PlcRecipeReader()
        {
            this.EquipBrand = String.Empty;
            this.TargetTable = String.Empty;
            this.PlcFiledName = String.Empty;
            this.ThisCount = 1;
            this.ThisType = 0;
            this.ItemList = new List<PlcRecipeReaderItem>();
        }
        /// <summary>
        /// 所属PLC设备品牌
        /// </summary>
        public string EquipBrand { get; set; }
        /// <summary>
        /// 目标表
        /// </summary>
        public string TargetTable { get; set; }
        /// <summary>
        /// Plc别名
        /// </summary>
        public string PlcFiledName { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int ThisCount { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public int ThisType { get; set; }
        /// <summary>
        /// 数据项
        /// </summary>
        public List<PlcRecipeReaderItem> ItemList { get; set; }
    }
}