Browse Source

1

样式分支
fyf 2 years ago
parent
commit
759c6853ce
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheTextBox.cs

+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheTextBox.cs View File

@@ -182,7 +182,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
if (Class_DataBus.GetInstance().Dic_RedisData.ContainsKey(str[0])) if (Class_DataBus.GetInstance().Dic_RedisData.ContainsKey(str[0]))
{ {
Dictionary<string, object> b = Class_DataBus.GetInstance().Dic_RedisData[str[0]]; Dictionary<string, object> b = Class_DataBus.GetInstance().Dic_RedisData[str[0]];
if (b != null && b.ContainsKey(str[1])) this.GetType().GetProperty(item.Key).SetValue(this, b[str[1]]);
if (b != null && b.ContainsKey(str[1])) this.GetType().GetProperty(item.Key).SetValue(this, b[str[1]].ToString());
} }
} }
} }


Loading…
Cancel
Save