string AsAbsoluteMovePosition(INcMachine ncMachine)
        {
            string line = "";

            line += ncMachine.MachineCode.LinearMove;
            switch (ncMachine.MachineGeometry)
            {
            case MachineGeometry.XA:
                line = "X" + X.ToString(linearFormat) + " " + "A" + Adeg.ToString(rotaryFormat);
                break;

            case MachineGeometry.XYZ:
                line = "X" + X.ToString(linearFormat) + " " + "Y" + Y.ToString(linearFormat) + " " + "Z" + Z.ToString(linearFormat);
                break;

            case MachineGeometry.XYZBC:
                line = "X" + X.ToString(linearFormat) + " " + "Y" + Y.ToString(linearFormat) + " " + "Z" + Z.ToString(linearFormat)
                       + " " + "B" + Bdeg.ToString(rotaryFormat) + " " + "C" + Cdeg.ToString(rotaryFormat);
                break;
            }

            return(line);
        }
 public override string ToString()
 {
     return("X=" + X.ToString() + "," + "Y=" + Y.ToString() + "," + "Z=" + Z.ToString() + "," + "A=" + Adeg.ToString() +
            "," + "B=" + Bdeg.ToString() + "," + "C=" + Cdeg.ToString());
 }