You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
906 B
42 lines
906 B
using System; |
|
|
|
namespace ArducopterConfigurator.PresentationModels |
|
{ |
|
public class MotorCommandsVm : NotifyProperyChangedBase, IPresentationModel |
|
{ |
|
public string Name |
|
{ |
|
get { return "Motor Commands"; } |
|
} |
|
|
|
public void Activate() |
|
{ |
|
} |
|
|
|
public void DeActivate() |
|
{ |
|
// todo stop |
|
} |
|
|
|
public event EventHandler updatedByApm; |
|
|
|
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() |
|
{ |
|
} |
|
|
|
public void handleLineOfText(string strRx) |
|
{ |
|
} |
|
|
|
public event EventHandler<sendTextToApmEventArgs> sendTextToApm; |
|
} |
|
} |