37 lines
964 B
C#
37 lines
964 B
C#
using static CMS_CORE_Library.Models.DataStructures;
|
|
|
|
namespace Step.Model.DTOModels.ToolModels
|
|
{
|
|
public class DTOAssistedToolingModel
|
|
{
|
|
public ushort ToolId { get; set; }
|
|
public ushort MagazineId { get; set; }
|
|
public ushort PositionId { get; set; }
|
|
public ASSISTED_TOOLING_ACTION Action { get; set; }
|
|
}
|
|
|
|
public class DTOAssistedToolingEndValueModel : AssistedToolingModel
|
|
{
|
|
public override bool Equals(object obj)
|
|
{
|
|
var item = obj as DTOAssistedToolingEndValueModel;
|
|
|
|
if (IsActive != item.IsActive)
|
|
return false;
|
|
|
|
if (ToolId != item.ToolId)
|
|
return false;
|
|
|
|
if (MagazineId != item.MagazineId)
|
|
return false;
|
|
|
|
if (PositionId != item.PositionId)
|
|
return false;
|
|
|
|
if (Action != item.Action)
|
|
return false;
|
|
|
|
return true;
|
|
}
|
|
}
|
|
} |