Exemple #1
0
 public bool Equals(JointPositionConfig c)
 {
     return(base.Equals((InputConfig)c) &&
            c.JointTracked == JointTracked &&
            c.JointBase == JointBase &&
            c.Range == Range &&
            c.Axis == c.Axis);
 }
Exemple #2
0
        public override bool Equals(object obj)
        {
            JointPositionConfig c = obj as JointPositionConfig;

            if ((object)c == null)
            {
                return(false);
            }
            return //base.Equals(obj) &&
                   (c.JointTracked == JointTracked &&
                    c.JointBase == JointBase &&
                    c.Range == Range &&
                    c.Axis == c.Axis);
        }