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 菜品库的操作状态
///
/// 激光距离
///
public int LaserDistance { get; set; }
///
/// 菜品库当前X轴坐标
///
public int ArmPositionX { get; set; }
///
/// 菜品库当前Y轴坐标
///
public int ArmPositionY { get; set; }
///
/// 菜品库是否在工作中
///
public bool MaterailIsWorking { get; set; }
///
/// 初始化是否完成
///
public bool InitialComplete { get; set; }
///
/// 爪子伸出到位
///
public bool PawOutComplete { get; set; }
///
/// 爪子缩回到位
///
public bool PawInComplete { get; set; }
private bool _ArriveComplete = false;
///
/// 定位到达,上升沿捕获需要特殊处理
///
public bool ArriveComplete
{
get
{
return _ArriveComplete;
}
set
{
_ArriveComplete = value;
}
}
///
/// 爪子初始化完成
///
public bool PawInitialComplete { get; set; }
private bool _PawArrivePortOne = false;
///
/// 爪子到达一号位,上升沿捕获需要特殊处理
///
public bool PawArrivePortOne
{
get
{
var ret = _PawArrivePortOne;
_PawArrivePortOne = false;
return ret;
}
set
{
_PawArrivePortOne = value;
}
}
private bool _PawArrivePortTwo = false;
///
/// 爪子到达二号位,上升沿捕获需要特殊处理
///
public bool PawArrivePortTwo
{
get
{
var ret = _PawArrivePortTwo;
_PawArrivePortTwo = false;
return ret;
}
set
{
_PawArrivePortTwo = value;
}
}
private bool _PawArrivePortThree = false;
///
/// 爪子到达三号位
///
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
}
}