123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- 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;
- /// <summary>
- /// 保存图像
- /// </summary>
- public bool IsSaveImage
- {
- get { return _IsSaveImage; }
- set { SetProperty(ref _IsSaveImage, value); }
- }
- //private ProcedureSaveImageModel _SaveImageModel;
- ///// <summary>
- ///// 存图模式
- ///// </summary>
- //public ProcedureSaveImageModel SaveImageModel
- //{
- // get { return _SaveImageModel; }
- // set { SetProperty(ref _SaveImageModel, value); }
- //}
- //private ProcedureSaveImagePathModel _SaveImagePathModel;
- ///// <summary>
- ///// 存图路径模式
- ///// </summary>
- //public ProcedureSaveImagePathModel SaveImagePathModel
- //{
- // get { return _SaveImagePathModel; }
- // set { SetProperty(ref _SaveImagePathModel, value); }
- //}
- private string _SavePath;
- /// <summary>
- /// 存图路径
- /// </summary>
- public string SavePath
- {
- get { return _SavePath; }
- set { SetProperty(ref _SavePath, value); }
- }
- private bool _IsCompress;
- /// <summary>
- /// 是否压缩图片
- /// </summary>
- public bool IsCompress
- {
- get { return _IsCompress; }
- set { SetProperty(ref _IsCompress, value); }
- }
- }
- }
|