TSAVPosition.cs 949 字节
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TSA_V.LoadCSVLibrary
{
    public class TSAVPosition : PostionBase
    {  
        /// <summary>
        ///旋转位置
        /// </summary>
        [CSVAttribute("旋转位置")]
        public int RotatePosition { get; set; }

        /// <summary>
        ///对应的元器件
        /// </summary>
        [CSVAttribute("元器件")]
        public int ComponentId { get; set; }
        public string pointTypeStr
        {
            get
            {
                ComponentInfo obj = ComponentManager.getById(pointType);
                if (obj != null)
                {
                    return obj.name;
                }
                else
                {
                    return "未定义";
                }
            }
            set
            {
            }
        }
   
    }
}