Update WelsonJS.Service
Some checks are pending
CodeQL / Analyze (csharp) (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run

This commit is contained in:
Namhyeon Go 2024-07-29 22:42:35 +09:00
parent 3b09a47fb8
commit 8f35bfb03b
3 changed files with 10 additions and 11 deletions

View File

@ -220,17 +220,16 @@ namespace WelsonJS.Service
List<ScreenMatchResult> matchedResults = screenMatcher.CaptureAndMatchAllScreens();
matchedResults.ForEach(result =>
{
Log(result.FileName);
Log(result.ScreenNumber.ToString());
Log(result.Location.ToString());
Log(DispatchServiceEvent("screenTime", new string[]
{
result.FileName,
result.Location.X.ToString(),
result.Location.Y.ToString(),
result.MaxCorrelation.ToString()
}));
if (result.MaxCorrelation > 0.0) {
Log(DispatchServiceEvent("screenTime", new string[]
{
result.FileName,
result.ScreenNumber.ToString(),
result.Location.X.ToString(),
result.Location.Y.ToString(),
result.MaxCorrelation.ToString()
}));
}
});
}
catch (Exception ex)

Binary file not shown.

Binary file not shown.