| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- using log4net.Filter;
- using Prism.Mvvm;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using TeamAAS_VP.Enums;
- namespace TeamAAS_VP.Models
- {
- public class CameraInfo : BindableBase
- {
- private Guid _Id;
- public Guid Id
- {
- get { return _Id; }
- set { SetProperty(ref _Id, value); }
- }
- private string _CameraName;
- /// <summary>
- /// 相机名称
- /// </summary>
- public string CameraName
- {
- get { return _CameraName; }
- set { SetProperty(ref _CameraName, value); }
- }
- private string _Model;
- /// <summary>
- /// 相机型号
- /// </summary>
- public string Model
- {
- get { return _Model; }
- set { SetProperty(ref _Model, value); }
- }
- private string _SerialNumber;
- /// <summary>
- /// 相机序列号
- /// </summary>
- public string SerialNumber
- {
- get { return _SerialNumber; }
- set { SetProperty(ref _SerialNumber, value); }
- }
- private string _ManufacturerName;
- /// <summary>
- /// 厂商名
- /// </summary>
- public string ManufacturerName
- {
- get { return _ManufacturerName; }
- set { SetProperty(ref _ManufacturerName, value); }
- }
- private CameraType _CameraType;
- /// <summary>
- /// 相机类型
- /// </summary>
- public CameraType CameraType
- {
- get { return _CameraType; }
- set { SetProperty(ref _CameraType, value); }
- }
- private CameraBrand _CameraBrand;
- /// <summary>
- /// 相机品牌
- /// </summary>
- public CameraBrand CameraBrand
- {
- get { return _CameraBrand; }
- set { SetProperty(ref _CameraBrand, value); }
- }
- private string _CameraIp;
- public string CameraIp
- {
- get { return _CameraIp; }
- set { SetProperty(ref _CameraIp, value); }
- }
- public CameraInfo Copy()
- {
- return new CameraInfo
- {
- Id = this.Id,
- CameraName = this.CameraName,
- Model = this.Model,
- SerialNumber = this.SerialNumber,
- ManufacturerName = this.ManufacturerName,
- CameraType = this.CameraType,
- CameraBrand = this.CameraBrand,
- CameraIp = this.CameraIp
- };
- }
- }
- }
|