schangxiang@126.com
2025-11-04 f5ed29dc26c7cd952d56ec5721a2efc43cd25992
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace DataEntity
{
    /// <summary>
    /// 台面模板关联板位类
    /// </summary>
    public class TabletopRelLattice:IEntity
    {
        private string _tabletopid { get; set; } = "";
        /// <summary>
        /// 模板Id
        /// </summary>
        [SugarColumn(ColumnName = "tabletopid", IsPrimaryKey = true)]
        [Description("模板Id")]
        public string tabletopid
        {
            get { return _tabletopid; }
            set
            {
                if (tabletopid == value) return;
                _tabletopid = value;
                OnPropertyChanged(nameof(tabletopid));
            }
        }
 
        private int _lattice_id { get; set; } = 0;
        /// <summary>
        /// 台面板位Id
        /// </summary>
        [SugarColumn(ColumnName = "lattice_id")]
        [Description("台面板位Id")]
        public int lattice_id
        {
            get { return _lattice_id; }
            set
            {
                if (lattice_id == value) return;
                _lattice_id = value;
                OnPropertyChanged(nameof(lattice_id));
            }
        }
 
        private double _lattice_pixel_x { get; set; } = 0;
        /// <summary>
        /// 板位左上角在台面上的像素坐标x
        /// </summary>
        [SugarColumn(ColumnName = "lattice_pixel_x")]
        [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(ColumnName = "lattice_pixel_y")]
        [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(ColumnName = "labware_id")]
        [Description("耗材Id")]
        public string labware_id
        {
            get { return _labware_id; }
            set
            {
                if (labware_id == value) return; // 避免重复设置相同的值
                _labware_id = value;
                OnPropertyChanged(nameof(labware_id));
            }
        }
 
        private int _isbaselattice { get; set; } = 0;
        /// <summary>
        /// 是否是构建台面用的板位:0: 不是;1:是
        /// </summary>
        [SugarColumn(ColumnName = "isbaselattice")]
        [Description("是否是构建台面用的板位:0: 不是;1:是")]
        public int isbaselattice
        {
            get { return _isbaselattice; }
            set
            {
                if (isbaselattice == value) return;
                _isbaselattice = value;
                OnPropertyChanged(nameof(isbaselattice));
            }
        }
    }
}