BoxEquip_PosDebug.cs 1.1 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OnlineStore.DeviceLibrary
{
    partial class BoxEquip
    {
        public bool isInitPosDebugInfo = false;
        public void InitPosDebugInfo()
        {
            PosDebugResultManager.Init(PositionNumList);
            isInitPosDebugInfo = PosDebugResultManager.isInit;
        }

        public void PosDebugProcess()
        {
            if (MoveInfo.IsInWait)
            {
                CheckWait(MoveInfo);
            }
            if (MoveInfo.IsInWait)
            {
                return;
            }
        }
    }
    public class PosDebugInfo
    {
        public string PosSide { get; set; }
        public int StartDrawerRow { get; set; }
        public int StartDrawerCol { get; set; }
        public int StartRowInDrawer { get; set; }
        public int StartColInDrawer { get; set; }
        public int EndDrawerRow { get; set; }
        public int EndDrawerCol { get; set; }
        public int EndRowInDrawer { get; set; }
        public int EndColInDrawer { get; set; }
    }
}