public void UpdateSRange(GrblElement S) { if (S != null) { SpindleRange.UpdateRange(S.Number); } }
public void UpdateXYRange(GrblElement X, GrblElement Y, bool drawing) { if (drawing) { DrawingRange.UpdateRange(X, Y); } MovingRange.UpdateRange(X, Y); }
public void Update(GrblElement e) { if (e != null) { mNumber = e.Number; mSettled = true; } }
public void Update(GrblElement e) { if (e != null && mOptions.Contains(e)) { mCommand = e.Command; mNumber = e.Number; mSettled = true; } }
public ModalElement(GrblElement defval, params GrblElement[] options) : base(defval.Command, defval.Number) { mDefault = defval; mOptions.Add(defval); foreach (GrblElement e in options) { mOptions.Add(e); } }
public void Update(GrblElement e, bool Absolute, decimal offset) { mPrevious = mNumber; if (e != null) { mNumber = Absolute ? offset + e.Number : mNumber + e.Number; mSettled = true; } }
public void UpdateRange(GrblElement x, GrblElement y) { if (x != null) { X.UpdateRange(x.Number); } if (y != null) { Y.UpdateRange(y.Number); } }
public GrblCommand(GrblElement first, GrblCommand toappend) { mLine = string.Format("{0} {1}", first, toappend.mLine); }
private void Add(GrblElement element) { mHelper.Add(element.Command, element); }
public LastValueElement(GrblElement defval) : base(defval.Command, defval.Number) { mDefault = defval; }
public CumulativeElement(GrblElement defval) : base(defval.Command, defval.Number) { mDefault = defval; }