Browse Source

最新上传

reconfiguration
lyw 2 months ago
parent
commit
957434608d
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      BPASmartClient.Academy/Model/Simens_PLC.cs

+ 4
- 4
BPASmartClient.Academy/Model/Simens_PLC.cs View File

@@ -93,10 +93,10 @@ namespace BPASmartClient.Academy.Model
{
siemens.Read<bool>(o).OnSuccess(p =>
{
if (o == "DB1.DBX2004.4" && p.Content)
{
IsConnected = false;
}
//if (o == "DB1.DBX2004.4" && p.Content)
//{
// IsConnected = false;
//}
if (p.Content)
{
App.Current.Dispatcher.Invoke(() =>


Loading…
Cancel
Save