2026-01-26 14:51:28 +09:00

28 lines
869 B
C#

/*
* Copyright (c) 2025 LG Electronics Inc.
* SPDX-License-Identifier: LicenseRef-LGE-Proprietary
*/
using Newtonsoft.Json;
using PropertyTools.DataAnnotations;
namespace VisionCommon {
public class VisionRepeatRecipe {
public int RepeatCount { get; set; } = 20;
public int PatternId { get; set; } = 0;
public bool IsFovPattern { get; set; } = true;
public VisionRepeatRecipe Clone() {
return new VisionRepeatRecipe() {
RepeatCount = this.RepeatCount,
PatternId = this.PatternId,
IsFovPattern = this.IsFovPattern
};
}
public void CopyTo(VisionRepeatRecipe target) {
target.RepeatCount = this.RepeatCount;
target.PatternId = this.PatternId;
target.IsFovPattern = this.IsFovPattern;
}
}
}