using SqlSugar;
using System;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace DataEntity.Rack
{
///
/// 台面以外的点位表
///
[SugarTable("position")]
public partial class PositionModel
{
///
/// 配置表主键ID
///
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
public string id { get; set; }
///
/// 点位类型;0:载架;1:设备;2:台面
///
[SugarColumn(ColumnName = "type")]
public int type { get; set; }
///
/// 点位名称
///
[SugarColumn(ColumnName = "name")]
public string name { get; set; }
///
/// x轴偏转
///
[SugarColumn(ColumnName = "positon_x")]
public double positon_x { get; set; }
///
/// y轴偏转
///
[SugarColumn(ColumnName = "positon_y")]
public double positon_y { get; set; }
///
/// z轴偏转
///
[SugarColumn(ColumnName = "positon_z")]
public double positon_z { get; set; }
///
/// 偏转角度
///
[SugarColumn(ColumnName = "gripper_rotational")]
public double gripper_rotational { get; set; }
///
/// 夹爪抓板的方向:1:夹爪屁股在右侧2:夹爪屁股在左侧:3:夹爪屁股在上侧;4:夹爪屁股在下侧(GripperModelEnum)
///
[SugarColumn(ColumnName = "gripper_model")]
public int gripper_model { get; set; }
///
/// 是否在pick后移动到指定位置: 0:否;1:是
///
[SugarColumn(ColumnName = "is_after_pick_move")]
public int is_after_pick_move { get; set; }
///
/// pick后移动到x轴的点位
///
[SugarColumn(ColumnName = "move_x")]
public double move_x { get; set; }
///
/// pick后移动到y轴的点位
///
[SugarColumn(ColumnName = "move_y")]
public double move_y { get; set; }
///
/// 关联主键ID
///
[SugarColumn(ColumnName = "relation_Id")]
public string relation_Id { get; set; }
///
/// 系统Id
///
[SugarColumn(ColumnName = "software_information_id")]
public string software_information_id { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "creat_name")]
public string creat_name { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_time")]
public DateTime? create_time { get; set; }
///
/// 修改人
///
[SugarColumn(ColumnName = "modify_name")]
public string modify_name { get; set; }
///
/// 修改时间
///
[SugarColumn(ColumnName = "modify_time")]
public DateTime? modify_time { get; set; }
}
///
/// 点位类型:0:载架;1:设备;2:台面
///
public enum PositonTypeEnum
{
///
/// 载架
///
[Description("载架")]
Rack = 0,
///
/// 设备
///
[Description("设备")]
Device = 1,
///
/// 台面
///
[Description("台面")]
Desktop = 2
}
///
/// 夹爪抓板的方向:1:夹爪尾部在右侧; 2:夹爪尾部在左侧; 3:夹爪尾部在上侧; 4:夹爪尾部在下侧
///
public enum GripperModelEnum
{
///
/// 夹爪轴心在板位右侧
///
[Description("夹爪轴心在板位右侧")]
Right = 1,
///
/// 夹爪轴心在板位左侧
///
[Description("夹爪轴心在板位左侧")]
Left = 2,
///
/// 夹爪轴心在板位上侧
///
[Description("夹爪轴心在板位上侧")]
Up = 3,
///
/// 夹爪轴心在板位下侧
///
[Description("夹爪轴心在板位下侧")]
Down = 4,
}
///
/// 是否在pick后移动到指定位置: 0:否;1:是
///
public enum IsAfterPickMoveEnum
{
///
/// 否
///
[Description("否")]
No = 0,
///
/// 设备
///
[Description("是")]
Yes = 1,
}
}