|
@@ -1,4 +1,5 @@
|
|
|
using System;
|
|
|
+using System.Threading.Tasks;
|
|
|
using System.Collections;
|
|
|
using System.Text.RegularExpressions;
|
|
|
using Aitex.Core.Common.DeviceData;
|
|
@@ -796,13 +797,15 @@ namespace Venus_RT.Devices
|
|
|
{
|
|
|
base.SetMatchPosition(c1, c2, out reason);
|
|
|
|
|
|
- this.SetWorkMode(EnumRfMatchTuneMode.Manual);
|
|
|
- this.SetPosition(c1, c2);
|
|
|
- this.SetPresetMemory(0);
|
|
|
- this.SetWorkMode(EnumRfMatchTuneMode.Auto);
|
|
|
+ SetWorkMode(EnumRfMatchTuneMode.Manual);
|
|
|
+
|
|
|
+ Task.Delay(500)
|
|
|
+ .ContinueWith(_ => SetPosition(c1, c2))
|
|
|
+ .ContinueWith(_ => Task.Delay(500))
|
|
|
+ .ContinueWith(_ => SetPresetMemory(0))
|
|
|
+ .ContinueWith(_ => Task.Delay(500))
|
|
|
+ .ContinueWith(_ => SetWorkMode(EnumRfMatchTuneMode.Auto));
|
|
|
|
|
|
- TunePosition1 = c1;
|
|
|
- TunePosition2 = c2;
|
|
|
reason = "";
|
|
|
}
|
|
|
|