26 lines
702 B
C#
26 lines
702 B
C#
/*
|
|
* Copyright (c) 2025 LG Electronics Inc.
|
|
* SPDX-License-Identifier: LicenseRef-LGE-Proprietary
|
|
*/
|
|
using System;
|
|
|
|
namespace VisionCommon {
|
|
public class DirectorRecipe : ICloneCopy<DirectorRecipe> {
|
|
public CoordSystem CoordSystem { get; set; } = new CoordSystem();
|
|
|
|
public DirectorRecipe Clone() {
|
|
return ((ICloneable)this).Clone() as DirectorRecipe;
|
|
}
|
|
|
|
object ICloneable.Clone() {
|
|
var cloneObj = new DirectorRecipe();
|
|
CopyTo(cloneObj);
|
|
return cloneObj;
|
|
}
|
|
|
|
public void CopyTo(DirectorRecipe target) {
|
|
target.CoordSystem = this.CoordSystem.Clone() as CoordSystem;
|
|
}
|
|
}
|
|
}
|