using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Prism.Mvvm;
namespace LampInspectionMachine.Model
{
public class ShowRender : BindableBase
{
private Guid _id;
public Guid Id
{
get { return _id; }
set { SetProperty(ref _id, value); }
}
private string _CameraName;
public string CameraName
{
get { return _CameraName; }
set { SetProperty(ref _CameraName, value); }
}
private Cognex.VisionPro.ICogImage _Image;
public Cognex.VisionPro.ICogImage Image
{
get { return _Image; }
set { SetProperty(ref _Image, value); }
}
private Cognex.VisionPro.CogGraphicCollection _Graphic;
public Cognex.VisionPro.CogGraphicCollection Graphic
{
get { return _Graphic; }
set { SetProperty(ref _Graphic, value); }
}
private Cognex.VisionPro.ICogRecord _Record;
public Cognex.VisionPro.ICogRecord Record
{
get { return _Record; }
set { SetProperty(ref _Record, value); }
}
private bool _result;
public bool Result
{
get { return _result; }
set { SetProperty(ref _result, value); }
}
private bool _IsShow;
public bool IsShow
{
get { return _IsShow; }
set { SetProperty(ref _IsShow, value); }
}
private bool _IsSaveImage;
///
/// 保存图像
///
public bool IsSaveImage
{
get { return _IsSaveImage; }
set { SetProperty(ref _IsSaveImage, value); }
}
//private ProcedureSaveImageModel _SaveImageModel;
/////
///// 存图模式
/////
//public ProcedureSaveImageModel SaveImageModel
//{
// get { return _SaveImageModel; }
// set { SetProperty(ref _SaveImageModel, value); }
//}
//private ProcedureSaveImagePathModel _SaveImagePathModel;
/////
///// 存图路径模式
/////
//public ProcedureSaveImagePathModel SaveImagePathModel
//{
// get { return _SaveImagePathModel; }
// set { SetProperty(ref _SaveImagePathModel, value); }
//}
private string _SavePath;
///
/// 存图路径
///
public string SavePath
{
get { return _SavePath; }
set { SetProperty(ref _SavePath, value); }
}
private bool _IsCompress;
///
/// 是否压缩图片
///
public bool IsCompress
{
get { return _IsCompress; }
set { SetProperty(ref _IsCompress, value); }
}
}
}