ardupilot/Configurator/Configurator.Net/PresentationModels/ConfigWithPidsBase.cs

31 lines
807 B
C#
Raw Normal View History

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);
}
}
}