2021-05-11 16:46:20 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace TestEPD3Dll
|
|
|
|
|
|
{
|
|
|
|
|
|
class Program
|
|
|
|
|
|
{
|
|
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
|
{
|
|
|
|
|
|
MK3.Epd2 x = new MK3.Epd2(4);
|
|
|
|
|
|
x.Connect(false);
|
2021-05-19 16:38:54 +02:00
|
|
|
|
var rv = x.SetTime();
|
|
|
|
|
|
rv = x.GetStatus();
|
|
|
|
|
|
x.ReadAlarmTresholds();
|
|
|
|
|
|
rv = x.GetDoses();
|
|
|
|
|
|
//x.SetDeIssued();
|
|
|
|
|
|
x.WriteCalibration();
|
2021-05-18 15:42:46 +02:00
|
|
|
|
|
2021-05-11 16:46:20 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|