public void SetJoySpeedY(double Fast, double Normal, double slow, SETEnum ChannelSet = SETEnum.ONE) { int set = (int)ChannelSet; mSpeedSets[set].Yspeed.Fast = Fast; mSpeedSets[set].Yspeed.Normal = Normal; mSpeedSets[set].Yspeed.Slow = slow; }
public void SetYChannel(string Name, int Value, double PosLimit = 9999, double NegLimit = 9999, SETEnum Set = SETEnum.ONE) { SetYChannel(Name, Value, null, PosLimit, NegLimit, Set); }
public void SetYChannel(string Name, int Value, MotorSimulation Motor, double PosLimit = 9999, double NegLimit = 9999, SETEnum Set = SETEnum.ONE) { int set = (int)Set; mChannelSets[set].ChannelY = new JoyStickChannel(Name, Motor, Value, PosLimit, NegLimit); }
public void SetXChannel(string Name, int Value, double PosLimit = int.MaxValue, double NegLimit = int.MinValue, SETEnum Set = SETEnum.ONE) { SetXChannel(Name, Value, null, PosLimit, NegLimit, Set); }