MainMachine _IOMonitor.cs 929 字节
using CodeLibrary;
using OnlineStore.Common;
using OnlineStore.LoadCSVLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DeviceLibrary
{
    partial class MainMachine
    {
        void ioMonitor()
        {           

            //右侧料串已空
            //if (RightMoveInfo.IsStep(MoveStep.Wait) && IOValue(IO_Type.RightEnd_Check).Equals(IO_VALUE.HIGH) && RightShelfNoTray)
            {
                Msg.add("右侧料串已空,等待取走料串", MsgLevel.warning);
            }
            //左侧料串已满
            //if (LeftMoveInfo.IsStep(MoveStep.Wait) && IOValue(IO_Type.LeftEnd_Check).Equals(IO_VALUE.HIGH) && LeftShelfNoTray)
            {
                Msg.add("作侧料串已满,等待取走料串", MsgLevel.warning);
            }
        }
    }
}