2024-04-12 14:29:26 +02:00
|
|
|
namespace DisplayCommands;
|
|
|
|
|
|
|
|
public interface IDisplayConnection
|
|
|
|
{
|
|
|
|
ValueTask SendClearAsync();
|
2024-04-12 16:05:24 +02:00
|
|
|
|
2024-04-12 14:29:26 +02:00
|
|
|
ValueTask SendCp437DataAsync(ushort x, ushort y, Cp437Grid grid);
|
|
|
|
|
|
|
|
ValueTask SendCharBrightnessAsync(ushort x, ushort y, ByteGrid luma);
|
2024-04-12 16:05:24 +02:00
|
|
|
|
2024-04-12 14:29:26 +02:00
|
|
|
ValueTask SendBrightnessAsync(byte brightness);
|
2024-04-12 16:05:24 +02:00
|
|
|
|
2024-04-12 14:29:26 +02:00
|
|
|
ValueTask SendHardResetAsync();
|
2024-04-12 16:05:24 +02:00
|
|
|
|
2024-04-12 14:29:26 +02:00
|
|
|
ValueTask SendFadeOutAsync(byte loops);
|
2024-04-12 16:05:24 +02:00
|
|
|
|
|
|
|
public ValueTask SendBitmapLinearWindowAsync(ushort x, ushort y, PixelGrid pixels);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Returns the IPv4 address that is associated with the interface with which the display is reachable.
|
|
|
|
/// </summary>
|
|
|
|
/// <returns>IPv4 as text</returns>
|
|
|
|
public string GetLocalIPv4();
|
2024-04-12 14:29:26 +02:00
|
|
|
}
|