Esempio n. 1
0
            public string SendValue(string command, string value, tMotorType moteur, bool abs)
            {
                string m = (moteur == tMotorType.DC)?"A=":"B=";

                if ((command == "PR") && (abs))    // seulement si PR --> PA
                {
                    command = command.Substring(0, 1) + "A";
                }

                command += m + value;
                return(DMC1425.command(command, "\r", ":", true));
            }
Esempio n. 2
0
 public Motor(tMotorType type)
 {
     motorType = type;
 }