This commit is contained in:
@@ -97,7 +97,7 @@ namespace PamhagenSysCtrl.Helpers {
|
||||
PlcThread = null;
|
||||
PamhagenPlc? tmp = null;
|
||||
try {
|
||||
tmp = new PamhagenPlc(PlcComPort);
|
||||
tmp = new PamhagenPlc(PlcComPort, App.Config.PlcSensorDelayOpen * 1000, App.Config.PlcSensorDelayClose * 1000);
|
||||
await tmp.Initialize();
|
||||
Plc = tmp;
|
||||
PlcConnectionError = null;
|
||||
|
||||
Reference in New Issue
Block a user