using DataEntity;
|
using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace XImagingXhandler.XDAL
|
{
|
/// <summary>
|
/// Ì¨Ãæ°åλʵÌåÀà
|
/// </summary>
|
[SugarTable("lattice")]
|
public class Lattice : IEntity
|
{
|
private string _lattice_id { get; set; } = "";
|
/// <summary>
|
/// Ì¨Ãæ°åλId
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_id", IsPrimaryKey = true)]
|
public string lattice_id
|
{
|
get { return _lattice_id; }
|
set
|
{
|
if (lattice_id == value) return;
|
_lattice_id = value;
|
OnPropertyChanged(nameof(lattice_id));
|
}
|
}
|
|
private string _lattice_num { get; set; }
|
/// <summary>
|
/// Ì¨Ãæ°åλ±àºÅÃû³Æ
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_num")]
|
public string lattice_num
|
{
|
get { return _lattice_num; }
|
set
|
{
|
if (lattice_num == value) return;
|
_lattice_num = value;
|
OnPropertyChanged(nameof(lattice_num));
|
}
|
}
|
|
private double _lattice_X { get; set; }
|
/// <summary>
|
/// Ì¨Ãæ°åλÄÚ×óÉϽǶ¥µãµÄxÖáλÖÃÖµ£¨µ¥Î»£ººÁÃ×£©
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_X")]
|
public double lattice_X
|
{
|
get { return _lattice_X; }
|
set
|
{
|
if (lattice_X == value) return;
|
_lattice_X = value;
|
OnPropertyChanged(nameof(lattice_X));
|
}
|
}
|
|
private double _lattice_Y { get; set; }
|
/// <summary>
|
/// Ì¨Ãæ°åλÄÚ×óÉϽǶ¥µãµÄyÖáλÖÃÖµ£¨µ¥Î»£ººÁÃ×£©
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_Y")]
|
public double lattice_Y
|
{
|
get { return _lattice_Y; }
|
set
|
{
|
if (lattice_Y == value) return;
|
_lattice_Y = value;
|
OnPropertyChanged(nameof(lattice_Y));
|
}
|
}
|
|
private double _lattice_Z { get; set; }
|
/// <summary>
|
/// Ì¨Ãæ°åλÄÚ×óÉϽǶ¥µãµÄzÖáλÖÃÖµ£¨µ¥Î»£ººÁÃ×£©
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_Z")]
|
public double lattice_Z
|
{
|
get { return _lattice_Z; }
|
set
|
{
|
if (lattice_Z == value) return;
|
_lattice_Z = value;
|
OnPropertyChanged(nameof(lattice_Z));
|
}
|
}
|
|
private double _lattice_length { get; set; }
|
/// <summary>
|
/// Ì¨Ãæ°åλÄÚ³¤¶ÈÖµ£¨µ¥Î»ºÁÃ×£©
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_length")]
|
public double lattice_length
|
{
|
get { return _lattice_length; }
|
set
|
{
|
if (lattice_length == value) return;
|
_lattice_length = value;
|
OnPropertyChanged(nameof(lattice_length));
|
}
|
}
|
|
private double _lattice_width { get; set; }
|
/// <summary>
|
/// Ì¨Ãæ°åλÄÚ¿í¶ÈÖµ£¨µ¥Î»ºÁÃ×£©
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_width")]
|
public double lattice_width
|
{
|
get { return _lattice_width; }
|
set
|
{
|
if (lattice_width == value) return;
|
_lattice_width = value;
|
OnPropertyChanged(nameof(lattice_width));
|
}
|
}
|
|
/// <summary>
|
/// ·½¸ñ±¾Éí¾àÀëÌ¨ÃæÔµãµÄ¸ß¶È£¨µ¥Î»£ººÁÃ×£©
|
/// </summary>
|
private double _lattice_height { get; set; }
|
/// <summary>
|
/// Ì¨Ãæ°åλÄÚ±íÃæzÖáÖµ£¨µ¥Î»ºÁÃ×£©
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_height")]
|
public double lattice_height
|
{
|
get { return _lattice_height; }
|
set
|
{
|
if (lattice_height == value) return;
|
_lattice_height = value;
|
OnPropertyChanged(nameof(lattice_height));
|
}
|
}
|
|
private double _lattice_lp_X { get; set; } = 0d;
|
/// <summary>
|
/// Ì¨Ãæ°åλÄÚ×óÉϽǶ¥µãÐ£×¼Æ«ÒÆ×ø±êxÖᣨµ¥Î»ºÁÃ×£©
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_lp_X")]
|
public double lattice_lp_X
|
{
|
get { return _lattice_lp_X; }
|
set
|
{
|
if (lattice_lp_X == value) return;
|
_lattice_lp_X = value;
|
OnPropertyChanged(nameof(lattice_lp_X));
|
}
|
}
|
|
private double _lattice_lp_Y { get; set; } = 0d;
|
/// <summary>
|
/// Ì¨Ãæ°åλÄÚ×óÉϽǶ¥µãÐ£×¼Æ«ÒÆ×ø±êyÖᣨµ¥Î»ºÁÃ×£©
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_lp_Y")]
|
public double lattice_lp_Y
|
{
|
get { return _lattice_lp_Y; }
|
set
|
{
|
if (lattice_lp_Y == value) return;
|
_lattice_lp_Y = value;
|
OnPropertyChanged(nameof(lattice_lp_Y));
|
}
|
}
|
|
private double _lattice_lp_Z { get; set; } = 0d;
|
/// <summary>
|
/// Ì¨Ãæ°åλÄÚ×óÉϽǶ¥µãÐ£×¼Æ«ÒÆ×ø±êzÖᣨµ¥Î»ºÁÃ×£©
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_lp_Z")]
|
public double lattice_lp_Z
|
{
|
get { return _lattice_lp_Z; }
|
set
|
{
|
if (lattice_lp_Z == value) return;
|
_lattice_lp_Z = value;
|
OnPropertyChanged(nameof(lattice_lp_Z));
|
}
|
}
|
|
private double _gripper_rotational { get; set; }
|
/// <summary>
|
/// Õý×¥½Ç¶È£¨µ¥Î»¡ã£©
|
/// </summary>
|
[SugarColumn(ColumnName = "gripper_rotational")]
|
public double gripper_rotational
|
{
|
get { return _gripper_rotational; }
|
set
|
{
|
if (gripper_rotational == value) return;
|
_gripper_rotational = value;
|
OnPropertyChanged(nameof(gripper_rotational));
|
}
|
}
|
|
private double _gripper_over_rotational { get; set; }
|
/// <summary>
|
/// ·´×¥½Ç¶È£¨µ¥Î»¡ã£©
|
/// </summary>
|
[SugarColumn(ColumnName = "gripper_over_rotational")]
|
public double gripper_over_rotational
|
{
|
get { return _gripper_over_rotational; }
|
set
|
{
|
if (gripper_over_rotational == value) return;
|
_gripper_over_rotational = value;
|
OnPropertyChanged(nameof(gripper_over_rotational));
|
}
|
}
|
|
private string _software_information_id { get; set; }
|
/// <summary>
|
/// Èí¼þÐÅϢʵÌåid
|
/// </summary>
|
[SugarColumn(ColumnName = "software_information_id")]
|
public string software_information_id
|
{
|
get { return _software_information_id; }
|
set
|
{
|
if (software_information_id == value) return;
|
_software_information_id = value;
|
OnPropertyChanged(nameof(software_information_id));
|
}
|
}
|
|
private int _is_trash { get; set; }
|
/// <summary>
|
/// ÊÇ·ñÊÇÀ¬»øÍ°°åλ£»1:ÊÇ£»0£º·ñ£»
|
/// </summary>
|
[SugarColumn(ColumnName = "is_trash")]
|
public int is_trash
|
{
|
get { return _is_trash; }
|
set
|
{
|
if (is_trash == value) return;
|
_is_trash = value;
|
OnPropertyChanged(nameof(is_trash));
|
}
|
}
|
|
private int _device_arm_id { get; set; }
|
/// <summary>
|
/// É豸»úе±ÛʵÌåID
|
/// </summary>
|
[SugarColumn(ColumnName = "device_arm_id")]
|
public int device_arm_id
|
{
|
get { return _device_arm_id; }
|
set
|
{
|
if (device_arm_id == value) return;
|
_device_arm_id = value;
|
OnPropertyChanged(nameof(device_arm_id));
|
}
|
}
|
|
private int _lattice_ch { get; set; }
|
/// <summary>
|
/// É豸ͨµÀºÅ(É豸Ӳ¼þ¹ØÁª)
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_ch")]
|
public int lattice_ch
|
{
|
get { return _lattice_ch; }
|
set
|
{
|
if (lattice_ch == value) return;
|
_lattice_ch = value;
|
OnPropertyChanged(nameof(lattice_ch));
|
}
|
}
|
|
private int _lattice_state { get; set; }
|
/// <summary>
|
/// °åλ״̬£»0£ºÒÑɾ³ý£»1£º¿ÉÓÃ
|
/// </summary>
|
[SugarColumn(ColumnName = "lattice_state")]
|
public int lattice_state
|
{
|
get { return _lattice_state; }
|
set
|
{
|
if (lattice_state == value) return;
|
_lattice_state = value;
|
OnPropertyChanged(nameof(lattice_state));
|
}
|
}
|
|
private double _lattice_pixel_x { get; set; } = 0;
|
/// <summary>
|
/// °åλ×óÉϽÇÔÚÌ¨ÃæÉϵÄÏñËØ×ø±êx
|
/// </summary>
|
[SugarColumn(IsIgnore =true)]
|
[Description("°åλ×óÉϽÇÔÚÌ¨ÃæÉϵÄÏñËØ×ø±êx")]
|
public double lattice_pixel_x
|
{
|
get { return _lattice_pixel_x; }
|
set
|
{
|
if (lattice_pixel_x == value) return;
|
_lattice_pixel_x = value;
|
OnPropertyChanged(nameof(lattice_pixel_x));
|
}
|
}
|
|
private double _lattice_pixel_y { get; set; } = 0;
|
/// <summary>
|
/// °åλ×óÉϽÇÔÚÌ¨ÃæÉϵÄÏñËØ×ø±êy
|
/// </summary>
|
[SugarColumn(IsIgnore = true)]
|
[Description("°åλ×óÉϽÇÔÚÌ¨ÃæÉϵÄÏñËØ×ø±êy")]
|
public double lattice_pixel_y
|
{
|
get { return _lattice_pixel_y; }
|
set
|
{
|
if (lattice_pixel_y == value) return;
|
_lattice_pixel_y = value;
|
OnPropertyChanged(nameof(lattice_pixel_y));
|
}
|
}
|
|
private string _labware_id { get; set; } = "";
|
/// <summary>
|
/// ºÄ²ÄId
|
/// </summary>
|
[SugarColumn(IsIgnore = true)]
|
[Description("ºÄ²ÄId")]
|
public string labware_id
|
{
|
get { return _labware_id; }
|
set
|
{
|
if (labware_id == value) return; // ±ÜÃâÖØ¸´ÉèÖÃÏàͬµÄÖµ
|
_labware_id = value;
|
OnPropertyChanged(nameof(labware_id));
|
}
|
}
|
}
|
|
/// <summary>
|
/// ÊÇ·ñÊÇÀ¬»øÍ°£»1:ÊÇ£»0£º·ñ
|
/// </summary>
|
public enum IsTrashEnum
|
{
|
/// <summary>
|
/// ·ñ
|
/// </summary>
|
[Description("·ñ")]
|
No = 0,
|
|
/// <summary>
|
/// ÊÇ
|
/// </summary>
|
[Description("ÊÇ")]
|
Yes = 1
|
}
|
}
|