24 lines
763 B
C#
24 lines
763 B
C#
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;
|
|
}
|
|
}
|
|
} |