/// <summary> /// String representation of gcode line /// </summary> /// <returns></returns> public string ToString() { if (comment.Length > 0) { return("Comments:" + comment); } else { return("From:" + FromPosition.ToString() + " To:" + ToPosition.ToString() + "; Directory:" + this.xDir.ToString() + "," + this.yDir.ToString() + "," + this.zDir.ToString()); } }
public override string ToString() { return(string.Format("打:{0}->{1}", KomaType.ToString(), ToPosition.ToString())); }
public override string ToString() { return(string.Format("{0}->{1},{2}", FromPosition.ToString(), ToPosition.ToString(), (DoTransform ? "@" : "-"))); }