Пример #1
0
        public AddSeqMotion()
        {
            InitializeComponent();

            m_motion = MotionBase.GetInstanceInterface();
            if (m_motion != null)
            {
                int nAxisCnt = m_motion.GetAxisCount();
                for (int i = 0; i < nAxisCnt; i++)
                {
                    comboBox_index.Items.Add(m_motion.GetAxisDevName(i));
                }

                if (nAxisCnt > 0)
                {
                    comboBox_index.SelectedIndex = 0;
                }
            }
        }