ardupilot/Configurator/Configurator.Net/PresentationModels/ConfigWithPidsBase.cs
mandrolic 930b09b286 Configurator.Net: Adding Test project
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1219 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-20 22:14:39 +00:00

31 lines
807 B
C#

using System.Collections.Generic;
using System.Diagnostics;
namespace ArducopterConfigurator.PresentationModels
{
public abstract class ConfigWithPidsBase : MonitorVm
{
public float RollP { get; set; }
public float RollI { get; set; }
public float RollD { get; set; }
public float PitchP { get; set; }
public float PitchI { get; set; }
public float PitchD { get; set; }
public float YawP { get; set; }
public float YawI { get; set; }
public float YawD { get; set; }
public ConfigWithPidsBase(IComms sp) : base(sp)
{
}
protected override void OnStringReceived(string strRx)
{
PopulatePropsFromUpdate(strRx,true);
}
}
}