50 lines
1.4 KiB
C#
50 lines
1.4 KiB
C#
|
|
using MainShell.Models.LightConfig;
|
|||
|
|
using MwFramework.ManagerService;
|
|||
|
|
using Stylet;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.ComponentModel;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace MainShell.Models
|
|||
|
|
{
|
|||
|
|
public class DownCamLightConfig : PropertyChangedBase, IParameterItem , ILightConfig
|
|||
|
|
{
|
|||
|
|
private int _pointRedLight;
|
|||
|
|
[Description("点红光")]
|
|||
|
|
public int PointRedLight
|
|||
|
|
{
|
|||
|
|
get { return _pointRedLight; }
|
|||
|
|
set { SetAndNotify(ref _pointRedLight, value); }
|
|||
|
|
}
|
|||
|
|
private int _ringRedLight;
|
|||
|
|
[Description("环红光")]
|
|||
|
|
public int RingRedLight
|
|||
|
|
{
|
|||
|
|
get { return _ringRedLight; }
|
|||
|
|
set { SetAndNotify(ref _ringRedLight, value); }
|
|||
|
|
}
|
|||
|
|
private int _pointBlueLight;
|
|||
|
|
[Description("点蓝光")]
|
|||
|
|
public int PointBlueLight
|
|||
|
|
{
|
|||
|
|
get { return _pointBlueLight; }
|
|||
|
|
set { SetAndNotify(ref _pointBlueLight, value); }
|
|||
|
|
}
|
|||
|
|
private int _ringBlueLight;
|
|||
|
|
[Description("环蓝光")]
|
|||
|
|
public int RingBlueLight
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
get { return _ringBlueLight; }
|
|||
|
|
set { SetAndNotify(ref _ringBlueLight, value); }
|
|||
|
|
}
|
|||
|
|
public IParameterItem Clone()
|
|||
|
|
{
|
|||
|
|
return this.MemberwiseClone() as IParameterItem;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|