51 lines
1.2 KiB
C#
51 lines
1.2 KiB
C#
using Aurora.Api.Devices;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AuroraLight
|
|
{
|
|
internal interface ILight
|
|
{
|
|
int[] LightValue { get; set; }
|
|
|
|
#region Command
|
|
// interface class 에 off 는 있는데 on 이 없다. 채널 값 설정안에 넣어두는걸까?
|
|
bool InitInternal(SerialConnConfig conn);
|
|
int SetLightValueInternal(List<int> values);
|
|
int SetLightValueInternal(int iChannel, int iValue);
|
|
int OffLightInternal();
|
|
int OffLightInternal(int iChannel);
|
|
bool IsPortErrorInternal();
|
|
#endregion
|
|
}
|
|
|
|
internal interface IALTLight : ILight
|
|
{
|
|
// 추후 필요시 추가.
|
|
}
|
|
|
|
internal interface ILvsPnLight : ILight
|
|
{
|
|
int GetMaxValueInternal();
|
|
}
|
|
internal interface IERILight : ILight
|
|
{
|
|
// 추후 필요시 추가.
|
|
}
|
|
internal interface IENLight : ILight
|
|
{
|
|
// 추후 필요시 추가.
|
|
}
|
|
internal interface IPNLight : ILight
|
|
{
|
|
// 추후 필요시 추가.
|
|
}
|
|
internal interface IIFLight : ILight
|
|
{
|
|
// 추후 필요시 추가.
|
|
}
|
|
internal interface ILCPLight : ILight
|
|
{
|
|
// 추후 필요시 추가.
|
|
}
|
|
}
|