31 lines
744 B
C#
31 lines
744 B
C#
|
|
using MwFramework.ManagerService;
|
|||
|
|
using Stylet;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace MainShell.Models
|
|||
|
|
{
|
|||
|
|
public class CameraConfig : PropertyChangedBase, IParameterItem
|
|||
|
|
{
|
|||
|
|
private int _exposureTime;
|
|||
|
|
public int ExposureTime
|
|||
|
|
{
|
|||
|
|
get { return _exposureTime; }
|
|||
|
|
set { SetAndNotify(ref _exposureTime, value); }
|
|||
|
|
}
|
|||
|
|
private int _gain;
|
|||
|
|
public int Gain
|
|||
|
|
{
|
|||
|
|
get { return _gain; }
|
|||
|
|
set { SetAndNotify(ref _gain, value); }
|
|||
|
|
}
|
|||
|
|
public IParameterItem Clone()
|
|||
|
|
{
|
|||
|
|
return this.MemberwiseClone() as IParameterItem;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|