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 Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.ObjectModel;
|
|
|
|
namespace VisionCommon {
|
|
/// <summary>
|
|
/// 메인화면 UI 설정을 위한 Recipe
|
|
/// </summary>
|
|
public class MainUiRecipe : ICloneCopy<MainUiRecipe> {
|
|
/// <summary>
|
|
/// 메인화면 FOV 행렬 위치
|
|
/// </summary>
|
|
public eFovUiPos FovUiPos { get; set; } = eFovUiPos.RC_00;
|
|
/// <summary>
|
|
/// 메인화면 타입
|
|
/// </summary>
|
|
public eDisplayType MainDisplayType { get; set; } = eDisplayType.Main_1;
|
|
|
|
/// <summary>
|
|
/// Clone (Deep Copy)
|
|
/// </summary>
|
|
/// <returns>MainUiRecipe</returns>
|
|
public MainUiRecipe Clone() {
|
|
return ((ICloneable)this).Clone() as MainUiRecipe;
|
|
}
|
|
|
|
object ICloneable.Clone() {
|
|
var cloneObj = new MainUiRecipe();
|
|
CopyTo(cloneObj);
|
|
return cloneObj;
|
|
}
|
|
|
|
public void CopyTo(MainUiRecipe target) {
|
|
target.FovUiPos = this.FovUiPos;
|
|
target.MainDisplayType = this.MainDisplayType;
|
|
}
|
|
}
|
|
} |