42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace Step.Model.DTOModels
|
|
{
|
|
public class DTOAxesModel
|
|
{
|
|
public Dictionary<string, double> interpolated;
|
|
public Dictionary<string, double> machine;
|
|
public Dictionary<string, double> programmePos;
|
|
public Dictionary<string, double> toGo;
|
|
public Dictionary<string, double> followingErr;
|
|
|
|
public DTOAxesModel()
|
|
{
|
|
interpolated = new Dictionary<string, double>();
|
|
machine = new Dictionary<string, double>();
|
|
programmePos = new Dictionary<string, double>();
|
|
toGo = new Dictionary<string, double>();
|
|
followingErr = new Dictionary<string, double>();
|
|
}
|
|
|
|
public struct AxisModel
|
|
{
|
|
public string name;
|
|
public double value;
|
|
}
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
var item = obj as DTOAxesModel;
|
|
if (item == null)
|
|
return false;
|
|
|
|
return base.Equals(obj);
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return base.GetHashCode();
|
|
}
|
|
}
|
|
} |