From a5ffacc6e1422b6ee3abd5cd88ef07834ff8c2e1 Mon Sep 17 00:00:00 2001 From: fyf Date: Wed, 25 May 2022 10:17:53 +0800 Subject: [PATCH] 3 --- BPASmartClient.Device/BaseDevice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BPASmartClient.Device/BaseDevice.cs b/BPASmartClient.Device/BaseDevice.cs index a5a1f7d5..b6b2f590 100644 --- a/BPASmartClient.Device/BaseDevice.cs +++ b/BPASmartClient.Device/BaseDevice.cs @@ -146,7 +146,7 @@ namespace BPASmartClient.Device foreach (var key in peripheral.GetAllStatus().Keys) { peripheralStatus[key] = peripheral.GetAllStatus()[key]; - if (TypeName != "PLC.MorksMachine") + if (TypeName != "PLC.PLCMachine") { Status.Update($"{TypeName}.{key}", peripheral.GetAllStatus()[key]); }