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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
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("grippercoordinate")]
    public class GripperCoordinate : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
 
        private int _gripper_lattice_id;
        /// <summary>
        /// 夹爪与板位关系表Id
        /// </summary>
        [SugarColumn(ColumnName = "gripper_lattice_id", IsPrimaryKey = true)]
        public int gripper_lattice_id
        {
            get { return _gripper_lattice_id; }
            set
            {
                _gripper_lattice_id = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(gripper_lattice_id)));
                }
            }
        }
 
        private string _software_information_id;
        /// <summary>
        /// 设备系统主键Id
        /// </summary>
        [SugarColumn(ColumnName = "software_information_id")]
        public string software_information_id
        {
            get { return _software_information_id; }
            set
            {
                _software_information_id = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(software_information_id)));
                }
            }
        }
 
        private int _device_arm_id;
        /// <summary>
        /// 臂Id
        /// </summary>
        [SugarColumn(ColumnName = "device_arm_id")]
        public int device_arm_id
        {
            get { return _device_arm_id; }
            set
            {
                _device_arm_id = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(device_arm_id)));
                }
            }
        }
 
        private double _lattice_X;
        /// <summary>
        /// 坐标x
        /// </summary>
        [SugarColumn(ColumnName = "lattice_X")]
        public double lattice_X
        {
            get { return _lattice_X; }
            set
            {
                _lattice_X = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(lattice_X)));
                }
            }
        }
 
        private double _lattice_Y;
        /// <summary>
        /// 坐标y
        /// </summary>
        [SugarColumn(ColumnName = "lattice_Y")]
        public double lattice_Y
        {
            get { return _lattice_Y; }
            set
            {
                _lattice_Y = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(lattice_Y)));
                }
            }
        }
 
        private double _lattice_Z;
        /// <summary>
        /// 坐标z
        /// </summary>
        [SugarColumn(ColumnName = "lattice_Z")]
        public double lattice_Z
        {
            get { return _lattice_Z; }
            set
            {
                _lattice_Z = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(lattice_Z)));
                }
            }
        }
 
        private double _gripper_rotational;
        /// <summary>
        /// 偏转角度
        /// </summary>
        [SugarColumn(ColumnName = "gripper_rotational")]
        public double gripper_rotational
        {
            get { return _gripper_rotational; }
            set
            {
                _gripper_rotational = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(gripper_rotational)));
                }
            }
        }
 
        private int _gripper_model;
        /// <summary>
        /// 夹爪抓板的方向:1:夹爪屁股在右侧2:夹爪屁股在左侧:3:夹爪屁股在上侧;4:夹爪屁股在下侧
        /// </summary>
        [SugarColumn(ColumnName = "gripper_model")]
        public int gripper_model
        {
            get { return _gripper_model; }
            set
            {
                _gripper_model = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(gripper_model)));
                }
            }
        }
 
        private string _lattice_num;
        /// <summary>
        /// 板位名称
        /// </summary>
        [SugarColumn(ColumnName = "lattice_num")]
        public string lattice_num
        {
            get { return _lattice_num; }
            set
            {
                _lattice_num = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(lattice_num)));
                }
            }
        }
   
        private int _is_after_pick_move { get; set; }
        /// <summary>
        /// 是否在pick后移动到指定位置: 0:否;1:是
        /// </summary>
        [SugarColumn(IsIgnore = true, IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)]
        public int is_after_pick_move
        {
            get { return _is_after_pick_move; }
            set
            {
                _is_after_pick_move = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(is_after_pick_move)));
                }
            }
        }
        
        private double _move_x { get; set; }
        /// <summary>
        /// pick后移动到x轴的点位
        /// </summary>
        [SugarColumn(IsIgnore = true, IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)]
        public double move_x
        {
            get { return _move_x; }
            set
            {
                _move_x = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(move_x)));
                }
            }
        }
 
        private double _move_y { get; set; }
        /// <summary>
        /// pick后移动到y轴的点位
        /// </summary>
        [SugarColumn(IsIgnore = true, IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)]
        public double move_y
        {
            get { return _move_y; }
            set
            {
                _move_y = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs(nameof(move_y)));
                }
            }
        }
    }
}