eDosStation/TestEpdBaseClr/Program.cs

52 lines
1.4 KiB
C#
Raw Normal View History

2025-12-04 06:35:41 +01:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestEpdBaseClr
{
internal class Program
{
static EpdBaseClr.Epd2 epdDevice;
static void init()
{
epdDevice = new EpdBaseClr.Epd2(4, false);
//epdDevice.SetFeedbackSound(thisStation.useBeep, thisStation.useBeepMK3());
epdDevice.EpdRead += EpdDevice_EpdRead; epdDevice.EpdError += EpdDevice_EpdError; epdDevice.EpdTO += EpdDevice_EpdTO;
}
private static void EpdDevice_EpdTO(EpdBaseClr.Epd2 Sender, EpdBaseClr.EpdTOEventArgs e)
{
throw new NotImplementedException();
}
private static void EpdDevice_EpdError(EpdBaseClr.Epd2 Sender, EpdBaseClr.EpdErrorEventArgs e)
{
throw new NotImplementedException();
}
private static void EpdDevice_EpdRead(EpdBaseClr.Epd2 Sender, EpdBaseClr.EpdEventArgs e)
{
throw new NotImplementedException();
}
static void Main(string[] args)
{
init();
epdDevice.Wait(10000,2);
Einde();
}
private static void Einde()
{
epdDevice.WaitEnd();
epdDevice.Dispose();
epdDevice = null;
}
}
}