23 lines
567 B
C#
23 lines
567 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OCR_Decode
|
|
{
|
|
internal class DriverGapToLeaderWindow : Window
|
|
{
|
|
public DriverGapToLeaderWindow(Bitmap image, Rectangle bounds) : base(image, bounds)
|
|
{
|
|
Name = "Gap to leader";
|
|
}
|
|
public override async Task<object> DecodePng()
|
|
{
|
|
int result = await GetTimeFromPng(WindowImage, OcrImage.WindowType.Gap);
|
|
return result;
|
|
}
|
|
}
|
|
}
|