mirror of https://github.com/ArduPilot/ardupilot
Configurator.Net: Fix Magnetometer enable
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1745 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
ed46609c9a
commit
ec5029e4fc
|
@ -33,7 +33,7 @@
|
||||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||||
<WebPage>index.htm</WebPage>
|
<WebPage>index.htm</WebPage>
|
||||||
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
|
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
|
||||||
<ApplicationRevision>8</ApplicationRevision>
|
<ApplicationRevision>9</ApplicationRevision>
|
||||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||||
|
|
|
@ -25,9 +25,33 @@ namespace ArducopterConfigurator.PresentationModels
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public float KPrate { get; set; }
|
|
||||||
|
|
||||||
public bool MagnetometerEnable { get; set; }
|
private float _kprate;
|
||||||
|
|
||||||
|
public float KPrate
|
||||||
|
{
|
||||||
|
get { return _kprate; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (_kprate == value) return;
|
||||||
|
_kprate = value;
|
||||||
|
FirePropertyChanged("KPrate");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private bool _magEnable;
|
||||||
|
|
||||||
|
public bool MagnetometerEnable
|
||||||
|
{
|
||||||
|
get { return _magEnable; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (_magEnable == value) return;
|
||||||
|
_magEnable = value;
|
||||||
|
FirePropertyChanged("MagnetometerEnable");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override string Name
|
public override string Name
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue