42 lines
1.2 KiB
C#
42 lines
1.2 KiB
C#
/*
|
|
* Copyright (c) 2025 LG Electronics Inc.
|
|
* SPDX-License-Identifier: LicenseRef-LGE-Proprietary
|
|
*/
|
|
using System;
|
|
|
|
namespace VisionCommon {
|
|
public enum eFovSetupType {
|
|
None,
|
|
AutoFocus,
|
|
VisionRepeat
|
|
}
|
|
|
|
/// <summary>
|
|
/// FOV별 비전 셋업 기능을 위한 레시피
|
|
/// </summary>
|
|
public class FovSetupRecipe : ICloneCopy<FovSetupRecipe> {
|
|
/// <summary>
|
|
/// Auto Focus 시퀀스 설정 (필요시 생성)
|
|
/// </summary>
|
|
public AutoFocusRecipe AutoFocusRecipe { get; set; }
|
|
/// <summary>
|
|
/// 비전 반복도 시퀀스 설정 (필요시 생성)
|
|
/// </summary>
|
|
public VisionRepeatRecipe VisionRepeatRecipe { get; set; }
|
|
|
|
public FovSetupRecipe Clone() {
|
|
return ((ICloneable)this).Clone() as FovSetupRecipe;
|
|
}
|
|
|
|
object ICloneable.Clone() {
|
|
var cloneObj = new FovSetupRecipe();
|
|
CopyTo(cloneObj);
|
|
return cloneObj;
|
|
}
|
|
|
|
public void CopyTo(FovSetupRecipe target) {
|
|
target.AutoFocusRecipe = this.AutoFocusRecipe?.Clone();
|
|
target.VisionRepeatRecipe = this.VisionRepeatRecipe?.Clone();
|
|
}
|
|
}
|
|
} |