Add status bar

This commit is contained in:
2026-10-10 22:16:14 +02:00
parent 3d24c65758
commit 24beafd9e5
5 changed files with 66 additions and 6 deletions
+4
View File
@@ -34,6 +34,10 @@ namespace PamhagenSysCtrl.Helpers {
protected readonly T1 Plc;
public string PortName => Plc.PortName;
public T1.Status LastPlcStatus => Plc.LastStatus;
public T1Error LastPlcError => Plc.LastError;
public PamhagenPlc(string portName, Parity parity = Parity.Odd) {
Plc = new T1(portName, parity);
}