2010-12-18 18:23:09 -04:00
|
|
|
namespace ArducopterConfigurator.PresentationModels
|
|
|
|
{
|
|
|
|
public class MotorCommandsVm : MonitorVm
|
|
|
|
{
|
2010-12-20 18:14:39 -04:00
|
|
|
public MotorCommandsVm(IComms _sp)
|
2010-12-18 18:23:09 -04:00
|
|
|
: base(_sp)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public override string Name
|
|
|
|
{
|
|
|
|
get { return "Motor Commands"; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public int MotorFront { get; set; }
|
|
|
|
public int MotorRear { get; set; }
|
|
|
|
public int MotorLeft { get; set; }
|
|
|
|
public int MotorRight { get; set; }
|
|
|
|
|
|
|
|
public void SendCommand()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public void StopCommand()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected override void OnDeactivated()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
protected override void OnActivated()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
protected override void OnStringReceived(string strReceived)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|