2294b52a65
Fix machine counters WIP Siemens axes name
32 lines
838 B
C#
32 lines
838 B
C#
using System.Linq;
|
|
using static CMS_CORE_Library.Models.DataStructures;
|
|
|
|
namespace Step.Model.DTOModels
|
|
{
|
|
public class DTOActiveProgramDataModel : ActiveProgramDataModel
|
|
{
|
|
public override bool Equals(object obj)
|
|
{
|
|
var item = obj as DTOActiveProgramDataModel;
|
|
if (item == null)
|
|
return false;
|
|
|
|
if (Path != item.Path)
|
|
return false;
|
|
if (IsoLines != null && item.IsoLines != null)
|
|
if (!IsoLines.SequenceEqual(item.IsoLines))
|
|
return false;
|
|
|
|
if (TimeLeft != item.TimeLeft)
|
|
return false;
|
|
|
|
return true;
|
|
}
|
|
}
|
|
|
|
public class DTOActiveImageAndNameDataModel
|
|
{
|
|
public string Image { get; set; }
|
|
public string Name { get; set; }
|
|
}
|
|
} |