Exemple #1
0
 public PaintTrack(JointKey guid, List <RobotPosition> track, PaintDirection baseDirect, bool outsidePaint, bool insidePaint, bool innerSideGroove, bool innerLine)
 {
     this.GUID            = guid;
     this.Track           = track;
     this.BaseDirect      = baseDirect;
     this.OutsidePaint    = outsidePaint;
     this.InsidePaint     = insidePaint;
     this.InnerSideGroove = innerSideGroove;
     this.InnerLine       = innerLine;
 }
Exemple #2
0
        public override bool Equals(object obj)
        {
            if (null == obj)
            {
                return(false);
            }
            if (obj.GetType() != this.GetType())
            {
                return(false);
            }

            JointKey old   = obj as JointKey;
            bool     flag1 = old.Category == this.Category;
            bool     flag2 = old.Type == this.Type;
            bool     flag3 = old.PaintType == this.PaintType;

            return(flag1 && flag2 && flag3);
        }
Exemple #3
0
 public PaintTrack(JointKey guid, List <RobotPosition> track)
 {
     this.GUID  = guid;
     this.Track = track;
 }
Exemple #4
0
 public JointKey(JointKey old)
 {
     this.Category  = old.Category;
     this.Type      = old.Type;
     this.PaintType = old.PaintType;
 }