Exemple #1
0
        public override bool Equals(object obj)
        {
            if ((obj == null) || GetType() != obj.GetType())
            {
                return(false);
            }

            TripleInt tripleInt = (TripleInt)obj;

            return((X == tripleInt.X) &&
                   (Y == tripleInt.Y) &&
                   (Z == tripleInt.Z));
        }
Exemple #2
0
 public MachineState()
 {
     UnitsAreMM            = false;
     Minimum               = new TripleDouble();
     Maximum               = new TripleDouble();
     StepperPosition       = new TripleInt();
     TargetStepperPosition = new TripleInt();
     CurrentStepperDelay   = new TripleInt();
     StepperIncrement      = new TripleDouble
     {
         X = 0.0125,
         Y = 0.0125,
         Z = 0.0250
     };
 }