22 lines
602 B
C#
22 lines
602 B
C#
using System;
|
|
|
|
namespace VisionCommon {
|
|
public class CoordConvRecipe : ICloneCopy<CoordConvRecipe> {
|
|
public CoordSystem CoordSystem { get; set; } = new CoordSystem();
|
|
|
|
public CoordConvRecipe Clone() {
|
|
return ((ICloneable)this).Clone() as CoordConvRecipe;
|
|
}
|
|
|
|
object ICloneable.Clone() {
|
|
var cloneObj = new CoordConvRecipe();
|
|
CopyTo(cloneObj);
|
|
return cloneObj;
|
|
}
|
|
|
|
public void CopyTo(CoordConvRecipe target) {
|
|
target.CoordSystem = this.CoordSystem.Clone() as CoordSystem;
|
|
}
|
|
}
|
|
}
|