MycronicControl.cs 1.2 KB
using DeviceLibrary;
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 TheMachine.device.Other
{
    public partial class MycronicControl : UserControl
    {
        public MycronicControl()
        {
            InitializeComponent();
        }

        private void MycronicControl_Load(object sender, EventArgs e)
        {
            uc_boxdebug1.Init(RobotManage.MI1Postion);
            uc_boxdebug2.Init(RobotManage.MI2Postion);
            uc_boxdebug3.Init(RobotManage.CIPostion);

            ucurRobot1.Init(RobotManage.Robot_MI1);
            ucurRobot2.Init(RobotManage.Robot_MI2);
            ucurRobot3.Init(RobotManage.Robot_CI);
            
        }

        private void tabPage4_Click(object sender, EventArgs e)
        {

        }

        private void btn_manualout_Click(object sender, EventArgs e)
        {
            RobotManage.VStoreCollection.VLog.Info("手动出库:"+ txt_reelid.Text);
            RobotManage.VStoreCollection.BeginOutStore(new JobInfo(txt_reelid.Text, "", 0, 0), RobotManage.VStoreCollection.VLog);
        }
    }
}