2d01d818cf
Fix siemens part program info Added unit of measure
35 lines
780 B
C#
35 lines
780 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)
|
|
{
|
|
var item = obj as DTOAxisNameModel;
|
|
|
|
// Object is not a DTOAxisNameModel instance
|
|
if (item == null)
|
|
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();
|
|
}
|
|
}
|
|
}
|