mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 23:14:58 +00:00
23 lines
699 B
C#
23 lines
699 B
C#
using System;
|
|
using System.Drawing;
|
|
|
|
namespace WelsonJS.Service
|
|
{
|
|
public class ScreenMatchResult
|
|
{
|
|
public string FileName { get; set; }
|
|
public int ScreenNumber { get; set; }
|
|
public IntPtr WindowHandle { get; set; }
|
|
public string WindowTitle { get; set; }
|
|
public Point Location { get; set; }
|
|
public double MaxCorrelation { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"Template: {FileName}, Screen Number: {ScreenNumber}, Window Title: {WindowTitle}, " +
|
|
$"Location: (x: {Location.X}, y: {Location.Y}), " +
|
|
$"Max Correlation: {MaxCorrelation}";
|
|
}
|
|
}
|
|
}
|