using DataEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XImagingXhandler.XDAL
{
///
/// 移动板位的方式
///
public enum GripTransportModeEnum
{
///
/// 所有耗材转移
///
TransportAll,
///
/// 留最底下一层
///
TransportExceptOne,
///
/// 从上往下,指定转移几层
///
TransportCount
}
public class MethodGripTransport:IEntity
{
public string isrun { get; set; } = string.Empty;
public string status { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
public string strIndex { get; set; } = string.Empty;
private string _label = string.Empty;
public string label
{
get { return _label; }
set
{
_label = value;
OnPropertyChanged("label");
}
}
///
/// arm名字
///
public string armText { get; set; } = string.Empty;
///
/// arm的ID
///
public string armValue { get; set; } = string.Empty;
#region source
///
/// source板位的名字
///
public string srcPositionText { get; set; } = string.Empty;
///
/// source板位的id
///
public string srcPositionValue { get; set; } = string.Empty;
///
/// source板位类型:0:载架;1:设备;2:台面(PositonTypeEnum)
///
public int srcPositionType { get; set; } = -1;
///
/// 抓板方向名称
///
public string gripModelText { get; set; } = string.Empty;
///
/// 抓板方向值
///
public int gripModelValue { get; set; } = -1;
///
/// 抓板耗材Id
///
public string gripPickLabwareValue { get; set; } = string.Empty;
///
/// 抓板耗材名称
///
public string gripPickLabwareText { get; set; } = string.Empty;
///
/// 抓板位置;1:底部;2:顶部
///
public string gripModelPosText { get; set; } = string.Empty;
///
/// 抓板位置
///
public int gripModelPosValue { get; set; } = -1;
///
/// 0:抓整板;1:按行抓;2:按列抓3:按孔抓
///
public int pickPosMode { get; set; } = 0;//0:抓整板;1:按行抓;2:按列抓3:按孔抓
public string pickPosValue { get; set; } = "0";//行号或者列号或者孔号
#endregion
#region destination
///
/// destination板位的名字
///
public string desPositionText { get; set; } = string.Empty;
///
/// destination的id
///
public string desPositionValue { get; set; } = string.Empty;
///
/// destination板位类型:0:载架;1:设备;2:台面
///
public int desPositionType { get; set; } = -1;
///
/// 放板方向名称
///
public string gripModelSetText { get; set; } = string.Empty;
///
/// 放板方向值
///
public int gripModelSetValue { get; set; } = -1;
///
/// 放板耗材Id
///
public string gripPlaceLabwareValue { get; set; } = "-1";
///
/// 放板耗材名称
///
public string gripPlaceLabwareText { get; set; } = string.Empty;
///
/// 0:放整板;1:按行放;2:按列放3:按孔放
///
public int placePosMode { get; set; } = 0;//0:放整板;1:按行放;2:按列放3:按孔放
public string placePosValue { get; set; } = "0";//行号或者列号或者孔号
#endregion
///
/// 移动最上层的?层耗材
///
private int _transportCount = 0;
public int transportCount
{
get { return _transportCount; }
set
{
_transportCount = value;
OnPropertyChanged("transportCount");
}
}
///
/// 移动板位的方式, GripTransportMode
///
public int transportMode { get; set; } = -1;
}
}