CNCGUI.MainForm.ParseSA C# (CSharp) Method

ParseSA() private method

private ParseSA ( string &line, string fmt, int idx ) : void
line string
fmt string
idx int
return void
        private void ParseSA(ref string line, string fmt, int idx)
        {
            cnc.Motors[idx].StepAngle = 1.8F;
            if (scanf.Parse(line, string.Concat(fmt, " step angle %f")) == 1)
                cnc.Motors[idx].StepAngle = (float)scanf.Results[0];
        }