using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace XImagingXhandler.XDAL
|
{
|
/// <summary>
|
/// 手工挑选形成的菌落涂布文件数据实体类
|
/// </summary>
|
public class ManualChoiceData:INotifyPropertyChanged
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
private int _choice_id;
|
/// <summary>
|
/// Id编号
|
/// </summary>
|
public int choice_id
|
{
|
get { return _choice_id; }
|
set
|
{
|
_choice_id = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(choice_id)));
|
}
|
}
|
}
|
|
private string _sourceplate;
|
/// <summary>
|
/// 来源板
|
/// </summary>
|
public string sourceplate
|
{
|
get { return _sourceplate; }
|
set
|
{
|
_sourceplate = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(sourceplate)));
|
}
|
}
|
}
|
|
private string _sourceplate_num;
|
/// <summary>
|
/// 来源板二维码
|
/// </summary>
|
public string sourceplate_num
|
{
|
get { return _sourceplate_num; }
|
set
|
{
|
_sourceplate_num = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(sourceplate_num)));
|
}
|
}
|
}
|
|
private string _machine_coordinate;
|
/// <summary>
|
///机械坐标
|
/// </summary>
|
public string machine_coordinate
|
{
|
get { return _machine_coordinate; }
|
set
|
{
|
_machine_coordinate = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(machine_coordinate)));
|
}
|
}
|
}
|
|
private string _pixel_coordinate;
|
/// <summary>
|
///像素坐标
|
/// </summary>
|
public string pixel_coordinate
|
{
|
get { return _pixel_coordinate; }
|
set
|
{
|
_pixel_coordinate = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(pixel_coordinate)));
|
}
|
}
|
}
|
|
private string _targetplate;
|
/// <summary>
|
/// 目标板
|
/// </summary>
|
public string targetplate
|
{
|
get { return _targetplate; }
|
set
|
{
|
_targetplate = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(targetplate)));
|
}
|
}
|
}
|
|
private string _targetplate_num;
|
/// <summary>
|
/// 目标板二维码
|
/// </summary>
|
public string targetplate_num
|
{
|
get { return _targetplate_num; }
|
set
|
{
|
_targetplate_num = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(targetplate_num)));
|
}
|
}
|
}
|
|
private string _targetplate_well;
|
/// <summary>
|
/// 目标板孔位
|
/// </summary>
|
public string targetplate_well
|
{
|
get { return _targetplate_well; }
|
set
|
{
|
_targetplate_well = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(targetplate_well)));
|
}
|
}
|
}
|
|
private bool _is_new_plate_batch;
|
/// <summary>
|
/// 是否是新一批次的目标板(目标板不够用时,需要弹窗,人工补充耗材后点击继续)
|
/// </summary>
|
public bool is_new_plate_batch
|
{
|
get { return _is_new_plate_batch; }
|
set
|
{
|
_is_new_plate_batch = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(is_new_plate_batch)));
|
}
|
}
|
}
|
|
private bool _is_plate_last_well;
|
/// <summary>
|
/// 是否是一个板子最后的一个有效孔
|
/// </summary>
|
public bool is_plate_last_well
|
{
|
get { return _is_plate_last_well; }
|
set
|
{
|
_is_plate_last_well = value;
|
if (PropertyChanged != null)
|
{
|
PropertyChanged(this, new PropertyChangedEventArgs(nameof(is_plate_last_well)));
|
}
|
}
|
}
|
}
|
}
|