加入变色灯光
加入多次关闭测试灯光
This commit is contained in:
parent
f0ef8134d5
commit
c1db1e3525
@ -164,6 +164,8 @@ namespace Plane.FormationCreator.Formation
|
||||
{
|
||||
LEDTestRun = false;
|
||||
_commModuleManager.LED_TaskAsync(255, 0, 0, "000000", this.Copter);
|
||||
_commModuleManager.LED_TaskAsync(255, 0, 0, "000000", this.Copter);
|
||||
_commModuleManager.LED_TaskAsync(255, 0, 0, "000000", this.Copter);
|
||||
}
|
||||
|
||||
}));
|
||||
|
@ -1514,7 +1514,7 @@ namespace Plane.FormationCreator.ViewModels
|
||||
Color color = (Color)ColorConverter.ConvertFromString("#" + ledInfo.LEDRGB);
|
||||
int ledMode = ledInfo.LEDMode;
|
||||
//拉烟任务模式ID是50,需要改为50
|
||||
if (ledMode == 11) ledMode = 50;
|
||||
if (ledMode == 15) ledMode = 50;
|
||||
IMission LEDMission = Mission.CreateLEDControlMission(
|
||||
(int)(ledInfo.Delay * 10),
|
||||
ledMode,
|
||||
|
@ -512,6 +512,13 @@
|
||||
<ComboBoxItem Content="呼吸灯(随机)" />
|
||||
<ComboBoxItem Content="异步呼吸(单色)" />
|
||||
<ComboBoxItem Content="异步呼吸(随机)" />
|
||||
|
||||
<ComboBoxItem Content="变色(单色)" />
|
||||
<ComboBoxItem Content="变色(随机)" />
|
||||
<ComboBoxItem Content="异步变色(单色)" />
|
||||
<ComboBoxItem Content="异步变色(随机)" />
|
||||
|
||||
|
||||
<ComboBoxItem Content="拉烟"/>
|
||||
|
||||
</ComboBox>
|
||||
|
Loading…
Reference in New Issue
Block a user