using BPA.Helper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.MorkF { internal class ML_MorkF { #region 菜品库的操作状态 /// <summary> /// 激光距离 /// </summary> public int LaserDistance { get; set; } /// <summary> /// 菜品库当前X轴坐标 /// </summary> public int ArmPositionX { get; set; } /// <summary> /// 菜品库当前Y轴坐标 /// </summary> public int ArmPositionY { get; set; } /// <summary> /// 菜品库是否在工作中 /// </summary> public bool MaterailIsWorking { get; set; } /// <summary> /// 初始化是否完成 /// </summary> public bool InitialComplete { get; set; } /// <summary> /// 爪子伸出到位 /// </summary> public bool PawOutComplete { get; set; } /// <summary> /// 爪子缩回到位 /// </summary> public bool PawInComplete { get; set; } private bool _ArriveComplete = false; /// <summary> /// 定位到达,上升沿捕获需要特殊处理 /// </summary> public bool ArriveComplete { get { return _ArriveComplete; } set { _ArriveComplete = value; } } /// <summary> /// 爪子初始化完成 /// </summary> public bool PawInitialComplete { get; set; } private bool _PawArrivePortOne = false; /// <summary> /// 爪子到达一号位,上升沿捕获需要特殊处理 /// </summary> public bool PawArrivePortOne { get { var ret = _PawArrivePortOne; _PawArrivePortOne = false; return ret; } set { _PawArrivePortOne = value; } } private bool _PawArrivePortTwo = false; /// <summary> /// 爪子到达二号位,上升沿捕获需要特殊处理 /// </summary> public bool PawArrivePortTwo { get { var ret = _PawArrivePortTwo; _PawArrivePortTwo = false; return ret; } set { _PawArrivePortTwo = value; } } private bool _PawArrivePortThree = false; /// <summary> /// 爪子到达三号位 /// </summary> public bool PawArrivePortThree { get { var ret = _PawArrivePortThree; _PawArrivePortThree = false; return ret; } set { _PawArrivePortThree = value; } } public bool PawPositon_1 { get; set; } public bool PawPositon_2 { get; set; } public bool PawPositon_3 { get; set; } #endregion #region #endregion } }