using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media.Media3D;
using XImagingXhandler.XDAL;
namespace XHandler.Class.DataEx
{
///
/// 菌落坐标实体扩展类
///
public class BacteriaCoordinateEx: BacteriaCoordinate
{
///
/// 构造函数,初始设置坐标是否可编辑
///
public BacteriaCoordinateEx()
{
canEdit = true;
}
///
/// 带参构造函数,初始化菌落坐标实体对象
///
///
public BacteriaCoordinateEx(BacteriaCoordinate bc)
{
this.bacteriacoordinate_id = bc.bacteriacoordinate_id;
this.coordinate_machine = bc.coordinate_machine;
this.coordinate_pixel = bc.coordinate_pixel;
canEdit = true;
}
///
/// 成像系统识别的,不能删除
///
public bool canEdit { get; set; }
///
/// 直径
///
public string diameter { get; set; }
///
/// 像素点坐标
///
public Point pixelPoint { get; set; }
///
/// 机械像素点坐标
///
public Point3D machinePoint { get; set; }
///
/// 菌落类型
///
public string bacteria_type { get; set; }
///
/// 形状
///
public string bacteria_shape { get; set; }
///
/// 颜色
///
public string bacteria_color { get; set; }
///
/// 边缘
///
public string bacteria_edge { get; set; }
///
/// 该菌是否人工挑选
///
public bool isManualPick { get; set; } = false;
}
}