57 lines
1.6 KiB
C#
57 lines
1.6 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 UpCamLightConfig : 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); }
|
|
}
|
|
private int _redBackLight;
|
|
[Description("红背光")]
|
|
public int RedBackLight
|
|
{
|
|
get { return _redBackLight; }
|
|
set { SetAndNotify(ref _redBackLight, value); }
|
|
}
|
|
|
|
public IParameterItem Clone()
|
|
{
|
|
return this.MemberwiseClone() as IParameterItem;
|
|
}
|
|
}
|
|
}
|