using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ProductionControl
{
    public partial class FrmDebug : Form
    {
        public FrmDebug()
        {
            InitializeComponent();
            initDataView();
        }
        private void initDataView()
        {
            var list = new BindingList<Process>();
            //list.Add(new Process("扫码枪"));
            //list.Add(new Process("加紧气缸"));
            //list.Add(new Process("张力测量"));
            //list.Add(new Process("厚度测量"));
            //list.Add(new Process("滑台电机1"));
            //list.Add(new Process("滑台电机2"));
            //list.Add(new Process("滑台电机3"));
            //list.Add(new Process("滑台电机4"));
            //list.Add(new Process("滑台电机5"));
            //list.Add(new Process("光源"));
            //list.Add(new Process("AI检测-尺寸"));
            //list.Add(new Process("AI检测-缺陷"));
            //list.Add(new Process("AI检测-其它"));
            //dataGridView1.DataSource = new BindingSource(list, null); 
        }

        private class Process
        {
            public Process(string _name)
            {
                name = _name;
            }
            public string name { get; set; }
        }
    }
}
