34 lines
726 B
C#
34 lines
726 B
C#
using static CMS_CORE_Library.Models.DataStructures;
|
|
|
|
namespace Step.Model.DTOModels
|
|
{
|
|
public class DTOAxisNameModel : AxisModel
|
|
{
|
|
public new string Type;
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
|
|
// Object is not a DTOAxisNameModel instance
|
|
if (!(obj is DTOAxisNameModel item))
|
|
return false;
|
|
|
|
if (item.Id != Id)
|
|
return false;
|
|
|
|
if (item.Name != Name)
|
|
return false;
|
|
|
|
if (item.IsSelectable != IsSelectable)
|
|
return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return base.GetHashCode();
|
|
}
|
|
}
|
|
}
|