Esempio n. 1
0
        public override string ToString()
        {
            string gcodeLineText = "";

            gcodeLineText += LineNumber.ToString() + ";";

            foreach (string command in Command)
            {
                gcodeLineText += command + ";";
            }

            gcodeLineText += XPos.ToString() + SEPERATOR
                             + YPos.ToString() + SEPERATOR
                             + ZPos.ToString() + SEPERATOR
                             + IPos.ToString() + SEPERATOR
                             + JPos.ToString() + SEPERATOR
                             + CRNumber.ToString() + SEPERATOR;

            foreach (ErrorGCode error in Error)
            {
                gcodeLineText += error.ToString() + SEPERATOR;
            }


            return(gcodeLineText);
        }