AC_BOX_Bean_Shelf.cs 1.0 KB
using OnlineStore.LoadCSVLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OnlineStore.DeviceLibrary
{
    /// <summary>
    /// 料架新增的出入库逻辑
    /// </summary>
    partial class AC_BOX_Bean
    {

        /// <summary>
        /// 开始入库移动移动
        /// </summary> 
        public void StartShelfInStore()
        {
         
            if (storeRunStatus == StoreRunStatus.Runing)
            {
              if(IOValue(IO_Type.LineIn_Check).Equals(IO_VALUE.HIGH))
                {
                    LogInfo(" 空闲中,检测到入料口有信号,入料口移门打开,");
                    storeRunStatus = StoreRunStatus.Busy;
                    storeStatus = StoreStatus.InStoreExecute;
                    MoveInfo.NewMove(StoreMoveType.InStore, new InOutParam());
                   MoveInfo.NextMoveStep(StoreMoveStep.BOX_M_H_TOP1_OtherAxisToP1)
                }
               
               
            } 
        }


    }
}