|
@@ -33,7 +33,7 @@ public class AircraftSJ : AircraftEntity
|
|
|
base.Reset();
|
|
|
IsOver = false;
|
|
|
isseePerson = false;
|
|
|
- Success = true;
|
|
|
+ Success = false;
|
|
|
SearchTime = 0;
|
|
|
TotalTime = 0;
|
|
|
}
|
|
@@ -239,7 +239,7 @@ public class AircraftSJ : AircraftEntity
|
|
|
|
|
|
Log.Info(
|
|
|
$"海上任务:{taskContent.missionInformation.MissionName} 机型: {AircraftId} 当前时间:{temptime},当前位置:{currentLocation.CurrentLon},{currentLocation.CurrentLat},{currentLocation.CurrentHei},概率:{probability},是否看到落水人员:{isseePerson}");
|
|
|
- double randomValue = random.NextInt64(9000, 10000);
|
|
|
+ double randomValue = random.NextInt64(9000, 10000);
|
|
|
randomValue /= 10000;
|
|
|
if (randomValue < probability)
|
|
|
{
|