CNCGUI.MainForm.ParsePO C# (CSharp) 메소드

ParsePO() 개인적인 메소드

private ParsePO ( string &line, string fmt, int idx ) : void
line string
fmt string
idx int
리턴 void
        private void ParsePO(ref string line, string fmt, int idx)
        {
            cnc.Motors[idx].Polarity.Value = MOTOR_POLARITY.Normal;
            if (scanf.Parse(line, string.Concat(fmt, " polarity %d [%s]")) >= 1)
                cnc.Motors[idx].Polarity.Set(scanf, UseResponseItems.Checked);
        }