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