xxe 2 years ago
parent
commit
563acb8e4e
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      HKControl/Siemens.cs

+ 5
- 1
HKControl/Siemens.cs View File

@@ -82,7 +82,11 @@ namespace HKControl
{
try
{
if (!IsConnected) return default;
if (!IsConnected)
{
ExceptionDis();
return default;
}
return (TResult)myPlc?.Read(address);
}
catch (Exception ex)


Loading…
Cancel
Save