xxe 2 years ago
parent
commit
d9f1b569d5
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