diff --git a/BPASmartClient.SCADAControl/CustomerControls/TheTextBox.cs b/BPASmartClient.SCADAControl/CustomerControls/TheTextBox.cs index 5a0a51b1..8d1daf63 100644 --- a/BPASmartClient.SCADAControl/CustomerControls/TheTextBox.cs +++ b/BPASmartClient.SCADAControl/CustomerControls/TheTextBox.cs @@ -182,7 +182,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls if (Class_DataBus.GetInstance().Dic_RedisData.ContainsKey(str[0])) { Dictionary 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()); } } }