using Aurora.Api;
using Hermes;
using VisionLight;
namespace WeldingCommon.Vision.Light {
///
/// 장비 조명 디바이스 B (클래스 이름 변경 금지)
///
public class MachineLight_B : LightBase_Serial {
private Logger _logger = new Logger(typeof(MachineLight_B).Name);
///
/// 생성자
///
/// 다비이스 ID
public MachineLight_B(string deviceId) : base(deviceId) {
}
///
/// 디바이스 Activate
///
/// 디바이스 컨피그
/// 성공 유무
protected override int DoActivate(IDeviceConfig config) {
return base.DoActivate(config);
}
///
/// 디바이스 Deactivate
///
/// 성공 유무
protected override int DoDeactivate() {
return base.DoDeactivate();
}
protected override eLightResult SetLevelImpl(int level, int channel) {
_logger.FuncI();
return eLightResult.OK;
}
protected override eLightResult SetOffImpl(int channel) {
_logger.FuncI();
return eLightResult.OK;
}
protected override eLightResult SetOnImpl(int channel) {
_logger.FuncI();
return eLightResult.OK;
}
}
}