using Aurora; using Aurora.Api; using Aurora.Api.DataType; using VisionCommon; using Hermes; using Matrox.MatroxImagingLibrary; using System; using System.Collections.Generic; using System.IO; using System.Windows; using System.Linq; namespace MilCamera { /// /// Euresys 환경 변수 및 메소드 관리 /// public class EuresysEnvironment { private static readonly Logger _Logger = new Logger("EuresysEnvironment"); private static object LockObj = new object(); private static EuresysEnvironment _instance = null; /// /// 싱글톤 객체 /// public static EuresysEnvironment Instance { get { lock (LockObj) { if (_instance == null) { _instance = new EuresysEnvironment(); } return _instance; } } } /// /// 생성자 /// private EuresysEnvironment() { } /// /// Euresys 보드 타입인지 체크 /// /// 보드 타입 /// Euresys 보드 타입 여부 public static bool IsEuresysBoardType(eBoardType boardType) { if (boardType == eBoardType.EURESYS_GIGELINK || boardType == eBoardType.EURESYS_COAXLINK || boardType == eBoardType.EURESYS_GRABLINK) { return true; } else { return false; } } } }