41 lines
1.2 KiB
C#
41 lines
1.2 KiB
C#
namespace VisionCommon {
|
|
/// <summary>
|
|
/// 비전 알람 코드
|
|
/// </summary>
|
|
public enum eVisionAlarmCode {
|
|
// Light [10 ~ 19]
|
|
/// <summary>조명 설정 에러</summary>
|
|
LIGHT_SET_ERROR = 10,
|
|
|
|
// Camera [20 ~ 29]
|
|
/// <summary>카메라 연결 에러</summary>
|
|
CAMERA_CONNECTION_ERROR = 20,
|
|
/// <summary>카메라 그랩 에러</summary>
|
|
CAMERA_GRAB_ERROR = 21,
|
|
}
|
|
|
|
/// <summary>
|
|
/// 비전 알람 인터페이스
|
|
/// </summary>
|
|
public interface IVisionAlarm {
|
|
/// <summary>
|
|
/// 알람을 등록한다.
|
|
/// </summary>
|
|
/// <returns>결과 상태 코드</returns>
|
|
int RegisterAlarm();
|
|
|
|
/// <summary>
|
|
/// 알람을 발생시킨다.
|
|
/// </summary>
|
|
/// <param name="visionAlarmCode">비전 알람 코드</param>
|
|
/// <returns>결과 상태 코드</returns>
|
|
int SetAlarm(eVisionAlarmCode visionAlarmCode);
|
|
|
|
/// <summary>
|
|
/// 알람을 발생시킨다.
|
|
/// </summary>
|
|
/// <param name="equipAlarmCode">비전 알람 코드</param>
|
|
/// <returns>결과 상태 코드</returns>
|
|
int SetAlarm(int equipAlarmCode);
|
|
}
|
|
} |