32 lines
771 B
C#
32 lines
771 B
C#
using System.Drawing;
|
|
using VAR.ScreenAutomation.Interfaces;
|
|
|
|
namespace VAR.ScreenAutomation.Bots
|
|
{
|
|
public class DummyBot : IAutomationBot
|
|
{
|
|
public string Name => "Dummy";
|
|
|
|
public IConfiguration GetDefaultConfiguration()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public void Init(IOutputHandler output, IConfiguration config)
|
|
{
|
|
output.Clean();
|
|
}
|
|
|
|
public Bitmap Process(Bitmap bmpInput, IOutputHandler output)
|
|
{
|
|
return bmpInput;
|
|
}
|
|
|
|
public string ResponseKeys()
|
|
{
|
|
// https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.sendkeys?view=netframework-4.8
|
|
//return "{UP}";
|
|
return string.Empty;
|
|
}
|
|
}
|
|
} |